Week 9 · Unit 7: Recording, organising and representing data · 4 lessons
2
Line of best fit
Student’s Book 8: Unit 7, pp. 63–72
GoalDraw a line of best fit and use it to estimate values, knowing when an estimate can be trusted.
New words
line of best fit · a straight line drawn through a scatter graph that follows the trend of the pointsestimate · a sensible guess for a value that is not in the datainterpolation · estimating a value inside the range of the dataextrapolation · estimating a value outside the range of the data; this is less reliable
Explanation
When a scatter graph shows correlation, a line of best fit can be added to it. This is a straight line that goes as close as possible to all the points, with about as many points above it as below it. It does not have to go through the origin or through any point. To estimate y for a given x, go up from x to the line and then across to the y-axis. To estimate x from y, go across to the line and then down. Estimates inside the range of the data are reasonable (interpolation). Estimates far outside the range (extrapolation) may be wrong because the pattern may change.
Worked examples
Use the line on the tomato graph to estimate the number of tomatoes for 6.5 hours of sunshine. Go up from 6.5 to the line, then across: about 12 tomatoes. The point (6, 12) and (7, 13) are close, so this is a sensible estimate.
How many hours of sunshine are likely to give 15 tomatoes? Go across from 15 on the vertical axis to the line, then down: about 8 hours. The data ran from 2 to 10 hours, so this is interpolation and we can trust it.
A spring is stretched by hanging masses. Mass x (g): 50, 100, 150, 200, 250, 300, 350. Length y (cm): 12.1, 14.0, 15.8, 18.1, 19.9, 22.2, 24.0. The line goes from (0, 10) to (350, 24). For 275 g it gives 21 cm, a good estimate. For 800 g the line would give 42 cm, but a real spring may be stretched past its limit, so we should not trust that extrapolation.
Class activity
Do a bouncing experiment. Drop a ball from heights of 20, 40, 60, 80 and 100 cm, and measure how high it bounces each time (stand a ruler against a wall, and film it on a phone if you can). Plot a scatter graph with drop height across and bounce height up. Draw a line of best fit with a ruler. Use it to predict the bounce from 70 cm, then test your prediction.
Practice
1
The graph shows the age of phones and their value in dollars. The line goes from (0, 445) to (8, 115). (a) Estimate the value of a 4.5-year-old phone. (b) At what age is a phone worth about $200? (c) Why should we not use the line for a 12-year-old phone?
(a) about $260 (250 to 270 accepted) (b) about 6 years (c) The line would give a negative value, which is impossible; it is outside the data range.
2
Mia thinks: ‘A line of best fit must pass through the origin and through at least two of the points.’ Is she correct?
No. The line only has to follow the trend, with about the same number of points on each side. It need not pass through the origin or through any point.
3
Times and distances for a group of cyclists are plotted, and the line goes from (0, 0) to (60, 20). (a) Estimate the distance cycled in 45 minutes. (b) Estimate the time needed for 8 km. (c) Is part (a) interpolation or extrapolation?
(a) about 15 km (b) about 24 minutes (c) Interpolation: 45 is inside the data range 10 to 55.
4
Using the tomato line, Ali predicts the tomatoes picked on a day with 30 hours of sunshine. Explain why his answer would be nonsense.
A day has only 24 hours, so 30 hours of sunshine is impossible. Also 30 is far outside the data range 2 to 10 hours, so it is extrapolation.