A-level Maths revision · Statistics

Grouped data and interpolation

The idea

With grouped data you only know how many values sit in each class, so the mean uses midpoints and the median and quartiles are estimated by linear interpolation inside a class.

  1. Estimated mean: ∑fx∑f\frac{\sum fx}{\sum f} with xx the class midpoint.
  2. For the median, find the class holding the n2\frac{n}{2}th value.
  3. Interpolate: lower boundary +position−cumulative beforeclass frequency×width+ \frac{\text{position} - \text{cumulative before}}{\text{class frequency}} \times \text{width}.

Watch out Interpolated values are estimates: the data inside a class is assumed to be spread evenly.

See it worked

Worked example

Classes 00–1010, 1010–2020, 2020–3030 have frequencies 88, 1414, 1818. Estimate the median.

  1. n=40n = 40, so the median is the 2020th value.
  2. Cumulative: 88, 2222, 4040, so it is in 1010–2020, which starts after 88 values.
  3. 10+20−814×10=18.610 + \frac{20 - 8}{14} \times 10 = 18.6 (3 s.f.).

Answer 18.618.6

Your turn

Question 1Non-calculator3 marks

For a grouped data set, ∑f=40\sum f = 40 and ∑fx=1240\sum fx = 1240. Estimate the mean.

Question 2Non-calculator3 marks

Classes 00–2020, 2020–4040, 4040–6060 have frequencies 1212, 2020, 88. Use interpolation to estimate the median.

Question 3Calculator allowed3 marks

For the same data (1212, 2020, 88 in classes 00–2020, 2020–4040, 4040–6060), estimate the lower quartile.

In past papers

21 official questions in 17 papers since 2018. The latest:

All A-level Maths past papers

A-level Maths Pro, Pearson Edexcel 9MA0

A-level Maths Pro

£129 once

Price rises to £199 on 1 January. Save £70 by joining before then.

At least 12 months of access

By paying you agree to our Terms and get access straight away, which ends your 14-day cancellation right.

No VAT is charged.