1 / 25
Assessing Fit with Residuals | Lesson 1 of 1

Assessing Fit by Analyzing Residuals

Lesson 1 of 1: Reading the Leftover Misses

In this lesson:

  • Compute residuals: observed minus predicted
  • Plot them and read the plot to judge a fit
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Learning Objectives for This Lesson

  1. Assess a fit: compute and plot residuals, read pattern and size, justify a decision
  2. Compute signed residuals: observed minus predicted
  3. Build a residual plot (residual vs x) with a zero line
  4. Read random scatter, curvature, and changing spread, without assuming every pattern needs a new family
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

The Line Looks Fine, But Is It Good?

You fit a line and it looks reasonable. Is it actually good?

  • The line sits on the points, hiding the small misses
  • We need a tool that shows only how far off each point is

That tool is the residual. Let's define it precisely.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Recall: Evaluate the Phone-Plan Function

The pricing, $20 a month + $0.10 a minute, gives .

  • What do x and y stand for?
  • Predicted bill at 50 minutes?
  • An actual 50-minute bill was $26: above or below?

Answer: Minutes, dollars; 0.10(50) + 20 = $25; above.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

A Residual Is Observed Minus Predicted

A fitted line with one data point above it and a vertical dashed segment from the point down to the line, labeled residual equals observed minus predicted

  • Phone plan at 50 minutes: 26 − 25 = +$1 (a $1 charge the pricing doesn't cover)
  • A signed vertical gap, at the same x
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Positive Above the Line, Negative Below

The sign tells you the direction of the miss:

  • Above the line → positive residual (model under-predicted)
  • Below the line → negative residual (model over-predicted)

Never drop the sign: it's what reveals patterns later.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Café Data: Residuals From the Line

Daily high x (°F) vs iced drinks sold; regression gives .

x (°F) Observed Predicted Residual
60 58 60 −2
65 73 70 +3
70 81 80 +1
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Your Turn: Finish the Café Residuals

With , compute observed − predicted:

  1. 75 °F, 88 drinks sold
  2. 80 °F, 99 drinks sold
  3. 85 °F, 111 drinks sold

How many of the six points lie above the line?

Answer: −2, −1, +1. Three above (65, 70, 85 °F), three below.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

You Have the Misses: Now Plot Them

Café residuals: −2, +3, +1, −2, −1, +1 drinks.

  • A list is hard to read for patterns
  • Recall: which coordinate sets a point's horizontal position? Which sets its height?

In a residual plot, x stays put; the residual becomes the height.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Phone-Plan Point: (50, 26) Becomes (50, 1)

  • Keep x = 50: the horizontal position doesn't change
  • The height becomes the residual, +1
  • So the point plots one dollar above the zero line
  • The zero line stands for "no miss at all"
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Building a Residual Plot in Five Steps

  1. Predict at each observed x
  2. Residual = observed − predicted
  3. Plot (x, residual); x stays on the horizontal axis
  4. Label the vertical axis in the response's units
  5. Draw a horizontal reference line at 0
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Your Turn: Plot the Café Residuals

Plot (60, −2), (65, 3), (70, 1), (75, −2), (80, −1), (85, 1).

  • Horizontal axis: temperature, 60 to 85 °F
  • Vertical axis: residual, in drinks
  • Draw the line at 0

Answer: Above zero at 65, 70, 85 °F; below at 60, 75, 80 °F; all within 3 drinks.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Subtracting the Prediction Moves the Fit to Zero

  • Each point shifts straight up or down by its predicted value
  • The fitted function lands on the zero line
  • Each point keeps its signed vertical miss
  • A vertical shift: no rotating or tilting the picture
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Zero Is a Reference, Not a Guaranteed Center

  • A well-fitted model leaves misses on both sides of zero
  • A function below most points leaves mostly positive residuals
  • A poor model can leave a trend or an offset behind
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

The Residual Plot Is Not the Scatter Plot

A scatter plot with a rising data cloud and fitted line on the left, beside its residual plot with a zero line on the right, showing they look different

  • Scatter plot: observed responses vs x
  • Residual plot: observed minus fitted, vs x
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

The Plot Is Built: Now Read It

The fitted function models the mean trend: the average response at each x.

  • Center: do the misses still follow a trend, curve, or offset?
  • Spread: do the misses widen or narrow across x?
  • Size: are the misses small enough, in response units, for your purpose?
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Café: Random Scatter About Zero

Café residual plot: temperature 60 to 85 °F across, residual in drinks up, a bold zero line, and points at −2, +3, +1, −2, −1, +1 mixed above and below it

  • Signs mix; no trend, curve, or widening → supports the mean trend: keep it provisionally
  • Nonzero misses alone don't condemn a fit, and random scatter isn't proof the predictions are accurate enough
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Within 5 Drinks? Café Versus Hot Drinks

Fit Residuals (drinks) Largest miss Useful?
Café, −2, +3, +1, −2, −1, +1 3 Yes
Hot drinks, −10, +15, +5, −10, −5, +5 15 No

Both patternless; only the café's misses fit the purpose.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Stopping Distance: Residuals From a Line

Speed (mph) 20 30 40 50 60 70
Distance (ft) 40 75 120 175 240 315
Residual (ft) +16.7 −3.3 −13.3 −13.3 −3.3 +16.7
  • Fitted line: (rounded)
  • Where are the residuals positive? Where negative?
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

A U-Shaped Band: Investigate a Refit

  • Positive at both ends, negative in the middle: a U-shaped band
  • The line misses a curved mean trend
  • Context: braking distance grows with the square of speed → try a quadratic in 6.a
  • Judge the refit by its own residual plot
  • The data aren't wrong; the model missed something
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Tips: A Fan About Zero

Bills $10 to $80; fitted .

  • Residuals: +0.10, −0.20, −0.30, +0.40, −0.50, +0.60, +0.70, −0.80 dollars
  • Centered on zero, no curve: keep the line for the mean
  • Misses grow from $0.20 to $0.80: flag changing uncertainty
  • A new family isn't the automatic fix
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Three Labels for Your Decision

Three residual plots: Café random scatter labeled keep provisionally; Stopping distance U-shaped band labeled investigate a refit; Tips fan about zero labeled flag changing uncertainty

What you see Decision Also state
No systematic pattern Keep provisionally Is the error size useful?
Curve or offset Investigate a refit The pattern; what to try in 6.a
Fan, centered on zero Flag changing uncertainty Where spread is wider
Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Check-In: Which Label, and Why?

  1. One stopping-distance residual is small (−3.3 ft), so "the line is good"
  2. Patternless misses up to 20; need within 5
  3. Centered on zero, widening to the right

Answer: 1. No: the whole plot is a U; investigate a refit. 2. Keep provisionally; too imprecise here. 3. Flag changing uncertainty.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Full Task: Compute, Plot, Judge, Decide

Given data and a fitted function:

  1. Compute each residual, with its sign
  2. Plot residual vs x, units and zero line included
  3. Read pattern, spread, and size
  4. Decide with one of the three labels, and justify it

Work it through, then compare with a partner.

Grade 10 Statistics | HSS.ID.B.6.b
Assessing Fit with Residuals | Lesson 1 of 1

Key Takeaways and What's Next

✓ A residual is signed: observed minus predicted

✓ Plot residual vs x; zero is a reference, not a promise

✓ Read center, spread, and size

✓ Keep provisionally, investigate a refit, or flag uncertainty

⚠️ A pattern points at the model, not the data

Next: the correlation coefficient (C.8).

Grade 10 Statistics | HSS.ID.B.6.b