Predicting with a line of best fit
Plug x into the regression line.
A line of best fit, like y = 2.5x + 10, summarizes a scatter plot. To predict, plug in the x-value. The slope says how much y changes, on average, for each 1 added to x.
Example: Score = 2.5 × hours + 10, for 8 hours
- 2.5 × 8 + 10 — Plug in x = 8
- 20 + 10
- 30 — Predicted score: 30
Why it works: The line of best fit follows the trend of the data, so plugging in x gives the y the trend predicts.
Tip: Predictions far outside the data you have (extrapolation) are less trustworthy.