Line of Best Fit
Grade 4What a line of best fit does
A line of best fit is a straight line drawn through a scatter graph that best represents the trend of the data. You use it to predict values — read across from one axis to find the corresponding value on the other.
The line doesn't have to pass through any specific point, and it certainly doesn't have to start at the origin. It should have roughly the same number of points above it as below it.
Drawing the line
Using the line to predict
Interpolation vs extrapolation
Interpolation means predicting within the range of the data — this is reliable. Extrapolation means predicting outside the data range — you're extending the line beyond where you have evidence, so the prediction is much less reliable.
Try this one
The scatter graph shows the rainfall (mm) and the number of visitors to an outdoor museum on 8 different days.
(a) State the type of correlation shown. [1]
(b) The line of best fit passes through (1, 70) and (20, 6). Use this information to find the equation of the line of best fit in the form \( y = mx + c \), where \( y \) is the number of visitors and \( x \) is the rainfall in mm. [3]
(c) Use your equation to estimate the number of visitors on a day when rainfall is 9 mm. [1]
To find the equation of a straight line, first calculate the gradient using gradient = (change in y) ÷ (change in x).
Then substitute one of the known points into \( y = mx + c \) to find \( c \). Ask yourself: 'which part of the equation do I know and which do I need to find?'