Warm-up
Three quick questions from earlier lessons.
- A scatterplot of car age against resale value has . How would you describe the relationship?
- Strong, negative, linear: older cars tend to be worth less
- Weak, because r is negative
- Each extra year causes a fixed loss of value
- Which statements about the correlation of 50 pairs are true? Tick all that are.
- has no units
- Swapping and does not change
- measures the strength of any relationship, curved or straight
- means there is no relationship at all
- Heights (cm) and weights (kg) of students have . Heights are converted to inches. What is the new correlation?
- Still : changing units does not change
- Smaller, since inches are bigger units
- It cannot be known without the data
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.
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.
Your turn, guided
Your turn: , , . The slope.
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.
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.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
- , and . Every -value is doubled. What is the new slope of the least-squares line?
End of the lesson
Next lesson: Residuals and residual plots Back to the chapter