Practice Questions
Cambridge O Level Statistics (4040): Lines of best fit – Practice Questions
Twelve original questions with mark-scheme answers on mean points, semi-averages, y = mx + c, interpretation and the reliability of predictions, for 4040.
- Subject
- Statistics
- Level
- O LEVELS
- Topic
- Topic 9 – Bivariate distributions and their representation by scatter diagrams
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Sajawal Zahid (what this means)
Aligned to Cambridge O Level Statistics (4040), For examination in 2025-2027. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge O Level Statistics.
Syllabus points this page covers
4040
- 9.2 Lines of best fit
Found an error? Report a correction.
Need help with this topic? Request a free trial class for O Level Statistics (4040).
These are original questions written for Marlbridge, for revision and practice on this content. They are not reproduced past-paper questions, and they do not replicate the exam’s exact structure, question count or mark tariffs – examination boards hold copyright in their own papers. Use these alongside the official past papers from your board or school.
These questions cover section 9.2 of the Cambridge O Level Statistics (4040) syllabus for examination in 2025, 2026 and 2027: lines of best fit, the method of semi-averages, the equation y = mx + c, and the use and limitations of a line of best fit in prediction. Recall the methods from the lines of best fit study guide or the lines of best fit revision notes. All data are invented. Show your working and give answers to 3 significant figures unless a question says otherwise.
Section A
1. Find the mean point of the pairs (2, 7), (5, 12), (6, 15), (8, 18) and (9, 23). [2]
2. A line of best fit passes through (5, 40) and (25, 10). Find its equation in the form y = mx + c. [3]
3. For parcels with masses from 1 kg to 20 kg, a courier’s charge y ($) is related to the mass x (kg) by the line y = 12 + 0.5x. Interpret the gradient and the intercept in context. [2]
4. Explain the difference between interpolation and extrapolation. [2]
5. The semi-average points of a data set are (3, 16) and (11, 40).
(a) Find the equation of the line of best fit. [2]
(b) Use it to estimate y when x = 7. [1]
Section B
6. A driver records the distance x (km) and the time y (minutes) for eight deliveries.
| Distance x | 12 | 5 | 9 | 15 | 3 | 7 | 11 | 14 |
|---|---|---|---|---|---|---|---|---|
| Time y | 52 | 30 | 41 | 60 | 24 | 37 | 48 | 56 |
(a) Using the method of semi-averages, find the two semi-average points. [4]
(b) Find the equation of the line of best fit. [3]
(c) Calculate the mean point of all eight deliveries and show that it lies on your line. [2]
(d) Estimate the time for a 10 km delivery, and interpret the gradient in context. [2]
7. The table shows the years of experience x and the hourly pay y ($) of seven workers.
| x | 1 | 3 | 5 | 7 | 9 | 11 | 13 |
|---|---|---|---|---|---|---|---|
| y | 10 | 13 | 16 | 22 | 26 | 28 | 33 |
(a) In the method of semi-averages, state which pair is left out and why. [2]
(b) Find the two semi-average points. [2]
(c) Find the equation of the line of best fit. [2]
(d) Use the line to estimate the hourly pay of a worker with 30 years of experience, and comment on the reliability of your estimate. [2]
8. On a scatter diagram the x-axis starts at 40. A line of best fit passes through (40, 18) and (80, 38). A student says the intercept is 18.
(a) Explain the student’s error. [1]
(b) Find the correct equation of the line. [3]
9. A line of best fit was found from 30 points showing strong positive correlation, with x values from 10 to 50. It is used to estimate y when x = 30 and when x = 70. Compare the reliability of the two estimates. [4]
10. For batteries aged 2 to 24 months, the percentage y of original battery life remaining after x months is modelled by y = 95 − 3x.
(a) Estimate the percentage remaining after 15 months. [1]
(b) Use the model to estimate the percentage remaining after 40 months. [1]
(c) Comment on your answer to (b). [2]
(d) Interpret the gradient in context. [1]
11. Six pairs of data have mean point (8, 30). Five of the y values are 22, 25, 28, 34 and 37.
(a) Find the sixth y value. [2]
(b) A line of best fit is drawn through the mean point and the point (12, 40). Find its equation. [3]
12. A data set has an even number, 2k, of pairs. They are ordered by x and split into two halves of k pairs each.
(a) Give one advantage of the method of semi-averages over drawing a line by eye. [1]
(b) Show that the midpoint of the two semi-average points is the overall mean point. [3]
Answers
1. x̄ = 30 ÷ 5 = 6 [1], ȳ = 75 ÷ 5 = 15, so the mean point is (6, 15) [1]. [2]
2. m = (10 − 40) ÷ (25 − 5) = −1.5 [1]. c = 40 − (−1.5 × 5) = 47.5 [1]. y = 47.5 − 1.5x [1]. [3]
3. Gradient: each extra kilogram adds about $0.50 to the charge [1]. Intercept: a fixed charge of about $12 on top of the charge per kilogram; this is sensible because 0 kg is close to the smallest mass of 1 kg [1]. [2]
4. Interpolation is estimating a value inside the range of the data [1]; extrapolation is estimating outside that range, where the pattern may not continue [1]. [2]
5. (a) m = (40 − 16) ÷ (11 − 3) = 3, c = 16 − 9 = 7 [1], so y = 3x + 7 [1].
(b) 3 × 7 + 7 = 28 [1]. [3]
6. (a) Ordered by x, lower half: (3, 24), (5, 30), (7, 37), (9, 41); upper half: (11, 48), (12, 52), (14, 56), (15, 60) [1]. Lower point: (24 ÷ 4, 132 ÷ 4) = (6, 33) [1] [1]. Upper point: (52 ÷ 4, 216 ÷ 4) = (13, 54) [1].
(b) m = (54 − 33) ÷ (13 − 6) = 21 ÷ 7 = 3 [1]. c = 33 − 3 × 6 = 15 [1]. y = 3x + 15 [1].
(c) Mean point (76 ÷ 8, 348 ÷ 8) = (9.5, 43.5) [1]. 3 × 9.5 + 15 = 43.5, so it lies on the line [1].
(d) 3 × 10 + 15 = 45 minutes [1]. Each extra kilometre adds about 3 minutes to the delivery time [1]. [11]
Examiner insight: Splitting the table in the order printed, before sorting, is the most expensive error here; every later mark depends on the halves.
7. (a) (7, 22) is left out [1], because there are seven pairs and each half must contain the same number, three [1].
(b) Lower: (9 ÷ 3, 39 ÷ 3) = (3, 13) [1]. Upper: (33 ÷ 3, 87 ÷ 3) = (11, 29) [1].
(c) m = 16 ÷ 8 = 2 [1], c = 13 − 6 = 7, so y = 2x + 7 [1].
(d) 2 × 30 + 7 = $67 [1]. Unreliable, because 30 years is far outside the data range of 1 to 13 years, so pay may not keep rising at the same rate [1]. [8]
8. (a) The axis does not start at zero, so the height of the line at the left edge (x = 40) is not the value of y when x = 0 [1].
(b) m = (38 − 18) ÷ (80 − 40) = 0.5 [1]. c = 18 − 0.5 × 40 = −2 [1]. y = 0.5x − 2 [1]. [4]
9. The estimate at x = 30 is interpolation, inside the range 10 to 50 [1], and with strong correlation and 30 points it should be reasonably reliable [1]. The estimate at x = 70 is extrapolation [1], so it is less reliable because the relationship may change outside the observed range [1]. [4]
10. (a) 95 − 45 = 50% [1].
(b) 95 − 120 = −25% [1].
(c) A negative percentage is impossible [1]. 40 months is outside the range of 2 to 24 months, so this is extrapolation and the model does not apply [1].
(d) About 3 percentage points of battery life are lost each month [1]. [5]
11. (a) Total of y = 6 × 30 = 180 [1]. Sixth value = 180 − 146 = 34 [1].
(b) m = (40 − 30) ÷ (12 − 8) = 2.5 [1]. c = 30 − 2.5 × 8 = 10 [1]. y = 2.5x + 10 [1]. [5]
12. (a) It gives the same line for everyone using the same data, whereas lines by eye vary between people [1].
(b) The semi-average x values are (sum of lower x) ÷ k and (sum of upper x) ÷ k [1]. Their mean is (sum of lower x + sum of upper x) ÷ 2k [1] = Σx ÷ 2k = x̄, and the same argument for y gives ȳ [1]. [4]
Where marks are usually lost
- Forming the halves before sorting by x.
- Including the middle pair when the number of pairs is odd.
- Finding the gradient from data points rather than from points on the line.
- Reading the intercept from an axis that does not start at zero.
- Interpreting the gradient without units.
- Calling an extrapolated or impossible estimate reliable.
Official syllabus
Cambridge International, Cambridge O Level Statistics 4040, syllabus for examination in 2025, 2026 and 2027, section 9.2: lines of best fit, including the method of semi-averages, the derivation of the equation of the fitted straight line in the form y = mx + c, and the use and limitations of a line of best fit in prediction.
Related resources
-
Revision notes
Cambridge O Level Statistics (4040): Lines of best fit – Revision Notes
Condensed notes on the mean point, semi-averages, y = mx + c, interpreting gradient and intercept and the limits of prediction, with a self-test, for 4040.
Statistics · Cambridge · O Level
Revise topic -
Study guides
Cambridge O Level Statistics (4040): Elementary ideas of correlation
Plotting scatter diagrams, describing positive, negative, strong and weak correlation in context, outliers, curved patterns and causation, for O Level Statistics 4040.
Statistics · Cambridge · O Level
Read guide -
Practice questions
Cambridge O Level Statistics (4040): Elementary ideas of correlation – Practice Questions
Twelve original questions with mark-scheme answers on scatter diagrams, describing and interpreting correlation, outliers and causation, for O Level Statistics 4040.
Statistics · Cambridge · O Level
Try questions
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.