Statistics
🔒 Log in to trackMedian and mode of grouped data
🔒 Log in to trackGrouped data comes as class intervals with frequencies: how many values fall in each band.
The single values are lost, so we estimate averages from the bands. Every method below uses a cumulative frequency column and the midpoint of each class.
Reading a frequency table
A grouped table only says how many values lie in each band, like 20-30 with frequency 10.
Two columns do all the work:
- Midpoint : the middle of the band, -.
- Cumulative frequency (cf): a running total of frequencies down the table.
Tip: Build the cf column once. Median questions, quartile questions and distribution questions all read from it.
Mean by midpoints
Treat every value in a class as if it sat at the midpoint.
Classes 0-10 and 10-20 with frequencies 4 and 6: , , mean .
Watch: Midpoints, not class limits. Using 10 for the class 10-20 (instead of 15) is the classic slip.
Median from the cumulative column
Half the values lie below the median, so find the class whose cumulative frequency first reaches .
is the lower limit of that class, the cumulative frequency before it, its frequency, its width.
Table: classes 0-10, 10-20, 20-30, 30-40, 40-50 with frequencies 4, 6, 10, 8, 2. Then , . The cf column runs 4, 10, 20, 28, 30; the first cf to reach 15 is 20, so the median class is 20-30.
Rule: The median class is where cf crosses , never simply the biggest frequency.
Mode from the tallest bar
The modal class has the highest frequency. Then interpolate inside it:
is the modal class frequency, and the frequencies just before and after.
Same classes with frequencies 5, 8, 12, 6, 3: modal class 20-30, so , , , , :
Tip: Equal neighbours () put the mode exactly at .
A missing frequency from the median
Give the unknown a letter, extend the cf column through it, and apply the median rule.
Classes 10-20, 20-30, 30-40, 40-50 with frequencies 7, 8, , 12 and median 32. Then , must land in 30-40, where :
A missing frequency from the mean
The mean fixes . Let the unknown be and expand both sides.
Classes 0-10, 10-20, 20-30, 30-40, 40-50 with frequencies 5, , 11, 9, 5 and mean 25:
Watch: Keep the midpoint of the missing class in the numerator; students often drop it along with the frequency.
Question types you will see
Each type: how to recognise it, the method step by step, and one question to try.
Median of grouped data
A frequency table with equal class widths; the median is asked.
Total the frequencies to get n.
Build the cf column and find where it crosses .
Read , , , from that class and substitute.
Values spread evenly inside the median class, so we walk in proportion.
Find the median:
| Class | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 4 | 6 | 10 | 8 | 2 |
Show solutionHide solution
, so .
cf: 4, 10, 20, 28, 30. Median class 20-30: , , , .
Median .
25
Mode of grouped data
A frequency table; the most frequent class is obvious and the exact mode is asked.
Spot the class with the highest frequency.
Note its neighbours' frequencies.
Substitute into the mode formula.
The mode sits inside the tallest bar, pulled toward the taller neighbour.
Find the mode:
| Class | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 5 | 8 | 12 | 6 | 3 |
Show solutionHide solution
Modal class 20-30: , , , .
Denominator .
Mode .
24
Missing frequency from the median
One frequency in the table is x or unknown; the median is given.
Write n including the unknown.
Extend the cf column through the unknown class.
Apply the median formula and solve.
The stated median names the class, and the formula turns it into an equation.
The median of the following data is 32. Find x.
| Class | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|
| Frequency | 7 | 8 | x | 12 |
Show solutionHide solution
. Median 32 lies in 30-40: , , .
.
Solving gives .
x = 5
Mean of grouped data
A frequency table (or a midpoints row) is given; the mean is asked.
Write the midpoint of each class.
Multiply midpoint by frequency and total them.
Divide by the total frequency.
Each class acts like its whole mass sitting at its midpoint.
Find the mean:
| Midpoint | 5 | 15 | 25 | 35 |
|---|---|---|---|---|
| Frequency | 4 | 6 | 7 | 3 |
Show solutionHide solution
.
.
Mean .
19.5
Missing frequency from the mean
One frequency is unknown; the mean of the distribution is given.
Compute the known part of and of .
Add the unknown times its midpoint (and once to ).
Set the ratio equal to the mean and solve.
The mean fixes the total, and the unknown appears in it linearly.
The mean of the following distribution is 25. Find f.
| Class | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 5 | f | 11 | 9 | 5 |
Show solutionHide solution
Known ; plus .
.
.
f = 9
Formula sheet
x is the midpoint of each class.
L: lower limit of median class; c: cf before it; f: its frequency; h: width.
f_m: modal class frequency; f_1, f_2: neighbouring frequencies.
Shortcuts that save time
Median, quartiles and 'how many below a value' questions all read the same cumulative column. Write it before touching any formula.
Frequencies 4, 6, 10, 8, 2 for classes 0-10 to 40-50. How many values are below 30?
Show solutionHide solution
cf column: 4, 10, 20, 28, 30.
Values below 30 sit in the first two classes.
.
10
Half of n must fall inside the median class. Glance: the cf before it is below n/2, the cf through it is at or above n/2.
Frequencies 5, 8, 12, 6, 3 for classes 0-10 to 40-50. Which class holds the median?
Show solutionHide solution
, so .
cf runs 5, 13, 25, 31, 34.
17 first crossed in 20-30.
20-30
Mistakes to avoid
Where most students lose marks on this subtopic.
Using class limits instead of midpoints for the mean.
Midpoint of 10-20 is 15.
Picking the class with the highest frequency as the median class.
The median class is where the cumulative frequency crosses n/2.
Taking c as the cumulative frequency of the median class.
c is the cumulative frequency of the class before it.
Mixing widths: classes of 10 used with h = 5.
Read h from the actual class width, including any gap.
Solving a missing-frequency mean without the missing midpoint.
The unknown frequency multiplies its class midpoint in the numerator.
Quick revision
Read this the night before the exam.
Grouped mean , = midpoint.
Median ; median class where cf crosses .
Mode .
cf column first; it answers three question types.
Missing frequency: letter in, solve with the given average.
Check the median class: cf below n/2 before, at or above after.
Practice: 12 questions
Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.
Topic test · 12 questions
Suggested time 11 min · wrong answers go to your mistake notebook automatically.