Lesson 5: Residuals and residual plots
Use a residual plot to judge a linear model
SkillsCalculating residualsReading residual plots
Worked example
Stopping distances for a car at eight speeds are shown.
| Speed (km/h) | 40 | 50 | 60 | 70 | 80 | 90 | 100 | 110 |
|---|---|---|---|---|---|---|---|---|
| Stopping distance (m) | 26 | 35 | 45 | 57 | 70 | 84 | 99 | 116 |
Technology gives and the least-squares line .
a) Calculate the residuals at 40, 70 and 110 km/h.
b) The residual plot is shown in the lesson. Use it to decide whether a linear model is appropriate.
Step 1: Residual at 40 km/h
Predicted: . Residual: .
Step 2: Residual at 70 km/h
Predicted: . Residual: .
Step 3: Residual at 110 km/h
Predicted: . Residual: .
Keep four decimal places in the slope here: rounding it to 1.29 changes the prediction at 110 km/h by almost half a metre.
Step 4: Describe the residual plot
All eight residuals are 4.50, 0.64, , , , , 0.36, 4.50: positive, then negative, then positive. They form a clear U-shaped pattern.
Step 5: Conclude
Because the residual plot has a clear curved pattern, the association is non-linear and a linear model is not appropriate, even though .
Braking distance grows with the square of speed, so stopping distance curves upward.
Answer
The residuals are 4.50, and 4.50. The residual plot shows a clear U-shaped pattern, so a linear model is not appropriate despite .
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Find each predicted value from the line, then actual − predicted.
Plot residuals against the explanatory variable.
Describe the pattern (random or curved), then conclude whether a linear model is appropriate.
Watch out for
Concluding the model is appropriate because is close to 1.
Describing the pattern without drawing the conclusion, or the reverse.