Residuals
Hana did 12, 13, 18, 19 and 23 push-ups in a minute in weeks 1 to 5. A spreadsheet gave . How far off is the line at each week, and what pattern in those misses shows the line is a good model?
Actual minus predicted
A residual is the miss at one data point: . Week 3: the line predicts and Hana did 18, so the residual is push-up. A positive residual means the dot is above the line. A negative one means it is below. The unit is the unit of .
All five residuals are , , , and . They add to 0, which is true for every least-squares line.
The residual plot
A residual plot has across and the residual up. If the dots scatter at random around 0, with no pattern, a straight line is a good model. If they form a curve, the data bend and a line is the wrong model. If they fan out, the line misses by more at one end.
Reading the shape
Plant heights that double each week make a curved cloud. A line through them leaves positive residuals at the ends and negative ones in the middle, a U. The U says: try a curve instead.
Your turn: a person weighs 52 kg and the line predicts 49.5 kg. Answer: kg, above the line.
Careful
A residual of 2.5 does not mean the line is 2.5 wrong everywhere. It is one point's miss.
Try it at home
- Plot 5 points of your own and draw a line through them by eye.
- Read the predicted value for each and subtract it from the actual value.
- Check whether your residuals roughly add to 0.
Words in this lesson
- residual - the actual value minus the predicted value, the miss at one point.
- residual plot - a plot of the residuals against .
Big idea
A residual is actual minus predicted. Random scatter around 0 in the residual plot means a line fits. A curve or a fan means a line is the wrong model.