Step 1 — This is a "less than" table, so convert it first
The figures given are already cumulative. To get ordinary frequencies, subtract each row from the one below it.
The question also tells you policies start at age 18, so the first class begins at 18, not at 0.
| Age (in years) | Frequency f | Cumulative frequency |
|---|
| 18 – 20 | 2 | 2 |
| 20 – 25 | 6 − 2 = 4 | 6 |
| 25 – 30 | 24 − 6 = 18 | 24 |
| 30 – 35 | 45 − 24 = 21 | 45 |
| 35 – 40 | 78 − 45 = 33 | 78 |
| 40 – 45 | 89 − 78 = 11 | 89 |
| 45 – 50 | 92 − 89 = 3 | 92 |
| 50 – 55 | 98 − 92 = 6 | 98 |
| 55 – 60 | 100 − 98 = 2 | 100 |
| Total | 100 | |
Step 2 — Locate the median class
n=100⇒2n=50
Reading down the cumulative frequency column: 2,6,24,45,78. The first value to reach 50 is 78, so the median class is 35 – 40.
Step 3 — Apply the formula
l=35,cf=45,f=33,h=5
Median=l+(f2n−cf)×h
=35+(3350−45)×5
=35+335×5=35+3325
=35+0.76
Median age≈35.76 years
What this means
Half the policy holders are younger than about 35.76 years and half are older.
A note on the class widths: the first class 18–20 is only 2 years wide while the rest are 5 years wide. That does not matter here, because h in the formula is the width of the median class alone, which is 35–40, a width of 5.