Refresh KidLearning
LESSON 08 / 12 · TOPIC 5.4

How can errors reveal that a line is the wrong shape?

You will be able to: Use a residual plot to assess a linear model.

Graphs, tables and mathematical reasoningFree study resourceReview editionTeacher review pending

How can errors reveal that a line is the wrong shape?

A straight line can miss a bowl-shaped pattern: predictions may be too low at both ends and too high in the middle. A plot of the errors makes that structure visible.

A useful starting point: What does a prediction error tell you? →

Words and symbols before equations

Residual plot
A graph of residuals on the vertical axis against x or predicted response on the horizontal axis.
Zero reference
The horizontal line where observation and prediction match.
Systematic pattern
A recurring structure in the errors that the fitted model has not captured.
Residual spread
How far residuals vary around zero at different explanatory values.
Observed pairs, fitted line and vertical residualsPaired observations: practice and quiz scores051015200123456Practice time x (hours)y (points)P1P2P3P4P5Residuals in points versus practice hours; see exact tableResidual plot: vertical errors after fitting-10-505100123456Practice time x (hours)e (points)P1P2P3P4P5
Read this model snapshot. P3: observed 10, predicted 8, residual 2 points. Positive residual: the line underpredicts. Look for structure in the residuals; five observations offer limited diagnostic evidence.
What this picture assumes

Synthetic five-student data illustrate reasoning, not population inference or causal effects. x is practice time in hours; y is quiz score in points. All plots keep fixed scales across controls. The curve and reflected data are deliberate comparison scenarios. With only five points, judgments of pattern are tentative.

Read the picture in three steps

  1. Read the axes and labels first. Identify what each symbol and line represents. Read the units and fixed conditions before comparing quantities.
  2. P3: observed 10, predicted 8, residual 2 points. Positive residual: the line underpredicts. Look for structure in the residuals; five observations offer limited diagnostic evidence.
  3. Check what the picture assumes below. Use the Explore task to predict one change before moving a control.

Connect the picture to the mathematics

Fit the line, compute each residual, then plot x against residual. The original trend should be removed if a line is a useful description. Random-looking scatter around zero supports a linear form; a curve suggests that a line misses structure.

For the symmetric U-shaped data, the fitted line is ŷ=8. Residuals are 4,−2,−4,−2,4. The positive ends and negative middle form a clear curve. A near-zero r does not mean there is nothing to model.

Also inspect unusual residuals or changing spread. A funnel pattern means prediction errors vary in size. An apparently patternless plot supports, but does not prove, model adequacy. With only five points, conclusions about shape are tentative.

A worked example, step by step

Interpret residuals 4,−2,−4,−2,4 at x=1,2,3,4,5.

  1. Plot x horizontally and residual vertically, adding the zero line.
  2. The endpoints are above zero, while the middle is below.
  3. The U-shaped error pattern is systematic rather than random-looking scatter.
  4. A linear model misses curvature and should be reconsidered.
Common mix-up

The residual plot’s vertical axis is error, not the original response. A downward residual pattern is not automatically a negative x–y association.

CHECK THE IDEA

Must an acceptable residual plot have exactly as many positive as negative residuals?

Compare with an explanation

No. Balance in total size does not require equal counts; assess the pattern and context.

Now investigate one change Explore →

Predict. Change one thing. Explain.

Compare upward and curved datasets while keeping scales fixed. Use the residual panel to explain which shape the line fails to capture.

On narrow screens, swipe or scroll diagrams sideways to read all labels.

Observed pairs, fitted line and vertical residualsPaired observations: practice and quiz scores051015200123456Practice time x (hours)y (points)P1P2P3P4P5Residuals in points versus practice hours; see exact tableResidual plot: vertical errors after fitting-10-505100123456Practice time x (hours)e (points)P1P2P3P4P5

P3: observed 10, predicted 8, residual 2 points. Positive residual: the line underpredicts. Look for structure in the residuals; five observations offer limited diagnostic evidence.

Paired input values and model calculations (display rounded)
Studentx (hours)y (points)ŷ (points)e=y−ŷ (points)
P11541
P2246-2
P331082
P44810-2
P5513121

Synthetic five-student data illustrate reasoning, not population inference or causal effects. x is practice time in hours; y is quiz score in points. All plots keep fixed scales across controls. The curve and reflected data are deliberate comparison scenarios. With only five points, judgments of pattern are tentative.

