Statistics — Mean, Median, and Mode of Grouped Data
For grouped data, we don’t know individual values — only how many fall in each class interval. The mean, median, and mode all have specific formulas to handle this.
1. Mean — Direct, Assumed Mean, and Step-Deviation Methods
xᵢ is the midpoint (class mark) of each class interval.
Σf = 50. Σfx = 25+120+375+560+270 = 1350.
Mean = 1350/50 = 27
2. Median of Grouped Data
l = lower boundary of the median class, cf = cumulative frequency before the median class, f = frequency of the median class, h = class width. The median class is the first class whose cumulative frequency is ≥ n/2.
The median class is 20-30 (first cf ≥ 30, with cf=33). l=20, cf=15, f=18, h=10.
Median = 20 + [(30−15)/18]×10 = 20 + 8.33 = 28.33
3. Mode of Grouped Data
l = lower boundary of the modal class (the class with the highest frequency), f₁ = frequency of the modal class, f₀ = frequency of the class before it, f₂ = frequency of the class after it.
Mode = 20 + [(18−10)/(36−10−12)]×10 = 20 + 5.71 = 25.71
- Using the frequency of the median/modal class as “n” in the formula — n is the total of all frequencies, not just one class’s.
- Picking the wrong median class — it’s the first class where the cumulative frequency reaches or exceeds n/2, not the class containing n/2 itself as a raw frequency.
- Forgetting bimodal data (two equally highest frequencies) is avoided in this syllabus — such datasets won’t appear in this topic’s problems.
Key Vocabulary Recap
Syllabus Reference
Practice questions
Statistics — Practice
Covers: mean (direct, assumed mean, step-deviation), median, and mode of grouped data. 10 questions.
Find the mean of the following data using the direct method: classes 0-10, 10-20, 20-30, 30-40, 40-50 with frequencies 5, 8, 15, 16, 6.
Using the same data as Q1, verify your answer using the assumed mean method (assumed mean = 25).
Find the median of the grouped data: classes 0-10 to 50-60 with frequencies 5, 10, 18, 12, 9, 6.
Find the mode of the data given in Q3.
Find the mean using the step-deviation method for classes 10-20 to 60-70 with frequencies 8, 6, 12, 11, 9, 4 (assumed mean = 45).
Explain what “bimodal” data means, and why it is avoided in this syllabus.
State the formula for the mean using the direct method, and identify what fᵢ and xᵢ represent.
A survey of 50 students’ heights (in cm) gives classes 150-155, 155-160, 160-165, 165-170, 170-175, 175-180 with frequencies 4, 7, 15, 12, 8, 4. Find the modal class and the mean height.
Explain the difference between mean, median, and mode as measures of central tendency.
Find the mean of the first 10 natural numbers.
More Practice
Lifetimes (hours) of 225 electrical components are grouped into classes 0-20,20-40,40-60,60-80,80-100,100-120 with frequencies 10,35,52,61,38,29. Find the modal lifetime.
Find the mean of the lifetime data in Q11, using the direct method.
The median of a distribution is 525, with total frequency 100. Given classes 0-100 to 900-1000 with frequencies 2,5,x,12,17,20,y,9,7,4 (in order), find x and y.
Find the mean using the assumed mean method for classes 0-20,20-40,40-60,60-80,80-100 with frequencies 6,8,10,4,2 (assumed mean = 50).
If the mean of the data — classes 0-10,10-20,20-30,30-40,40-50 with frequencies 7,f,8,10,5 — is 25, find the missing frequency f.
Find the mode of the data: classes 25-30,30-35,35-40,40-45,45-50,50-55 with frequencies 25,34,50,42,38,14.
Ages of patients admitted to a hospital: classes 5-15,15-25,25-35,35-45,45-55,55-65 with frequencies 6,11,21,23,14,5. Find the mode.
Find the median for the data in Q17.
Find the mean for the data in Q17 using the direct method.
Explain, using algebra, why the assumed mean method always gives the same result as the direct method.
Worked solutions
Show worked solutions
Statistics — Practice: Solutions
Mean by direct method.
Verify via assumed mean method (A=25).
Median, freqs 5,10,18,12,9,6.
Mode of same data.
Step-deviation mean, A=45,h=10.
Explain bimodal data.
State the direct-method mean formula.
Heights survey, find modal class and mean.
Difference between mean, median, mode.
Mean of first 10 natural numbers.
More Practice — Solutions
Modal lifetime, freqs 10,35,52,61,38,29.
Mean of lifetime data.
Median 525, n=100. Find x, y.
Assumed mean A=50, freqs 6,8,10,4,2.
Mean=25, freqs 7,f,8,10,5. Find f.
Mode, freqs 25,34,50,42,38,14.
Ages mode, freqs 6,11,21,23,14,5.
Median for same ages data (n=80).
Mean for same ages data, direct method.
Why does assumed mean = direct method?
Book a free trial class
Tell us a little about your requirement.