Ever wondered why a teacher shows you a histogram instead of a simple list?
When data are many and varied, grouping them into intervals makes patterns pop out—just like sorting a huge pile of Lego bricks by colour and size.
💡 In Simple Words: Grouped data is data that’s been packed into ranges (like ages 10‑14, 15‑19). To see what’s typical, we use measures of central tendency—mean, median and mode—calculated with special tricks for those ranges.
What is Grouped Data?
Imagine you surveyed 120 students about the number of books they read last month. Instead of writing each number, you place them into intervals: 0‑4, 5‑9, 10‑14, etc. Each interval is called a class. The number of students in a class is the frequency. A table that shows classes and frequencies is a frequency distribution for grouped data.
Why Do We Need Measures of Central Tendency?
Just like a playground seesaw balances at its centre, these measures tell us where the “middle” of our data sits. For grouped data, we can’t just add up every single value, so we use the class mid‑point (the value right in the middle of a class) as a stand‑in for each observation in that class.
Step‑by‑Step: Finding the Mean of Grouped Data
The mean is the average—add everything up and divide by how many items you have. For grouped data, we replace each actual value with its class midpoint.
- Step 1: Write down the class limits (e.g., 0‑4, 5‑9).
- Step 2: Find the midpoint of each class: (lower limit + upper limit) ÷ 2.
- Step 3: Multiply each midpoint by its frequency (how many observations fall in that class). This gives f·x where f is frequency and x is midpoint.
- Step 4: Add all the f·x values to get Σ(f·x).
- Step 5: Divide Σ(f·x) by the total number of observations (Σf).
Formula: Mean = Σ(f·x) / Σf
Worked Example – Mean
Suppose we have the following distribution of scores out of 50:
| Class (Score) | Frequency (f) |
|---|---|
| 0‑9 | 4 |
| 10‑19 | 6 |
| 20‑29 | 12 |
| 30‑39 | 8 |
| 40‑49 | 5 |
Midpoints: 4.5, 14.5, 24.5, 34.5, 44.5.
Compute f·x:
- 4 × 4.5 = 18
- 6 × 14.5 = 87
- 12 × 24.5 = 294
- 8 × 34.5 = 276
- 5 × 44.5 = 222.5
Σ(f·x) = 18 + 87 + 294 + 276 + 222.5 = 897.5
Total frequency Σf = 4 + 6 + 12 + 8 + 5 = 35
Mean = 897.5 ÷ 35 ≈ 25.6
Finding the Median of Grouped Data
The median is the value that splits the data into two equal halves. With grouped data we locate the median class—the class that contains the middle observation.
- Step 1: Compute the cumulative frequency (add frequencies as you go down the table).
- Step 2: Find N/2, where N is total observations. This tells you the position of the median.
- Step 3: Identify the class where the cumulative frequency first exceeds N/2. That’s the median class.
- Step 4: Use the formula:
Median = L + [(N/2 – CFprev) / f] × w
where L = lower limit of median class, CFprev = cumulative frequency just before median class, f = frequency of median class, w = class width (difference between upper and lower limits).
Worked Example – Median
Using the same table as above, total N = 35, so N/2 = 17.5.
Cumulative frequencies: 4, 10, 22, 30, 35.
The first cumulative frequency exceeding 17.5 is 22, so the median class is 20‑29.
Values: L = 20, CFprev = 10 (cumulative before median class), f = 12, w = 10.
Median = 20 + [(17.5 – 10) / 12] × 10 ≈ 20 + (7.5/12) × 10 ≈ 20 + 6.25 ≈ 26.25.
Finding the Mode of Grouped Data
The mode is the most frequent observation. For grouped data we look for the modal class—the class with the highest frequency.
- Step 1: Spot the class with the largest frequency.
- Step 2: Use the formula:
Mode = L + [(f₁ – f₀) / (2f₁ – f₀ – f₂)] × w
where L = lower limit of modal class, f₁ = frequency of modal class, f₀ = frequency of class before modal class, f₂ = frequency of class after modal class, w = class width.
Worked Example – Mode
From our table, the highest frequency is 12 in the 20‑29 class, so that’s the modal class.
Values: L = 20, f₁ = 12, f₀ = 6 (frequency of 10‑19 class), f₂ = 8 (frequency of 30‑39 class), w = 10.
Mode = 20 + [(12 – 6) / (2·12 – 6 – 8)] × 10 = 20 + [6 / (24 – 14)] × 10 = 20 + [6 / 10] × 10 = 20 + 6 = 26.
Quick Reference Table
| Measure | Key Formula | What You Need |
|---|---|---|
| Mean | Σ(f·x) / Σf | Class mid‑points, frequencies |
| Median | L + [(N/2 – CFprev) / f] × w | Cumulative frequencies, class width |
| Mode | L + [(f₁ – f₀) / (2f₁ – f₀ – f₂)] × w | Frequencies of modal, previous, next classes |
📝 Likely Exam Questions
- Question: A frequency distribution for the number of pages read by students is given below. Find the mean, median and mode.
Answer: Follow the steps shown in the worked examples; the calculations yield Mean ≈ 25.6, Median ≈ 26.3, Mode = 26. - Question: Explain why we use class mid‑points when calculating the mean for grouped data.
Answer: Because the exact values inside a class are unknown, the midpoint serves as a reasonable representative value for every observation in that class. - Question: A class interval has a width of 5. If the cumulative frequency just before the median class is 18 and the median class frequency is 9, find the median when total N = 40.
Answer: N/2 = 20. Using the median formula: L + [(20‑18)/9]×5 = L + (2/9)×5. Substitute the lower limit L to get the numeric median. - Question: Define modal class and write the formula for the mode of grouped data.
Answer: The modal class is the class with the highest frequency. Mode = L + [(f₁‑f₀)/(2f₁‑f₀‑f₂)]×w. - Question: Why can the median of grouped data be a non‑integer even if all original observations are integers?
Answer: Because we estimate the median’s exact position within a class using linear interpolation, which often yields a fractional value.