3.2 Residuals and the Least-Squares Regression Line Using the Calculator 3.2 Residuals and the Least-Squares Regression Line
Using the Calculator – TI Series – p. 146 Team 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 South Carolina 30.1 Tennessee 20.3 Vanderbilt 26.7 6 STAT Edit Enter data. x-variable in L1 y-variable in L2
Using the Calculator – TI Series – p. 146 STAT Edit Enter data. x-variable in L1 y-variable in L2 2nd 0 (Catalog) ↓ DiagnosticOn Press Enter twice
Using the Calculator – TI Series – p. 146 L1: 2nd , press 1 L2: 2nd, press 2 Y1: VARS Y-VARS ↓ 1: Function, Select 1: Y1 STAT PLOT CALC ↓ 8: LinReg(a+bx) Press Enter
Using the Calculator – TI Series – p. 146 So the LSRL is: 𝑦 =−3.7506+0.4372𝑥 Press Enter Press Y= Make sure Plot 1 is On with L1 & L2 for the x- and y-list
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
Using the Calculator – TI Series – p. 146 *Note: You must have completed the previous steps for this to work. To get the residual plot: Go to STAT PLOT Go to Ylist Press 2nd List (STAT button) Select 7:RESID
Using the Calculator – TI Series – p. 146 To get the residual plot: Zoom 9 to graph
Using the Calculator – HP Prime – p. 146 Apps Select Statistics 2 Var
Using the Calculator – HP Prime – p. 146 Team 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 South Carolina 30.1 Tennessee 20.3 Vanderbilt 26.7 6 Enter data x-variable in C1 y-variable in C2
Using the Calculator – HP Prime – p. 146 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 Press Plot Press Menu, then Fit to get the line
Using the Calculator – HP Prime – p. 146 ***NOTE: We would switch the equation around to be a + bx. So the LSRL is: 𝑦 =−3.7506+0.4372𝑥 Go back go SYMB Check out the equation
Using the Calculator – HP Prime – p. 146 Press Num Press Stats in lower right corner r ≈ 0.9359
Using the Calculator – HP Prime – p. 146 To get residual plot: Go to the Home Screen Press the toolbox Select App on the screen, go ↑ to Statistics 2Var → to 3 Resid Press Enter Type S1 (for Scatterplot 1), Sto► (bottom right corner of screen), then C3 Press Enter
Using the Calculator – HP Prime – p. 146 To get residual plot: Go to Numerical View Residuals are listed in C3 Go to Symbolic View Uncheck S1 Use S2 with C1 as the x and C3 as the y
Using the Calculator – HP Prime – p. 146 To get residual plot: Press Plot Press Menu (soft key on screen) and scroll to autoscale for better view