What we are solvingAptitude scores of
70 workers are grouped in classes of unequal width
(a) find the median score; (b) draw a histogram and estimate the mode from it
Chapter: Descriptive statistics
Topic: median and mode of grouped data, histograms
Concept and formulasThe scores are given to 1 d.p., so the class boundaries lie
0.05 either side (e.g.
2.5−2.6 becomes
2.45−2.65)
Median=L+(fm2N−Fb)cL = lower boundary of the median class,
Fb = cumulative frequency before it,
fm = its frequency,
c = its width
With unequal widths the bar height must be the frequency density
frequency density=class widthfrequency(a) (5 marks)| Class boundaries | f | Cum. f | Width | Freq. density |
| 2.45−2.65 | 6 | 6 | 0.2 | 30 |
| 2.65−3.25 | 18 | 24 | 0.6 | 30 |
| 3.25−3.55 | 20 | 44 | 0.3 | 66.7 |
| 3.55−3.75 | 4 | 48 | 0.2 | 20 |
| 3.75−4.15 | 12 | 60 | 0.4 | 30 |
| 4.15−4.55 | 10 | 70 | 0.4 | 25 |
Half the total:
270=35; the 35th score lies in
3.25−3.55 (cum.
f goes from 24 to 44)
Median=3.25+(2035−24)×0.3=3.25+0.165=3.415(b) (7 marks)Plot frequency density against score with the bars on the class boundaries
The tallest bar (
3.25−3.55) is the modal class
Join the top-left corner of the modal bar to the top-left corner of the next bar, and the top-right corner of the modal bar to the top-right corner of the bar before it
Drop a vertical line from where these lines cross; it meets the score axis at the mode
Check by calculation:
d1=66.7−30=36.7,
d2=66.7−20=46.7Mode=3.25+36.7+46.736.7×0.3=3.25+0.132=3.382Answer: (a) median
≈3.42 (b) mode
≈3.38Tip: Bars of unequal width must use frequency density, or the wide class
2.65−3.25 looks falsely large