Skip to content

PSDA-models · Scatterplots, model residuals and predictions

SAT · Topic 15

Video lesson for this topic Open the video page
5:02

Scatterplots, model residuals and predictions

On 1 January 1801 the astronomer Giuseppe Piazzi found a faint moving object, later named Ceres, and tracked it for 41 days before it disappeared behind the…

English narration · English and 中文 subtitles you can switch

15.1

Scatterplots, Model Residuals and Predictions

On 1 January 1801 the astronomer Giuseppe Piazzi found a faint moving object, later named Ceres, and tracked it for 41 days before it disappeared behind the Sun. Astronomers could not tell where it would reappear. The 24-year-old Carl Friedrich Gauss fitted an orbit to Piazzi's few observations, choosing the curve that made the squared errors as small as possible. In December 1801 Ceres was found almost exactly where he predicted. Adrien-Marie Legendre published this "least squares" method in 1805. The SAT uses its simplest case: a line of best fit through a scatterplot.

These questions ask you to:

  • Describe the pattern in a scatterplot and read a line of best fit 最佳拟合直线.
  • Interpret the slope and intercept of a fitted model in context.
  • Find and interpret a residual 残差.
  • Tell interpolation 内插 from extrapolation 外推, and judge when a prediction can be trusted.
Vocabulary Train
English
line of best fit/laɪn ɒv best fɪt/
residual/rɪˈsɪdʒuːəl/
interpolation/ɪnˌtɜːpəˈleɪʃn/
extrapolation/ekˈstræpəleɪʃn/
15.2

Reading a scatterplot

  • Direction: positive (up to the right) or negative.
  • Form: linear, curved (such as exponential), or no clear pattern.
  • Strength: how closely the points cluster around the pattern.
  • An association between two variables does not show that one causes the other.
15.3

The fitted line

  • In $\hat y = a + bx$, the slope $b$ is the predicted change in $y$ for each one-unit increase in $x$. Say "predicted", since real points vary.
  • The intercept $a$ is the predicted $y$ at $x = 0$. If $x = 0$ is outside the data, it is only an extrapolation.
  • To predict, substitute $x$ into the equation, or read from the line, not from the nearest point.
15.4

Residuals

$$\text{residual} = \text{observed } y - \text{predicted } y$$
  • A positive residual means the point lies above the line; negative means below.
  • On a residual plot, a random scatter around zero suggests the linear model fits; a curve suggests another form.
The line y = 12 + 3x with the observation (2, 21) three units above it

In the figure, the line predicts $12 + 3(2) = 18$ at $x = 2$, so the residual is $21 - 18 = 3$.

15.5

Linear or exponential models

  • If equal steps in $x$ give roughly equal differences in $y$, a linear model fits.
  • If they give roughly equal ratios, an exponential model fits: $y = a b^x$.
  • Look at the shape of the scatterplot before choosing.
15.6

Worked example: a delivery model

A fitted model is $T = 8 + 1.5d$ minutes, for observed distances of 2 to 10 km.

  • Slope: each extra kilometre adds a predicted 1.5 minutes.
  • Intercept: 8 minutes at 0 km, but 0 km is outside the data, so this is an extrapolation (it might be loading time).
  • At 6 km: $T = 8 + 1.5(6) = 17$ minutes. The observed time was 15, so the residual is $15 - 17 = -2$ minutes: faster than predicted.
15.7

Worked example: choosing a model

At $x = 0, 1, 2, 3$ the outputs are 6, 18, 54, 162.

  • Differences: 12, 36, 108, not constant. Ratios: all 3.
  • Model: $y = 6(3)^x$.
  • Prediction at $x = 4$: $6 \times 81 = 486$, but only if the growth continues, since $x = 4$ is outside the data.
15.8

Common errors

  • Getting the residual the wrong way round (predicted minus observed).
  • Saying the slope "causes" the change.
  • Trusting a prediction far outside the observed range.
  • Reading a prediction from a nearby point instead of from the line.
  • Fitting a line to clearly curved data.
15.9

Key terms

line of best fit: A line that models the trend in a scatterplot.

residual: The observed value minus the value the model predicts.

interpolation: Predicting inside the range of the data.

extrapolation: Predicting outside the range of the data.

15.10

Check yourself

  • A model is $\hat y = 40 - 2x$. At $x = 5$ the observed value is 33. Find the residual.
  • The data run from $x = 1$ to $x = 12$. Is a prediction at $x = 30$ interpolation or extrapolation?
  • What does a negative residual tell you about a point?

Answers: predicted 30, residual $+3$. Extrapolation. It lies below the line.

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in SAT

Log in or create account

IGCSE, A-Level & AP