Consider the following frequency distribution:
Class: 0–6, 6–12, 12–18, 18–24, 24–30
Frequency: , , 12, 9, 5
If mean and median , then the value is equal to
Solution
Core idea. The median and the mean give two relations between two unknown frequencies.
Concept refresher. For grouped data the median is
where is the lower limit of the median class, the cumulative frequency before it, its frequency and its width.
Picture the situation. The two unknown frequencies belong to the first two classes, and the median lies in the third class. So the cumulative frequency before the median class is exactly the sum of the two unknowns, and the median formula gives that sum. The mean, computed with the mid-values of the classes, then separates the two.
Approach. Use the median formula for the sum of the unknowns, the mean for a second relation, and solve.
Step 1: The median
The median 14 lies in the class 12 to 18, with , and cumulative frequency before it. With , the formula gives , so and .
Step 2: The mean
The mid-values are 3, 9, 15, 21, 27, so the weighted total is
It equals , so .
Step 3: Solve
Subtracting gives , so and , and .
Answer. 4
Sanity check. Check the mean: .
Common wrong answers
- 2: The value 2 is ; the question asks for its square.
Key takeaway
The trap. The mean of grouped data uses the mid-values of the classes.
How toppers think. They get the total frequency from the median before touching the mean.
Remember.
More on Measures of Central Tendency
- A variable X takes values 0, 0, 2, 6, 12, 20, …, n(n - 1) with frequencies ⁿC₀, ⁿC₁, ⁿC₂, ⁿC₃, ⁿC₄, ⁿC₅, ……
- If the mean of the data Class: 5-10, 10-15, 15-20,; 20-25, 25-30, 30-35; Frequency: 2, k, 28, 54, k + 1, 5…
- Marks obtains by all the students of class 12 are presented in a freqency distribution with classes of equal…
- All 13 on Measures of Central Tendency ›