(i) The cumulative frequencies are 7, 16, 19, 21, 27, 30, so N=30. As N is even, the median is the mean of the 15th and 16th observations. The 8th to the 16th observations are all 2, so both are 2:
M=22+2=2
The median is 2 rooms. (1 mark)
(ii)
∑fixi=7+18+9+8+30+18=90
xˉ=3090=3
The mean is 3 rooms. (1 mark)
(iii)
| xi | fi | ∣xi−2∣ | fi∣xi−2∣ | ∣xi−3∣ | fi∣xi−3∣ |
|---|
| 1 | 7 | 1 | 7 | 2 | 14 |
| 2 | 9 | 0 | 0 | 1 | 9 |
| 3 | 3 | 1 | 3 | 0 | 0 |
| 4 | 2 | 2 | 4 | 1 | 2 |
| 5 | 6 | 3 | 18 | 2 | 12 |
| 6 | 3 | 4 | 12 | 3 | 9 |
| Total | 30 | | 44 | | 46 |
M.D.(M)=3044=1522≈1.47
M.D.(xˉ)=3046=1523≈1.53
The mean deviation about the median, 1522 rooms, is the smaller of the two, as expected: the sum of absolute deviations is least when measured from the median. (2 marks)