Explain what you noticed: Answer the investigation prompt above. State one observation and explain it using the paired observations, predictions, residuals, graph scales or model assumptions. Identify what the representation cannot tell you.

Apply the idea to a fresh problem Practice →

Show what you understand.

Two original questions are a starting check, not proof of mastery. Explain your choice before revealing the answer.

1. A U-shaped residual pattern suggests…

Show answer and reasoning

The line misses curvature. The errors contain systematic nonlinear structure.

2. A residual plot places which quantity vertically?

Show answer and reasoning

Observed minus predicted response. Residuals are the signed prediction errors.

Original written challenge

4 points · self-check · not an official AP question

A fitted line has residuals that appear randomly scattered around zero, with one very large positive residual. Explain what the plot supports and what needs attention.

This response is not submitted or saved. Copy it before leaving.

Compare with the answer and four-point rubric
  1. 1 point: The lack of an obvious curve supports a linear form.
  2. 1 point: It does not prove the model is adequate or causal.
  3. 1 point: The large positive residual marks an observation substantially above its prediction.
  4. 1 point: Investigate that observation and the data context before relying on the model.

Accept equivalent correct methods and explanations. This is a Refresh Kid teaching rubric, not an official AP scoring guideline.

Recall the ideas without notes Review →

Retrieve it before you reveal it.

RECALL 1What does residual curvature suggest?

A linear form misses structure.

RECALL 2Where is the reference line?

At residual zero.

RECALL 3Can a residual plot prove a model is correct?

No. It provides evidence and diagnostics.

Revisit these tomorrow and a week later. Try a fresh problem and explain why the method applies.

How can errors reveal that a line is the wrong shape?

  • Residual plot: x or ŷ horizontally, e vertically.
  • Random-looking scatter around zero supports a line.
  • Curvature, unusual points and changing spread deserve attention.

Remember: The residual plot’s vertical axis is error, not the original response. A downward residual pattern is not automatically a negative x–y association.

Conditions: Synthetic five-student data illustrate reasoning, not population inference or causal effects. x is practice time in hours; y is quiz score in points. All plots keep fixed scales across controls. The curve and reflected data are deliberate comparison scenarios. With only five points, judgments of pattern are tentative.

Refresh Kid · AP Statistics Unit 5 · Objectives 5.4.C · Review edition

Framework, scope and review status

Mapped to College Board, AP Statistics CED, Topic 5.4, objectives 5.4.C. Framework effective Fall 2026, checked September 17, 2026. Unit 5 is Regression Analysis in the revised five-unit course: scatterplots, correlation, linear prediction, residuals and least squares. Inference tests for regression slopes are outside this unit.

Examples and datasets are synthetic, independently authored teaching material. Correlation describes linear association, not causation. Least squares uses squared vertical residuals and a fitted intercept. Check scatterplots, residual patterns, unusual observations, explanatory range and population applicability before interpreting a model. Five-point demonstrations do not support population or causal claims.

The Organic Chemistry Tutor companion title and destination were checked; the full video was not reviewed. Khan Academy’s destination was located, but full lesson content was not available to the research tool. OpenStax is optional reference reading. No provider scripts, questions or graphics were copied. Refresh Kid is not affiliated with these providers.

GitHub’s 3D website collection informed optional spatial inspection. Our original least-squares surface uses self-hosted Three.js with its MIT license. The two base axes are candidate intercept and slope; vertical height is the resulting sum of squared errors. Rotation helps inspect the valley and its minimum as two parameters change. This is a parameter surface, not three measured variables. Fixed scales, an exact 2D parameter table and a labeled scatterplot provide alternatives. No autoplay or external 3D dependency is required.

Independent teacher review and observation of students remain pending. Technical checks do not certify statistical accuracy, accessibility or learning effectiveness. This is a review edition.

Released AP Statistics questions and scoring guides are optional. Older exams use the earlier framework, so check alignment before selecting parts. All practice on this page is original, not official AP material.

Learn → Explore → Practice → Review is informed by the IES learning guide. This implementation has not yet been evaluated with learners.

OPTIONAL LIVE SUPPORT

Want to work through this with a tutor?

Bring your question about How can errors reveal that a line is the wrong shape? Your explanation and answers remain free to access.

Request a statistics tutor →Ask about this lesson on WhatsAppThe team can confirm teacher availability and next steps.