Statistics: Step-by-Step Worked Examples (4)

easy 3 min read

Question

The marks of 50 students in a test are given by the frequency distribution below. Find the mean, median, and mode.

Marks0–1010–2020–3030–4040–50
Frequency51218105

CBSE 2024 boards 5-mark question.

Solution — Step by Step

Take assumed mean A=25A = 25 (midpoint of the modal class). Class size h=10h = 10. Compute deviations di=(xiA)/hd_i = (x_i - A)/h where xix_i is the class midpoint.

xix_i515253545
did_i-2-1012
fif_i51218105
fidif_i d_i-10-1201010

fidi=1012+0+10+10=2\sum f_i d_i = -10 - 12 + 0 + 10 + 10 = -2. fi=50\sum f_i = 50.

xˉ=A+hfidifi=25+10250=250.4=24.6\bar{x} = A + h \cdot \frac{\sum f_i d_i}{\sum f_i} = 25 + 10 \cdot \frac{-2}{50} = 25 - 0.4 = 24.6

Cumulative frequencies: 5, 17, 35, 45, 50. N/2=25N/2 = 25. The class containing the 25th item is 20–30 (cf reaches 35 here). So median class is 20–30, with L=20L = 20, cf=17cf = 17 (cf before median class), f=18f = 18, h=10h = 10.

Median=L+N/2cffh=20+25171810=20+801824.44\text{Median} = L + \frac{N/2 - cf}{f} \cdot h = 20 + \frac{25 - 17}{18} \cdot 10 = 20 + \frac{80}{18} \approx 24.44

Modal class is the one with highest frequency: 20–30 (frequency 18). Here L=20L = 20, f1=18f_1 = 18, f0=12f_0 = 12 (previous class), f2=10f_2 = 10 (next class), h=10h = 10.

Mode=L+f1f02f1f0f2h=20+181236121010=20+601424.29\text{Mode} = L + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \cdot h = 20 + \frac{18 - 12}{36 - 12 - 10} \cdot 10 = 20 + \frac{60}{14} \approx 24.29

Final answers: Mean 24.6\approx 24.6, Median 24.44\approx 24.44, Mode 24.29\approx 24.29.

Why This Works

For grouped data, we cannot find exact mean/median/mode — we estimate using class midpoints (for mean) and linear interpolation within the relevant class (for median and mode). The formulas come from assuming uniform distribution within each class.

For roughly symmetric distributions, mean ≈ median ≈ mode, which is what we observe here. For skewed distributions, the relationship is mode = 3·median − 2·mean (the empirical Pearson formula).

Alternative Method

Direct mean calculation: xˉ=fixifi=55+1215+1825+1035+54550=25+180+450+350+22550=123050=24.6\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i} = \dfrac{5 \cdot 5 + 12 \cdot 15 + 18 \cdot 25 + 10 \cdot 35 + 5 \cdot 45}{50} = \dfrac{25 + 180 + 450 + 350 + 225}{50} = \dfrac{1230}{50} = 24.6. Same answer, more arithmetic.

In the median formula, cfcf refers to the cumulative frequency of the class just before the median class — not including the median class itself. Confusing this with cumulative frequency including the median class is the most common error.

For CBSE Class 10 boards, this exact pattern (frequency table with 5 classes, find mean/median/mode) appears almost every year. Practice the assumed mean shortcut — it cuts arithmetic by 70%.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next