Cookmath

Scatter Plots, Residuals and Association

A scatter plot pairs two quantitative measurements for each case. A fitted line summarizes a trend rather than forcing every point to lie on it. A residual is observed y minus predicted y; positive residuals place observations above the line. A strong association may still be noncausal, and prediction far outside observed inputs is uncertain.

Before you begin

Evaluate y=2x+1 at x=3 to get 7, and distinguish an observed value from a predicted value.

What you will learn

Understand the idea

A scatter plot pairs two quantitative measurements for each case. A fitted line summarizes a trend rather than forcing every point to lie on it. A residual is observed y minus predicted y; positive residuals place observations above the line. A strong association may still be noncausal, and prediction far outside observed inputs is uncertain.

Worked example 1

A fitted model predicts score=50+4h for study hours h. At h=3, observed score is 65. Find the residual.

  1. Predicted score=50+4·3=62.
  2. Residual=65−62=3 points, so the observed point is above the line.
  3. Slope 4 means the fitted score increases 4 points per additional hour in this model.

Worked example 2

A model fitted for h between 1 and 5 predicts score 130 at h=20. Evaluate that use.

  1. h=20 is far beyond the observed range, so this is extrapolation.
  2. If the exam maximum is 100, the prediction also violates the response limit.
  3. The linear relationship should not be assumed to continue indefinitely.

Diagnose an error

A student defines residual as predicted minus observed. What changes?

Compare your reasoning

A student defines residual as predicted minus observed. What changes?

  1. The sign is reversed relative to the standard definition used here.
  2. For observed 8 and predicted 10, residual=8−10=−2, indicating a point below the line.

Independent practice

Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.

Practice 1

For predicted y=3x+2, find the prediction at x=4.

Solution locked until submission.

Practice 2

Observed y=11 and predicted y=14. Find and interpret residual.

Solution locked until submission.

Practice 3

Residuals are positive at low/high x and negative in the middle. Is a line satisfactory?

Solution locked until submission.

Practice 4

Ice cream sales and swimming visits rise together. Does one necessarily cause the other?

Solution locked until submission.

Connect and reflect

A model is useful when its assumptions and residual behavior fit the intended prediction, not merely when it produces a number.

Original Cookmath explanations and exercises. Scope reference: IM v.360 Statistics and probability — scope reference. Cookmath units are smaller study groups, not publisher chapter counts.

Continue learning

Statistics and Data