Formula
Median of a grouped frequency distribution
Statistics • Median
Formula
For a continuous frequency distribution with total frequency , the median class is the first class whose cumulative frequency reaches . If that class has lower boundary , width and frequency , and is the cumulative frequency of all classes before it, then .
How to use it
- 1Write the cumulative frequency column first; the median class and both come from it.
- 2Use , not : the formula treats the data as spread evenly through each class.
- 3Check that the answer lies inside the median class; if it does not, or was taken from the wrong row.
Worked example
Classes -, -, -, - have frequencies , , , . Find the median.
Step-by-step
- 1, ; cumulative frequencies
Why: The running total shows where the th value falls.
- 2Median class -: , , ,
Why: The cumulative frequency first reaches in this class.
- 3
Answer
Watch out
The class boundaries must be exclusive (continuous); convert an inclusive table such as -, - first, or is off by half a unit. is the cumulative frequency of the class before the median class, not of the median class itself — taking the wrong one is the usual slip.
Builds on
Also known as
grouped median formula, median by interpolation, median class formula, median of continuous distribution, L + (N/2 - C)/f x h