Median of grouped data by the formula (in brief; an extra beyond the lesson)
Census reports give the median age of a district's people from age groups, using this formula, because they cannot list every person's exact age.
Find the median class (where the cf first reaches N/2), then use Median = l + ((N/2 − cf)/f) × h.
Key facts
FormulaMedian = l + ((N/2 − cf)/f) × h
lLower limit of the median class
cf and fcf: cumulative frequency of the class before the median class; f: frequency of the median class
hClass size
Steps
- 1Make the cumulative frequency column and find N.
- 2Work out N/2.
- 3The median class is the first class whose cf is equal to or greater than N/2.
- 4Note l, h, f of the median class and cf of the class before it.
- 5Substitute in Median = l + ((N/2 − cf)/f) × h.
Example 1: median of a grouped table
Problem
Find the median: classes 0-10, 10-20, 20-30, 30-40, 40-50 with frequencies 5, 9, 15, 13, 8.
Working
- cf: 5, 14, 29, 42, 50. N = 50, N/2 = 25.
- The first cf reaching 25 is 29, so the median class is 20-30.
- l = 20, cf = 14, f = 15, h = 10.
- Median = 20 + ((25 − 14)/15) × 10 = 20 + (11/15) × 10.
- = 20 + 7.33 = 27.33.
Answer
Median ≈ 27.33.
Example 2: daily wages
Problem
Daily wages (₹): 100-150, 150-200, 200-250, 250-300, 300-350 with numbers of workers 4, 10, 16, 12, 8. Find the median wage.
Working
- cf: 4, 14, 30, 42, 50. N = 50, N/2 = 25.
- Median class 200-250: l = 200, cf = 14, f = 16, h = 50.
- Median = 200 + ((25 − 14)/16) × 50 = 200 + (11/16) × 50.
- = 200 + 34.375 = 234.375.
Answer
Median wage ≈ ₹ 234.38.
Lower limit, plus the share of the class you still need: l + ((N/2 − cf)/f) × h.