Maximize your score with these resources:
- Albert.io AP® Statistics question banks
- Free AP® Statistics cheat sheets
- Free AP® Statistics score calculator
You’ve built a regression model and the line fits the data reasonably well. But how do you know if it’s actually good? The answer lies in residuals — the vertical distances between where data points actually land and where your model says they should be. Examining these “leftovers” tells you whether linear regression is the right choice for your data. This article covers AP® Statistics Topics DAT-1.E and DAT-1.F: calculating, plotting, and interpreting residuals to assess model appropriateness.
What Is a Residual?
A residual is the difference between an observed value and a predicted value:

Residual = y − ŷ (actual minus predicted)
You take the real y-value from your data, subtract the predicted ŷ from your regression line, and that’s your residual. Never reverse this — ŷ − y is wrong and costs points on the AP exam.
Example: Your regression equation predicts a test score of 78 for a student who studied 5 hours. That student actually scored 82. Residual = 82 − 78 = +4.
| Residual Sign | Meaning | Example |
|---|---|---|
| Positive (y > ŷ) | Model underpredicted — actual is higher than predicted | Scored 82, model predicted 78: residual = +4 |
| Negative (y < ŷ) | Model overpredicted — actual is lower than predicted | Scored 71, model predicted 78: residual = −7 |
| Zero (y = ŷ) | Perfect prediction (rare in practice) | Scored 78, model predicted 78: residual = 0 |
Key fact: For least-squares regression, the sum of all residuals always equals zero. The line balances positive and negative residuals by construction.
Constructing a Residual Plot
A residual plot is a scatterplot with x on the horizontal axis and residuals (y − ŷ) on the vertical axis, with a reference line drawn at residual = 0.
Loading the linear regression calculator…

To build one from scratch: (1) compute ŷ for each data point using the regression equation; (2) calculate each residual: y − ŷ; (3) plot (x, residual) for each point; (4) draw a horizontal reference line at 0.
Interpreting Residual Plots: The Good, the Bad, and the Ugly
The point of a residual plot is to reveal whether a linear model is appropriate.

The Good: Random Scatter (Linear Model Is Appropriate) — The ideal residual plot shows points scattered randomly above and below the y = 0 line with no visible pattern and roughly equal spread across all x-values. This signals the linear model fits.
The Bad: Curved Patterns (Linear Model Is Not Appropriate) — A U-shape, inverted U-shape, or any other curved pattern means the linear model does not fit. The true relationship is nonlinear.
Other Red Flags: A cone-shaped spread (variability increases or decreases with x) means predictions are less reliable where the spread is widest. Points far from the zero line are outliers the model predicts poorly.
| What You See | What It Means | Action |
|---|---|---|
| Random scatter, no pattern | Linear model is appropriate | Use the linear model |
| Curved pattern (U-shape, arc) | Linear model is NOT appropriate | Try a transformation or different model |
| Cone shape (increasing spread) | Non-constant variance | Flag it; predictions less reliable at extremes |
| Single point far from zero | Outlier in the data | Investigate that data point |
Test-Taking Strategies
Mnemonic: O-H-I — Three things to check when interpreting a residual plot:
- O — Overall pattern: random or structured?
- H — High/low: balanced above and below zero?
- I — Individual outliers: any points suspiciously far from zero?
And the formula to memorize: Residual = y − ŷ. Actual minus predicted. Always.
Cross-Topic Connections
- Topic 5.5 (Least-Squares Regression): The least squares method minimizes the sum of squared residuals — that’s what “least squares” literally means.
- Topic 5.2 (Correlation): Correlation tells you a relationship exists; residuals tell you whether linear regression is the right way to describe it.
- Transformations: A curved residual plot triggers a transformation. Curvature means apply a log or square-root to linearize the data.
- Inference for Regression: Normally distributed residuals must hold for t-intervals and t-tests on the slope to be valid.
Common AP Exam Question Formats
- “Calculate the residual”: Given y, the regression equation, and x, compute ŷ, then find y − ŷ. Most common error: computing ŷ − y (reversed sign).
- “Is the linear model appropriate?”: Examine the residual plot. Describe what you see, then conclude: “The residual plot shows [random scatter / a curved pattern], so the linear model [is / is not] appropriate.”
- “Interpret this residual”: Positive = underpredicted; negative = overpredicted. State in context: “The model overpredicted this student’s exam score by 7 points.”
- “Construct a residual plot”: Calculate residuals from a table, plot x vs. residual, draw the horizontal reference line at 0. Common error: plotting y vs. residual instead of x vs. residual.
Frequent Student Mistakes
- Wrong residual sign: Always y − ŷ. A negative result means overprediction.
- “Small residuals = good model”: Wrong. Pattern is what matters, not size. A small-residual plot can still show a curve.
- Missing gentle curves: A slight U-shape is not random scatter. Train your eye — these are diagnostic and the AP exam uses them.
- Wrong axis in the plot: The horizontal axis is x (or ŷ), not y.
Test-Day Shortcuts and Time Tips
- On MCQ, scan the residual plot quickly: “Curved or random?” Trust your first instinct — curved patterns are usually obvious.
- On FRQ, two sentences suffice: (1) describe what you see in the plot, (2) conclude whether the model is appropriate. Don’t write a paragraph.
- When computing residuals from a table, write “y − ŷ =” before plugging in numbers. This habit locks in the correct direction.
- Most residual questions take 1–2 minutes. Constructing a full residual plot from a data table takes 3–4 minutes. Never spend more than 5 minutes total.
Check for Understanding
Think you’ve got it? Complete the quiz below to make sure. Download your results at the end.
