You are on page 1of 2

Regression on the TI-84 (finding the line of best fit to the data)

Enter the data into the lists of your calculator by pressing


Se to get the list screen. Enter the data (x-values in L1, y-values in L2)

Press `! to get the STAT PLOT screen. Press e and set up as shown.

Press @ and set up appropriately Press S> to get this screen.


or choose Zoom:Stat.

If the data looks linear, Press e`Ω,`æ,v>ee


select 4:LinReg(ax +b) as shown. to get this screen. This will calculate the best fitting line
for your data whose x-values are in L1 and y-values are in L2.
Your regression equation will appear in Y1.

2
Press e. ***(see note below if no r and r ) Press %.
You can evaluate the function as shown. For example, evaluate for x = 75 by performing one of the following:

Press `$e75e. On the home screen,


Press v>ee(75)e.

Press `@ to get to the Table Setup Press`%75e.


Screen and select the following.

2
*** If you did not get r and r , you will need to turn your diagnostics on as follows.
Press `0 to get the Catalog, scroll down until you see Diagnostics On. Press ee to get the message “Done”.

2
Recalculate the LinReg and this time you will see r and r . If you really want to understand what they are, take AP Stats!

Residuals are calculated as the difference between the actual y-value from the data and the predicted y-value (from the
2
regression equation). Plotting these will help you determine (along with r and r ) whether or not the model is appropriate.
Each time you calculate a new regression equation, your calculator automatically creates a new list of residual
values. Set up the residual plot as shown. Then choose Zoom:Stat.

Modify accordingly for other models.

You might also like