Regression Lines
- Setup the scatter plot as instructed above
- Go into the Stats, Calc, Setup screen
- Setup the 2-Var Stats so that: Xlist = L1, Ylist = L2,
Freq = 1
- Calculate the Linear Regression (ax+b) (#5)
- Go into the Plot screen.
- Position the cursor on the Y1 plot and hit CLEAR to erase it.
- While still in the Y1 data entry field, go to the VARS, STATS, EQ screen
and choose option 7 which is the regression equation
- Hit GRAPH
The above technique works, but it requires that you change the equation being
graphed every time you change problems. It is possible to stick the regression
equation "ax+b" into the Y1 plot and then it will automatically graph
the correct regression equation each time.
Do this once
- Setup the scatter plot as instructed above
- Go into the Plot screen.
- Position the cursor on the Y1 plot and hit CLEAR to erase it.
- Enter a*x+b into the function. The a and b can be found under
the VARS, STATS, EQ screen
Do this for each graph
- Go into the Stats, Calc, Setup screen
- Setup the 2-Var Stats so that: Xlist = L1, Ylist = L2,
Freq = 1
- Calculate the Linear Regression (ax+b) (#5)
- Hit the GRAPH key
It is important that you calculate the linear regression variables before
trying to graph the regression line. If you change the data in the lists or
have not calculated the linear regression equations, then you will get an "
ERR:
Undefined" when you try to graph the data.
0 Comments:
Post a Comment