Ungrouped reminder: for n observations in order, the median is the ((n + 1)/2)th if n is odd, or the average of the (n/2)th and (n/2 + 1)th if n is even. (For 100 marks with cf 6, 26, 50, 78, …, the 50th is 28 and the 51st is 29, so the median is 28.5.)
Grouped: find n/2, then the median class: the first class whose cf is greater than (and nearest to) n/2. Then
Median = l + [(n/2 − cf) / f] × h
l = lower limit of median class, cf = cumulative frequency of the class before it, f = frequency of the median class, h = class size.
53 students: n/2 = 26.5. cf 29 for 60–70 is the first above 26.5, so the median class is 60–70: l = 60, cf = 22, f = 7, h = 10.
Median = 60 + (26.5 − 22)/7 × 10 = 60 + 45/7 ≈ 66.4: about half scored below 66.4 and half above.
Tap the diagram to enlarge it
- First cf above n/2
- cf of previous class
- Median ≈ 66.4