MATH121
Linear Regression on TI-92
| 1. Enter lists | |
| Clear a data matrix for use | |
| Use Data/Matrix Editor This is a New variable |
|
| Type in a variable name; xyvars | |
| Enter x values in c1 and y values in c2;
pressing |
|
| 2. Graph the data | |
| Plot setup | |
| Define Scatter Box |
|
| xs are in column 1 | |
| ys are in column 2 | |
| Save the plot definition; return to plot setup screen | |
| Go to the Y = screen; check Plot 1; uncheck the rest |
|
| ZoomData; the data is plotted | |
| 3. Do the linear regression; the equation will be of the form y(x) = ax + b | |
| Quit | |
| Use Data/Matrix Editor and current data | |
| Do LinReg | |
| Use xs from column 1 | |
| Use ys from column 2 | |
| Store RegEQ to y1(x) | |
| 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 | |
| Go to the Y = screen | |
| ZoomData; regression line is graphed with data points | |
| 5. Use the regression line to make predictions | |
| Go to the Home screen | |
| y1(20) |
Evaluate the regression equation y1 at 20 (or the value of your choice) |
| 6. When regression is completed, turn scatter plots off | |
| Go to the Y = screen and highlight Plot 1: | |
| Uncheck Plot 1: | |