Estimating the mean of grouped data using midpoints, identifying the modal interval and the interval containing the median, and finding percentiles and the semi-interquartile range.
When data is grouped into intervals you no longer know the individual values, so the mean can only be estimated.
1The estimated mean
midpoint = (lower + upper)/2
| Interval | f | midpoint | f × mid |
|---|---|---|---|
| 0 ≤ x < 10 | 4 | 5 | 20 |
| 10 ≤ x < 20 | 9 | 15 | 135 |
| 20 ≤ x < 30 | 14 | 25 | 350 |
| 30 ≤ x < 40 | 8 | 35 | 280 |
| 40 ≤ x < 50 | 5 | 45 | 225 |
| Total | 40 | 1 010 |
- 1Work out each midpoint: (0 + 10)/2 = 5, then 15, 25, 35, 45.Assume every value in an interval sits at its midpoint.
- 2Multiply each midpoint by its frequency and add: 20 + 135 + 350 + 280 + 225 = 1 010.
- 3Estimated mean = (1 010)/40.Divide by the total frequency.
- 4= 25,25.
Do not divide by the number of intervals (5). Divide by the total frequency (40).
2Modal interval and the median interval
- Modal interval — the interval with the highest frequency. Here 20 ≤ x < 30 (frequency 14).
- Median interval — the interval containing the n/2th value. Here the 20th value, which falls in 20 ≤ x < 30.
You cannot give an exact mode or median for grouped data — only the interval it lies in. Writing a single number instead of an interval loses the mark.
3Percentiles and quartiles
Q₁ = 25th percentile · median = 50th · Q₃ = 75th
- 125/100 × 40 = 10.
- 2So Q₁ is at the 10th value.Read this off an ogive or a cumulative frequency column.
4Semi-interquartile range
- 1IQR = 42 − 24 = 18.
- 2Semi-IQR = 18/2 = 9.Simply half the IQR.
5Histograms
Once data is grouped into intervals, the natural picture is a histogram: one bar per interval, its height the frequency.
6Histogram or bar graph?
- A histogram shows continuous grouped data — marks, heights, times. The bars touch, because one interval ends exactly where the next begins.
- A bar graph shows categorical data — favourite sport, home language. The bars have gaps, because there is nothing between the categories.
- The horizontal axis of a histogram is a number line; on a bar graph it is a list of labels, and the bars could be put in any order.
Reading a histogram is the same as reading a frequency table: the tallest bar marks the modal interval, and adding the heights gives the total number of values.
- 1Total = 4 + 9 + 14 + 8 + 5 = 40 learnersAdd the frequencies — the heights of all five bars.
- 2The median is the average of the 20th and 21st values.n = 40 is even, so the median sits between two values.
- 3Cumulative: 4, then 13, then 27.Running totals to find which interval the 20th value falls in.
- 4The 20th and 21st values both fall in 40–60, so the median lies in the interval 40 ≤ x < 60.
Leaving gaps between the bars of a histogram. The gaps are the visual signal that data is categorical — drawing them on continuous data says the wrong thing, and papers award a mark for touching bars.
Practice exercises
Work each one out, then click to reveal the answer.
- 1Write down the midpoint of the interval 20 ≤ x < 30.
Show answer ▾Hide answer ▴
(20 + 30)/2 = 25 - 2Using the table (f = 4, 9, 14, 8, 5 for intervals of width 10 from 0), estimate the mean.
Show answer ▾Hide answer ▴
(1 010)/40 = 25,25 - 3Write down the modal interval for that data.
Show answer ▾Hide answer ▴
20 ≤ x < 30 (highest frequency, 14) - 4In which interval does the median lie for that data?
Show answer ▾Hide answer ▴
The 20th value → 20 ≤ x < 30 - 5Determine the position of the 25th percentile when n = 40.
Show answer ▾Hide answer ▴
25/100 × 40 = the 10th value - 6Q₁ = 24 and Q₃ = 42. Calculate the interquartile range.
Show answer ▾Hide answer ▴
42 − 24 = 18 - 7Q₁ = 24 and Q₃ = 42. Calculate the semi-interquartile range.
Show answer ▾Hide answer ▴
18/2 = 9 - 8Why can the mean of grouped data only be estimated?
Show answer ▾Hide answer ▴
Because the individual values are unknown — we assume each one sits at its interval's midpoint. - 9State TWO differences between a histogram and a bar graph.
Show answer ▾Hide answer ▴
A histogram shows continuous grouped data and a bar graph shows categorical data ✓; the bars of a histogram touch while those of a bar graph have gaps ✓ - 10The bars of a histogram have frequencies 6, 10, 14, 9 and 5. How many values are in the data set, and which is the modal interval?
Show answer ▾Hide answer ▴
6 + 10 + 14 + 9 + 5 = 44 values ✓; the modal interval is the one with frequency 14 ✓ - 11Explain why the bars of a histogram must touch.
Show answer ▾Hide answer ▴
The intervals are continuous ✓ — one interval ends exactly where the next begins, so there is no value that could fall in a gap ✓
Quick Quiz
5 quick questions on what you just read. Take it when you feel ready.
Now practise it
Download Grade 10 past papers and worksheets on this topic.