Scatterplots and Lines of Best Fit

Digital SAT Math · Data Analysis

Goal: Read a line of best fit like reading an English sentence: the slope says for each unit of $x$, how much $y$ is predicted to change, the intercept says the predicted value when $x=0$ — with the correct units, even when the question changes units midway. Predict in both directions: given $x$ find $y$, and given $y$ find $x$; and know when a prediction lies outside the range of the data and so is not trustworthy. Compute and read the sign of a residual. And most important of all: tell which conclusions you may draw from a scatterplot and which you may not.

What a line of best fit is — and is not

A scatterplot shows one point for each individual in a data set. The line of best fit is the straight line that comes closest to those points overall; it is a model, not a rule the data obeys. Almost no point lies exactly on it, and that is expected.

61116212631Subscribers (thousands)Years since 2010012345678910
Worked example

For the scatterplot above, the line of best fit is $\hat y=8.5+2.4x$, where $x$ is the number of years since $2010$ and $\hat y$ is the predicted number of subscribers, in thousands. Interpret both numbers.

Slope $2.4$: for each additional year, the model predicts an increase of $\boxed{2.4\text{ thousand subscribers}}$ — that is, $2400$ subscribers per year.

Intercept $8.5$: at $x=0$, which is the year $2010$, the model predicts $\boxed{8.5\text{ thousand subscribers}}$.

The slope is not “$2.4$ subscribers” and not “$2.4$ years”: a slope always carries the unit of $y$ divided by the unit of $x$.

Explanation

The unit of the slope is always “units of $y$ per unit of $x$”. In the Problem-Solving and Data Analysis group, the best question is not “what is the slope” but “what does the slope mean” — and the four choices often differ only in the units or in swapping the roles of $x$ and $y$. Read the axes carefully before reading the choices.

Predicting inside the data, and outside it

Substituting a value of $x$ gives a predicted $y$; solving the equation for $x$ works just as well in the other direction.

Worked example

A line of best fit passes through the points $(2,15)$ and $(10,39)$ on a scatterplot. Write its equation, then predict $y$ when $x=15$.

Slope $=\dfrac{39-15}{10-2}=\dfrac{24}{8}=3$. Using $(2,15)$: $15=b+3(2)$, so $b=9$ and $\hat y=9+3x$.

At $x=15$: $\hat y=9+45=\boxed{54}$.

Worked example

Using the same model $\hat y=9+3x$, for what value of $x$ does the model predict $y=60$? The scatterplot's data covered $x$ from $1$ to $12$ only. Comment on the prediction.

Solve $9+3x=60$, so $3x=51$ and $x=\boxed{17}$.

Because $17$ lies well outside the interval $1\le x\le 12$ where the data were collected, the model has never been tested there. Nothing guarantees the pattern continues, so this prediction is far less trustworthy than one made inside the data range.

Explanation

A prediction inside the data range is called interpolation, a prediction outside the data range is called extrapolation. The SAT very often asks “why might this prediction be unreliable” and the correct answer is almost always “the value of $x$ lies outside the range of data used to build the line”. The distractors usually talk about the slope or about the line not passing through every point — true but not the reason.

Units, and the two-step slope question

The slope is stated in the units of the axes; the question is often asked in different units. Convert after using the model, never before.

Worked example

A scatterplot shows a subscription's cost $y$, in dollars, against time $x$, in months, and the line of best fit has slope $3$. According to the model, by how many dollars does the cost increase over $4$ years?

The slope means $3$ dollars per month. Four years is $4\times 12=48$ months, so the predicted increase is $3\times 48=\boxed{144}$ dollars.

Common mistake

Multiplying the slope by $4$ because the question says “4 years” while the $x$-axis is in months. In this group, the question almost always deliberately gives axis units different from the units of the question — grams versus kilograms, seconds versus minutes, months versus years. Write the axis units down next to the problem before calculating.

Residuals

For a data point $(x,y)$, the residual is \[ \text{residual}=\text{actual }y-\text{predicted }\hat y . \]

Residual $>0$: the point lies above the line (the model under-predicts). Residual $<0$: the point lies below the line (the model over-predicts). Residual $=0$: the point is exactly on the line.

Worked example

For the model $\hat y=8.5+2.4x$ of the first section, the data point at $x=7$ has an actual value of $27.1$ thousand subscribers. Find the residual and say what it means.

Predicted: $\hat y=8.5+2.4(7)=8.5+16.8=25.3$. Residual: $27.1-25.3=\boxed{1.8}$ thousand subscribers.

The residual is positive, so that year's actual figure sat $1800$ subscribers above what the model predicted — the point is plotted above the line.

Common mistake

Computing it backwards as “predicted minus actual”. The sign flips, and the question “is the point above or below the line” gets answered wrongly. The correct order is actual minus predicted — read it as “how much the data exceeds the model”.

What a scatterplot licenses you to conclude

A scatterplot shows that two quantities move together. It does not show why.

Three study designs, three different kinds of conclusion
  • Observational study — the researcher only records what already happens. Conclusion allowed: an association between the two quantities, for the group studied. A cause-and-effect claim is not allowed.
  • Randomly selected sample — individuals are chosen at random from a population. Conclusion allowed: the finding may be generalised to that population.
  • Random assignment to treatment groups — the researcher decides who gets what. Conclusion allowed: a cause-and-effect claim, for the individuals in the study.

Random selection buys generalisation; random assignment buys causation. They are different words and they buy different things.

Worked example

Researchers recorded the weekly hours of exercise and the resting heart rate of $500$ adults who volunteered for a health screening. The scatterplot shows lower resting heart rates for adults who exercise more. Which conclusion is supported?

The researchers assigned nothing — they only recorded. So no cause-and-effect claim is available: adults who already exercise more may differ from the others in diet, age or genetics. The volunteers were also not selected at random from all adults, so the finding cannot be extended beyond them. The supported conclusion is exactly this: among these $500$ adults, more weekly exercise is associated with a lower resting heart rate.

Explanation

This is where students lose the most points in this group, because the standard school curriculum does not teach it. Memorize two sentences: observation alone only lets you say “there is an association”; you need random assignment to say “causes”. And a third: to generalize to the whole population the sample must be chosen at random from that population — volunteers are not a random sample.

When a line is the wrong model

A straight line encodes constant change per unit. Data that grow by a constant percentage per unit curve upward and need an exponential model $\hat y=a\,b^{x}$.

Worked example

At $x=0,1,2,3,4$ a quantity takes the values $5,\;15,\;45,\;135,\;405$. Is a linear or an exponential model appropriate?

Differences: $10,30,90,270$ — not constant, so not linear. Ratios: $\frac{15}{5}=\frac{45}{15}=\frac{135}{45}=\frac{405}{135}=3$ — constant, so the model is $\boxed{\hat y=5\cdot 3^{x}}$, exponential growth.

Worked example

A quantity is modelled by $\hat y=40(1.15)^{x}$, where $x$ is measured in years. What percentage increase does the model predict from $x=0$ to $x=2$?

The predicted values are $40$ and $40(1.15)^2=40(1.3225)=52.9$. The increase is $\dfrac{52.9-40}{40}=0.3225$, that is $\boxed{32.25\%}$ — not $15\%+15\%=30\%$, because the second year's growth applies to a base that already grew.

Explanation

Compounded percentages are not addition. Increasing by $15\%$ twice gives the multiplier $1.15\times 1.15=1.3225$, that is $32.25\%$, not $30\%$. Every “percent of a percent” question in this group is handled by multiplying the multipliers and then subtracting $1$.

← Previous lesson · All Digital SAT lessons · Practice SAT Math questions (free) · Next lesson →