AP Statistics · Unit 5 · Regression Analysis
5.4 Residuals
Calculate and interpret a residual, and use a residual plot to judge whether a linear model fits the data.
1/5A residual is the gap between observed and predicted values
- A residual is the gap between observed and predicted values
- A positive residual means the point lies above the line
- A residual plot reveals whether a line fits the data
- A curved pattern in residuals signals a poor linear model
- Four steps turn residuals into a conclusion about fit
- Check your recall
- Practice: 10 questions
Part 1 of 5: A residual is the gap between observed and predicted values
A regression line predicts, but real points rarely sit exactly on it. Take a student who studied 5 hours and scored 81 points. The model predicts 77.5 points.
The difference between the observed and predicted scores is a residual. In words, residual = observed value − predicted value. In symbols, it is . Here the residual is points. The student did better than the model expected.
Key term
residual
A residual is the observed response value minus the predicted value, , measured in the units of the response variable.
Part 2 of 5: A positive residual means the point lies above the line
Now we can read what a residual says about a point. On a scatterplot, a residual is the vertical distance from the point to the line. A point above the line has a positive residual.
A point below the line has a negative residual. A point exactly on the line has a residual of zero. The size of the residual shows how far the model missed.
To interpret a residual, name the variables and give units. Then say whether the observed value was above or below the prediction. Mention the size of the miss in the units of .
Worked example
Calculate and interpret a residual
- Find the predicted score: .
- Subtract: residual .
- Read the sign: negative means the observed score is below the prediction.
Answer: The residual is -4.5 points. The student scored 4.5 points below the model’s prediction.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 3 of 5: A residual plot reveals whether a line fits the data
One residual describes one point, but we need to judge the whole model. A residual plot shows the residuals on the vertical axis. The horizontal axis shows the explanatory variable.
When a linear model is appropriate, the residuals scatter randomly around zero. There is no clear pattern, and the spread stays roughly even from left to right.
In the left plot, the residuals look random, so the line captures the trend. In the right plot, a clear curve remains. The line has missed something about the relationship. A residual plot makes such misses easy to see.
Key term
residual plot
A residual plot is a scatterplot of residuals against the explanatory variable or the predicted values, used to judge whether a linear model is appropriate.
Part 4 of 5: A curved pattern in residuals signals a poor linear model
Now compare that random scatter with plots that show structure. A U shape means the relationship is curved, not linear. The line sits below the points at the ends and above them in the middle.
A fan shape is different. There, residuals spread out as grows, so predictions get less precise for larger . In both cases, the plain line is not telling the whole story.
Common residual plot patterns
- Pattern
- Random scatter around zero
- What it shows
- The line captures the trend
- Linear model appropriate?
- Yes
- Pattern
- U shape or other curve
- What it shows
- The relationship is not linear
- Linear model appropriate?
- No
- Pattern
- Fan shape
- What it shows
- The spread changes with
- Linear model appropriate?
- Use with caution

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 5 of 5: Four steps turn residuals into a conclusion about fit
Putting these ideas together gives a routine you can reuse.
- Calculate each residual as .
- Plot the residuals against , with a line at zero.
- Look for a curve, a fan shape, or any other pattern.
- Conclude whether a linear model is appropriate, and say why.
Size matters too. Judge a residual against the units of . A residual of 3.5 points is small on a 100-point quiz but large on a 10-point quiz.
A single point with a much larger residual than the rest deserves a second look. It may be an unusual observation rather than a sign that the whole model is wrong.
Check your recall[12 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Calculate[2 marks]
A model for the price of a used laptop, in dollars, from its age in years is . A 2-year-old laptop sold for 540 dollars. Calculate the residual.
Show mark schemeHide mark scheme
Model answer
dollars. Residual dollars.
- 1 mark for finding the predicted price of 500 dollars
- 1 mark for subtracting predicted from observed to get +40 dollars
- 2.Describe[2 marks]
Describe the meaning of the residual for the 2-year-old laptop, in context.
Show mark schemeHide mark scheme
Model answer
The laptop sold for 40 dollars more than the model predicted for a 2-year-old laptop.
- 1 mark for stating that the observed price was above the predicted price
- 1 mark for giving the size, 40 dollars, in context
- 3.Identify[1 mark]
Identify the quantity plotted on the vertical axis of a residual plot.
Show mark schemeHide mark scheme
Model answer
The residuals.
- 1 mark for identifying the residuals
- 4.Describe[2 marks]
Describe what a random scatter of points around zero in a residual plot tells you about a linear model.
Show mark schemeHide mark scheme
Model answer
There is no clear pattern in the residuals, so the line captures the trend. A linear model is appropriate.
- 1 mark for stating that there is no clear pattern in the residuals
- 1 mark for concluding that a linear model is appropriate
- 5.Justify[3 marks]
A residual plot for a linear model shows a clear U shape. Justify whether the linear model is appropriate.
Show mark schemeHide mark scheme
Model answer
The linear model is not appropriate. The U shape is a systematic curve in the residuals. It shows that the relationship is curved, so the line misses the trend.
- 1 mark for identifying the pattern as a curve or U shape
- 1 mark for concluding that a linear model is not appropriate
- 1 mark for linking the pattern to a relationship that is not linear
- 6.Explain[2 marks]
Explain why a residual of -3.5 points can be small in one context but large in another.
Show mark schemeHide mark scheme
Model answer
The size of a residual must be judged against the units and scale of the response. On a 100-point quiz, 3.5 points is small, but on a 10-point quiz it is large.
- 1 mark for stating that residual size is judged against the scale of
- 1 mark for giving a contrast such as a 100-point quiz and a 10-point quiz

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumIdentify[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardIdentify[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardExplain[2 marks]
Show answer and explanation
Answer: A · Worked explanation