Why grouped data matters in real life
Ever wondered how schools decide the average score of thousands of pupils without listing every single mark? They bundle the scores into ranges – that’s grouped data. Knowing the mean, median and mode of such groups is a handy shortcut for any exam or real‑world problem.
💡 In Simple Words: Grouped data is just a way of putting numbers into buckets. The mean tells you the overall average, the median shows the middle point, and the mode points to the bucket that holds the most numbers.
What is grouped data?
Grouped data means we collect raw numbers and then sort them into intervals (or classes) like 0‑10, 11‑20, etc. Each interval has a frequency – the count of how many numbers fall inside it. Think of it like sorting marbles by color: each color bin is a class, and the number of marbles in each bin is the frequency.
Mean of grouped data – the “average” bucket
The mean (average) of grouped data isn’t just the sum of the class mid‑points multiplied by their frequencies divided by the total number of observations. The mid‑point is the number right in the middle of a class interval (add the lower and upper limits, then halve).
Step‑by‑step formula
- Find the mid‑point (x̄) for each class.
- Multiply each mid‑point by its frequency (f) → get f·x̄.
- Add all the f·x̄ values together.
- Divide that total by the sum of all frequencies (∑f).
Worked example
Suppose a class took a math test and the scores are grouped as follows:
| Score interval | Frequency (f) |
|---|---|
| 0‑10 | 2 |
| 11‑20 | 5 |
| 21‑30 | 8 |
| 31‑40 | 4 |
| 41‑50 | 1 |
Mid‑points: 5, 15, 25, 35, 45.
Now calculate f·x̄:
- 2×5 = 10
- 5×15 = 75
- 8×25 = 200
- 4×35 = 140
- 1×45 = 45
Total of f·x̄ = 10+75+200+140+45 = 470.
Total frequency ∑f = 2+5+8+4+1 = 20.
Mean = 470 ÷ 20 = 23.5.
So the average score is 23.5 marks.
Median of grouped data – the middle bucket
The median is the value that splits the data into two equal halves. With groups, we first locate the median class – the class where the cumulative frequency crosses half of the total observations.
Median formula
Median = L + \[\frac{\frac{N}{2} - C_f}{f}\] \times w
- L = lower limit of the median class.
- N = total number of observations (∑f).
- C_f = cumulative frequency of the class just before the median class.
- f = frequency of the median class.
- w = class width (upper limit – lower limit).
Worked example (same data)
Total N = 20, so N/2 = 10.
Cumulative frequencies: 2, 7, 15, 19, 20.
The 10th observation lies in the 21‑30 class (cumulative 15). That’s our median class.
Values: L = 21, C_f = 7 (cumulative before median class), f = 8, w = 10.
Median = 21 + \[(10‑7)/8\] × 10 = 21 + (3/8)×10 = 21 + 3.75 = 24.75.
Thus, half the students scored below about 24.8 marks.
Mode of grouped data – the most crowded bucket
The mode is the value that appears most often. In grouped data we use the class with the highest frequency – the modal class. A simple estimate of the modal value uses the frequencies of the modal class and its neighbours.
Mode formula
Mode = L + \[\frac{f_m - f_{m-1}}{(f_m - f_{m-1}) + (f_m - f_{m+1})}\] × w
- L = lower limit of the modal class.
- f_m = frequency of the modal class.
- f_{m-1} = frequency of the class before the modal class.
- f_{m+1} = frequency of the class after the modal class.
- w = class width.
Worked example (same data)
The highest frequency is 8 in the 21‑30 class, so it’s the modal class.
Values: L = 21, f_m = 8, f_{m-1} = 5 (frequency of 11‑20), f_{m+1} = 4 (frequency of 31‑40), w = 10.
Mode = 21 + \[(8‑5) / ((8‑5)+(8‑4))\] × 10 = 21 + (3 / (3+4)) × 10 = 21 + (3/7)×10 ≈ 21 + 4.29 = 25.29.
The most common score lies around 25.3 marks.
Quick comparison of the three measures
| Measure | What it tells | Key formula (grouped data) | When to use |
|---|---|---|---|
| Mean | Overall average | ∑(f·x̄) / ∑f | When you need a single representative value |
| Median | Middle position | L + [(N/2 – C_f)/f]·w | When data is skewed or has outliers |
| Mode | Most frequent value | L + [(f_m‑f_{m‑1}) / ((f_m‑f_{m‑1})+(f_m‑f_{m+1}))]·w | When you want the peak of the distribution |
Common mistakes to avoid
- Using class limits instead of mid‑points for the mean.
- Skipping the cumulative frequency step for the median.
- Choosing the wrong neighbour frequencies for the mode formula.
- Forgetting to keep the class width (w) consistent – it’s the same for all intervals unless the table says otherwise.
📝 Likely Exam Questions
- Question: In a survey, ages are grouped as 0‑9 (5), 10‑19 (12), 20‑29 (18), 30‑39 (9). Find the mean age.
Answer: Mid‑points: 4.5, 14.5, 24.5, 34.5. Compute Σ(f·x̄)=5×4.5+12×14.5+18×24.5+9×34.5=22.5+174+441+310.5=948. Total f=44. Mean=948/44≈21.55 years. - Question: Using the same data, determine the median age.
Answer: N=44, N/2=22. Cumulative frequencies: 5, 17, 35, 44. Median class is 20‑29 (cumulative 35). L=20, C_f=17, f=18, w=10. Median=20+[(22‑17)/18]×10=20+ (5/18)×10≈20+2.78=22.78 years. - Question: Find the mode of the grouped ages above.
Answer: Modal class is 20‑29 (f_m=18). f_{m‑1}=12, f_{m+1}=9, L=20, w=10. Mode=20+[(18‑12)/((18‑12)+(18‑9))]×10=20+(6/(6+9))×10=20+(6/15)×10=20+4=24 years. - Question: Explain why the median is preferred over the mean when the data contains a few extremely high scores.
Answer: The mean adds every value, so a very high score pulls the average up, giving a distorted picture. The median only looks at the middle position, so extreme values on either side have little effect. - Question: A set of marks is grouped in intervals of 5 marks each. If the total frequency is 60 and the cumulative frequency just before the median class is 28, with the median class frequency 14 and lower limit 55, find the median.
Answer: N/2=30. L=55, C_f=28, f=14, w=5. Median=55+[(30‑28)/14]×5=55+(2/14)×5≈55+0.714=55.71 marks.