The Line of Best Fit
A line of best fit turns a scattered set of data into an equation, and once you have the equation, the questions are ordinary algebra. The two things the SAT tests on top of the algebra are the difference between what the line predicts and what actually happened, and what the slope means in the story.
What the line gives you
Substitute an $x$-value to get a predicted $y$. Solve for $x$ when you are given a $y$.
The actual data point can be above or below the line. Actual minus predicted is the residual. The slope is the predicted change in $y$ for each $1$-unit increase in $x$.
Worked examples
Writing the line from the graph
A line of best fit passes through about $(0, 12)$ and $(8, 36)$. Write its equation.
- Slope: $\dfrac{36 - 12}{8 - 0} = 3$.
- The $y$-intercept is $12$.
- $y = 3x + 12$. Pick points where the line crosses grid lines exactly, not data points.
Predicted versus actual
The line $y = 4x + 2$ fits a set of data. One point is $(9, 41)$. How far is it from the line?
- Predicted: $4(9) + 2 = 38$.
- Actual minus predicted: $41 - 38 = 3$.
- The point is $3$ units above the line.
Years as the input
Sales, in thousands, are modeled by $y = 2.4x + 15$, where $x$ is years since 2000. What does the model predict for 2010?
- 2010 is $x = 10$, not $x = 2010$.
- $2.4(10) + 15 = 39$.
- The prediction is $39$ thousand, or $39{,}000$ sales.
What you will see
- Predict. Substitute the $x$-value, keeping track of units and starting years.
- Solve for an input. Set the equation equal to the given $y$.
- Compare to actual data. Residuals, or "how much greater was the actual value than predicted."
- Interpret. The slope is a rate in the units of the problem. The intercept is the predicted value at $x = 0$.
- Judge the prediction. A prediction far outside the range of the data is less reliable.
How far can you trust the line?
A line of best fit describes the data it was built from. Inside that range its predictions are reasonable. Far outside it, they can be silly. A line fitted to ice cream sales between $60$ and $90$ degrees will cheerfully predict negative sales at $30$ degrees.
The SAT sometimes asks which prediction is most reliable, or whether a model is appropriate for a given input. The answer is almost always the one closest to the middle of the data. I tell students to look at the smallest and largest $x$-values in the scatterplot before answering any prediction question.
Mistakes to avoid
- Using a data point instead of the line. "According to the line of best fit" means the equation.
- Using the actual year. If $x$ is years since 2000, then 2010 is $x = 10$.
- Forgetting units like thousands. Read the axis labels before you answer.
- Percent of the wrong number. If the actual value is $10\%$ below the prediction, the base is the prediction.
Practice questions
Write the predicted value first on every question.
- A$4.8$
- B$6.6$
- C$10.2$
- D$64.2$
Show solution
Show solution
- A$y = 3x + 12$
- B$y = 12x + 3$
- C$y = 3x + 36$
- D$y = 4.5x + 12$
Show solution
Show solution
- A$-25$
- B$20$
- C$25$
- D$108$
Show solution
Show solution
- A$24$ thousand
- B$39$ thousand
- C$63$ thousand
- D$4{,}839$ thousand
Show solution
Show solution
- A$17$
- B$18$
- C$22$
- D$23$
Show solution
Show solution
See which data questions you miss
A free practice test shows where your data points go.
Practice this for free