using the calculator 3.2 residuals and the least-squares regression line

13
USING THE CALCULATOR 3.2 Residuals and the Least- Squares Regression Line

Upload: sophia-hall

Post on 19-Jan-2016

232 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

USING THE CALCULATOR3.2 Residuals and the Least-Squares Regression Line

Page 2: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146Team Average Points

Per GameWins

Alabama 34.8 12

Arkansas 36.8 11

Auburn 25.7 8

Florida 25.5 7

Georgia 32.0 10

Kentucky 15.8 5

Louisiana State 35.7 13

Mississippi 16.1 2

Mississippi State 25.3 7

South Carolina 30.1 11

Tennessee 20.3 5

Vanderbilt 26.7 6

• STAT Edit• Enter data.

• x-variable in L1• y-variable in L2

Page 3: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146

• STAT PLOT CALC• ↓ 8: LinReg(a+bx)• Press Enter

• L1: 2nd , press 1 • L2: 2nd, press 2 • Y1: VARS Y-VARS ↓

1: Function, Select 1: Y1

Page 4: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146

So the LSRL is:

• Press Enter • Press Y=• Make sure Plot 1 is On with

L1 & L2 for the x- and y-list

Page 5: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146

• Zoom 9 to graph • Press Trace.• Going ← and → will help

you jump from point to point• Going ↑ and ↓ helps you

jump from the points to the line

Page 6: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146

• Press 2nd List (STAT button)

• Select 7:RESID

• Go to STAT PLOT• Go to Ylist

To get the residual plot: *Note: You must have completed the previous steps for this to work.

Page 7: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – TI Series – p. 146

• Zoom 9 to graph

To get the residual plot:

Page 8: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146Team Average

Points Per Game

Wins

Alabama 34.8 12

Arkansas 36.8 11

Auburn 25.7 8

Florida 25.5 7

Georgia 32.0 10

Kentucky 15.8 5

Louisiana State 35.7 13

Mississippi 16.1 2

Mississippi State 25.3 7

South Carolina 30.1 11

Tennessee 20.3 5

Vanderbilt 26.7 6

• Enter data • x-variable in C1• y-variable in C2

Page 9: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146

• Press Plot• Press Menu, then Fit to get

the line

• Press Symb• First box is x-variable (C1),

Second box is y-variable (C2)• Make sure it says linear• Fit 1 should have M*X+B

Page 10: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146

• Go back go SYMB• Check out the equation

***NOTE: We would switch the equation around to be a + bx.

So the LSRL is:

Page 11: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146

• Go to the Home Screen• Press the toolbox • Select App on the screen, go ↑

to Statistics 2Var → to 3 Resid• Press Enter

To get residual plot:

• Type S1 (for Scatterplot 1), Sto► (bottom right corner of screen), then C3

• Press Enter

Page 12: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146

• Go to Numerical View• Residuals are listed in C3

To get residual plot:

• Go to Symbolic View• Uncheck S1• Use S2 with C1 as the x and C3

as the y

Page 13: USING THE CALCULATOR 3.2 Residuals and the Least-Squares Regression Line

Using the Calculator – HP Prime – p. 146

• Press Plot• Press Menu (soft key on screen)

and scroll to autoscale for better view

To get residual plot: