Residual Plots (College Board AP® Statistics): Revision Note
Residual plots
What is a residual plot?
Recall that a residual is the vertical difference between a data point and the regression line
A residual plot is a graph that shows all the residuals from a scatterplot
The vertical axis shows the value of the residual
The horizontal axis shows the explanatory variable values or predicted response values

What is a residual plot used for?
When using the least-squares regression line, a residual plot gives a good indication as to whether the data points follow a linear model or not
If the residuals are randomly scattered above and below 0, with no clear pattern, a linear model is appropriate
If the residuals show a pattern, e.g. a curve, a linear model is not appropriate
In this case, a nonlinear (curved) model may be more appropriate

Examiner Tips and Tricks
A clear pattern in the residual plot shows that a linear model is not appropriate. The scatterplot can also suggest nonlinearity, but the residual plot makes this clearer because it removes the linear trend.
Worked Example
A scatterplot is shown below. The equation of the least-squares regression line is , where is the predicted -value. By constructing a residual plot, determine whether or not a linear model is appropriate for the data.

Answer:
First calculate the residuals (by finding the vertical difference of each data point above or below the regression line, )
To find the -values from the regression line, it is more accurate to substitute the -values into the equation of the line , rather than read off their values from the graph
The residual at is
The residual at is etc.
0 | 1 | 2 | 3 | 4 | |
4 | 2 | 8 | 14 | 12 | |
2.4 | 5.2 | 8 | 10.8 | 13.6 | |
Residual | 1.6 | −3.2 | 0 | 3.2 | −1.6 |

Then construct a residual plot by plotting the values of the residuals on the vertical axis and the -values on the horizontal axis

If the residuals are randomly scattered above and below 0, with no clear pattern, then a linear model is a good fit
The residuals appear to be randomly scattered above and below 0, with no clear pattern, which suggests a linear model is appropriate for the data (although with only 5 points, this conclusion is limited)
Examiner Tips and Tricks
The more data points a residual plot has, the more reliable any conclusion about linearity. With only a handful of points, even a nonlinear relationship can look like random scatter by chance.
Unlock more, it's free!
Was this revision note helpful?
Build on this topic