Averages & Spread from Grouped Data
When data is grouped, the exact values are lost, so averages can only be estimated. Use class midpoints for the mean, the cumulative frequency to locate the median, and linear interpolation for a better estimate of the median.
Key points
- Estimated mean $= \frac{\sum fm}{\sum f}$, where $m$ is each class midpoint.
- The modal class is the class with the highest frequency (equal-width classes).
- The median is about the $\frac{n}{2}$th value; use running totals to find its class.
- Interpolation: median $\approx L + \frac{\frac{n}{2} - F}{f} \times w$, where $L$ is the lower class boundary, $F$ the cumulative frequency before the class, $f$ its frequency and $w$ its width.
- For a discrete frequency table the mean is exact: $\frac{\sum fx}{\sum f}$.
Worked example
Question. Times: $0 < t \le 10$ (4), $10 < t \le 20$ (10), $20 < t \le 30$ (6). Estimate the mean.
- Midpoints: 5, 15, 25.
- $\sum fm = 4 \times 5 + 10 \times 15 + 6 \times 25 = 20 + 150 + 150 = 320$
- Mean $\approx \frac{320}{20} = 16$
Answer. 16 minutes
Common mistakes
- Dividing $\sum fm$ by the number of classes instead of $\sum f$.
- Using the class width or upper bound instead of the midpoint.
- Giving the frequency of the modal class rather than the class itself.