MATH121
Linear Regression on TI-89

1. Enter lists
f4.jpg (902 bytes) wpe2C.jpg (880 bytes) xyvars enter.jpg (1308 bytes) Clear a data matrix for use
wpe1A.jpg (1253 bytes) wpe1B.jpg (837 bytes)
3.jpg (892 bytes)
Use Data/Matrix Editor
This is a New variable
wpe20.jpg (978 bytes) wpe21.jpg (978 bytes) xyvars Type in a variable name; ‘xyvars'
enter.jpg (1308 bytes) enter.jpg (1308 bytes)
Enter x values in c1 and y values in c2; pressing enter.jpg (1308 bytes) after each one
       
2. Graph the data
f2.jpg (911 bytes) Plot setup
f1.jpg (895 bytes)
wpe22.jpg (982 bytes)1.jpg (818 bytes)
dnarrw.jpg (978 bytes) wpe22.jpg (982 bytes)wpe22.jpg (982 bytes)
Define
Scatter
Box

 

dnarrw.jpg (978 bytes) c1 x's are in column 1
dnarrw.jpg (978 bytes) c2 y's are in column 2
enter.jpg (1308 bytes) enter.jpg (1308 bytes) Save the plot definition; return to plot setup screen
wpe2A.jpg (883 bytes) f1.jpg (895 bytes) Go to the Y = screen; use the key to check Plot 1; and uncheck the rest
f2.jpg (911 bytes) wpe24.jpg (877 bytes) ZoomData; the data is plotted
     
3. Do the linear regression; the equation will be of the form y(x) = ax + b
2nd.jpg (1064 bytes) wpe26.jpg (1102 bytes) Quit
apps.jpg (1253 bytes) 6.jpg (837 bytes) 1.jpg (818 bytes) Use Data/Matrix Editor and current data
wpe27.jpg (984 bytes) wpe22.jpg (982 bytes)5.jpg (832 bytes) Do LinReg
dnarrw.jpg (973 bytes) c1 Use x's from column 1
dnarrw.jpg (973 bytes) c2 Use y's from column 2
dnarrw.jpg (973 bytes) wpe22.jpg (982 bytes)dnarrw.jpg (973 bytes) enter.jpg (1308 bytes) Store RegEQ to y1(x)
 enter.jpg (1308 bytes) Values of a, b, corr, and r2 appear on
screen; a = slope; b = y intercept; corr = r
       
4. The linear regression equation is in y1; graph it
wpe29.jpg (883 bytes) f1.jpg (895 bytes) Go to the Y = screen
f2.jpg (911 bytes) wpe24.jpg (877 bytes) ZoomData; regression line is graphed with data points
         
5. Use the regression line to make predictions
wpe2B.jpg (1304 bytes) Go to the Home screen
y1(1985) enter.jpg (1308 bytes) Evaluate the regression equation y1 at 1985 (or the value of your choice)
     
6. When regression is completed, turn scatter plots off
wpe29.jpg (883 bytes) f1.jpg (895 bytes) Go to the Y = screen and highlight Plot 1:
f4.jpg (902 bytes) Uncheck Plot 1:
wpe2B.jpg (1304 bytes) Return to the home screen