Grouped data
Grouping continuous and discrete data into classes, class centres, histograms and polygons for grouped data, and estimating the median from a cumulative frequency polygon.
Grouping data
When there are many different values, group them into classes of equal width. The class centre is the average of the class boundaries, and the modal class has the highest frequency. Heights of $30$ students, in cm:
| Height (cm) | 150–155 | 155–160 | 160–165 | 165–170 | 170–175 |
|---|---|---|---|---|---|
| Class centre | 152.5 | 157.5 | 162.5 | 167.5 | 172.5 |
| Frequency | 3 | 7 | 12 | 6 | 2 |
| Cumulative frequency | 3 | 10 | 22 | 28 | 30 |
Each class includes its lower boundary but not its upper one, so $160$ goes in 160–165.
Estimating the median
For continuous data, plot each cumulative frequency at the upper boundary of its class (starting from $0$ at the first lower boundary) and join the points with straight lines. Read across from $\dfrac{n}{2}$ to estimate the median.
Each segment rises by the class frequency over the width of the class. With k = 15 (half of 30), the reading is the median estimate.
Set $k = 15$ and read off the median estimate. What does $k = 22$ give, and why is it a class boundary?
Estimate the median height.
Discrete data can be grouped too, for example scores 0–4, 5–9, 10–14. The class centre of 5–9 is $7$.
Find the class centre of 160–165.
$\dfrac{160 + 165}{2}$.
The modal class of the height data is:
Frequency $12$.
How many students are shorter than $165$ cm?
Cumulative frequency at $165$.
How many students were measured?
The final cumulative frequency.
Estimate the median height, to 1 decimal place.
$160 + \dfrac{5}{12} \times 5$.
How many students are shorter than $160$ cm?
$3 + 7$.
Why is a median from grouped data only an estimate?
We only know how many values are in each class.
Find the relative frequency of the class 165–170.
$\dfrac{6}{30}$.
Scores are grouped as 0–4, 5–9, 10–14. Find the class centre of 5–9.
$\dfrac{5 + 9}{2}$.
New numbers every time. Keep going until you get five in a row.
Coaching Centre