Statistics
Mean, mode and median of grouped data: the direct, assumed-mean and step-deviation methods, the modal-class and median-class formulas, and which average to trust – with every exercise solved.
Mean
1 topic to learn here
Mean of grouped data
Direct, assumed mean, step deviation.
- 1
For ungrouped data with values xᵢ and frequencies fᵢ the mean is x̄ = Σfᵢxᵢ / Σfᵢ. In Example 1 the exact mean of 30 marks is 1779/30 = 59.3.
- 2
For grouped data, the frequency of a class is assumed to sit at its midpoint, the class mark = (upper limit + lower limit)/2. Using class marks gives an approximate mean (62 against the exact 59.3).
- 3
Direct method: find fᵢxᵢ for each class and use x̄ = Σfᵢxᵢ / Σfᵢ.
- 4
Assumed mean method: choose a class mark a near the middle, let dᵢ = xᵢ − a, and use x̄ = a + Σfᵢdᵢ / Σfᵢ. It works because the mean of the deviations is x̄ − a, and the answer does not depend on which a you pick.
- 5
Step-deviation method: when all the dᵢ share a common factor h (usually the class size), let uᵢ = (xᵢ − a)/h and use x̄ = a + h × Σfᵢuᵢ / Σfᵢ.
- 6
All three methods give the same mean. Use the direct method when numbers are small, the assumed mean or step deviation when xᵢ and fᵢ are large. Step deviation can also be used with unequal class sizes by taking h as a common divisor of the dᵢ.
- 7
Example: marks of 30 students with class size 15, a = 47.5: Σfᵢuᵢ = 29, so x̄ = 47.5 + 15 × 29/30 = 62.
Find the mean of: classes 10–25, 25–40, 40–55, 55–70, 70–85, 85–100 with frequencies 2, 3, 7, 6, 6, 6.
- Class marks 17.5, 32.5, 47.5, 62.5, 77.5, 92.5
- Σfx = 1860, Σf = 30
Answer: x̄ = 62
Class mark of 40–55?
✅ 47.5.
Mode and median
3 topics to learn here
Mode of grouped data
Modal class and the formula.
- 1
The mode is the value that occurs most often. For ungrouped data it is the observation with the highest frequency (wickets 2, 6, 4, 5, 0, 2, 1, 3, 2, 3 have mode 2).
- 2
In grouped data we first find the modal class: the class with the maximum frequency. The mode lies inside it.
- 3
Mode = l + [ (f₁ − f₀) / (2f₁ − f₀ − f₂) ] × h, where l is the lower limit of the modal class, h the class size (equal classes), f₁ the frequency of the modal class, f₀ the frequency of the class before it and f₂ the frequency of the class after it.
- 4
Example: family sizes 1–3, 3–5, 5–7, 7–9, 9–11 with frequencies 7, 8, 2, 2, 1. Modal class 3–5, l = 3, h = 2, f₁ = 8, f₀ = 7, f₂ = 2, so mode = 3 + (1/7) × 2 = 3.286.
- 5
Example: marks 40–55 with frequency 7 between 3 and 6: mode = 40 + (4/5) × 15 = 52, against a mean of 62. The mode says most students got about 52 marks; the mean says the average student got 62.
- 6
Make the classes continuous (no gaps) before using the formula.
🧠 Memory trickRemember the three neighbours: before (f₀), modal (f₁), after (f₂). The mode moves towards the larger neighbour.
Which class do we use for the mode?
✅ The modal class (highest frequency).
Median of grouped data
Cumulative frequency and the formula.
- 1
For ungrouped data arrange the values in order. With an odd count n, the middle value is observation number (n + 1)/2; with an even n, average observation n/2 and observation n/2 + 1.
- 2
Cumulative frequency (cf) of a class is the sum of the frequencies of that class and all earlier classes (a ‘less than’ table). You can also build a ‘more than’ table by subtracting from the total.
- 3
Step 1: compute n/2. Step 2: the median class is the first class whose cumulative frequency is greater than n/2.
- 4
Median = l + [ (n/2 − cf) / f ] × h, where l is the lower limit of the median class, n the total frequency, cf the cumulative frequency of the class before the median class, f the frequency of the median class and h the class size.
- 5
Example: 53 students, n/2 = 26.5, median class 60–70 (cf up to the previous class 22, f = 7): median = 60 + (4.5/7) × 10 = 66.4.
- 6
If only a ‘less than’ table is given, subtract consecutive cumulative frequencies to get each class frequency. In Example 7, heights give n = 51, median class 145–150, median = 145 + (14.5/18) × 5 = 149.03 cm.
- 7
Missing frequencies: use the total and the median in two equations to solve for x and y (Example 8: x = 9, y = 15).
- 8
If the classes are not continuous (118–126, 127–135, …), first convert them by subtracting half the gap from each lower limit and adding it to each upper limit (117.5–126.5, 126.5–135.5, …).
💡 UnderstandGovernments quote the median income because a few very rich people would pull the mean far above what a typical person earns.
n = 40: which cumulative frequency decides the median class?
✅ The first cf greater than 20.
Which average should you use?
Which average to trust.
- 1
Mean: uses every observation and lets you compare two groups, but extreme values pull it up or down.
- 2
Median: better when there are extreme values and you want a typical middle value, such as the usual wage in a country.
- 3
Mode: best for the most common or most popular item, such as the most-watched programme or the commonest shoe size.
- 4
Empirical relationship: 3 × Median = Mode + 2 × Mean. For the electricity data the mean (137.06), median (137) and mode (135.77) are almost the same, which checks out.
3 Median = Mode + ? × Mean
✅ 2.
🔤 Key words
Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.
- Class markवर्ग चिह्न
(upper limit + lower limit) ÷ 2, the midpoint of a class.
- Direct methodप्रत्यक्ष विधि
x̄ = Σfᵢxᵢ / Σfᵢ
- Assumed meanकल्पित माध्य विधि
x̄ = a + Σfᵢdᵢ / Σfᵢ, with dᵢ = xᵢ − a.
- Step deviationपद विचलन विधि
x̄ = a + h × Σfᵢuᵢ / Σfᵢ, with uᵢ = (xᵢ − a)/h.
- Modal classबहुलक वर्ग
The class with the highest frequency.
- Cumulative frequencyसंचयी बारंबारता
Running total of frequencies up to a class.
- Median classमाध्यक वर्ग
The class whose cumulative frequency first exceeds n/2.
🛂 One-look revision
One card per idea. Read the key point, then try to recall the whole topic.
- Class mark(upper + lower)/210–25 → 17.5
- Direct meanΣfx / Σf1860/30 = 62
- Assumed meana + Σfd / Σf47.5 + 14.5
- Step deviationa + h × Σfu / Σf47.5 + 15 × 29/30
- Modal classHighest frequency3–5 with f = 8
- Model + (f₁−f₀)/(2f₁−f₀−f₂) × h3.286
- Median classFirst class with cf > n/260–70
- Medianl + (n/2 − cf)/f × h66.4
- Relation3 Median = Mode + 2 MeanCheck large data
❔ Questions and answers
Tap a question to see the answer. Try answering in your head first.