Warm-up
Three quick questions from earlier lessons.
Discover
If , every point is on a line. A student 1 SD above the mean in is then 1 SD above the mean in . If , how many SDs above the mean in would you predict?
- 0.5 SD
- 1 SD
Key idea
The line that minimizes the sum of squared residuals.
Least-squares regression line with slope and intercept ; it always passes through .
Worked example
, , , , .
- Step 1The data.
- Step 2The point of means (x̄, ȳ) = (10, 50).
- Step 3The line ŷ = 26 + 2.4x passes through it.
- Step 4Residuals: no other line makes the sum of their squares smaller.
0.6 × 8/2.
50 − 2.4 × 10.
At x = 12.
Your turn, guided
Your turn: , , . The slope.
0.5 × 6/4.
Practice ★
- , and . Find the slope of the least-squares regression line of on .
- , and . Find the slope of the least-squares regression line of on .
- The regression line is . Predict for .
Watch out!
Practice ★★
- The least-squares line has slope , and , . Find its intercept.
- The least-squares line has slope , and , . Find its intercept.
- Boss problem. , , , , .
Exit ticket
Three questions to check you have got it.
- , and . Find the slope of the least-squares regression line of on .
- , and . Find the slope of the least-squares regression line of on .
- , and . Find the slope of the least-squares regression line of on .
Summary card
Least-squares line
, , through .
Watch out: on top.
End of the lesson
Next lesson: Residuals and residual plots Back to the chapter