(i) Number of pairs =2+6+10+12+7+3=40.
Total of the sizes =4×2+5×6+6×10+7×12+8×7+9×3=8+30+60+84+56+27=265.
mean=40265=6.625
(ii) With 40 values the median is the average of the 20th and 21st values. Adding the frequencies one after another: 2 (size 4), 8 (size 5), 18 (size 6), 30 (size 7). The 19th to 30th values are all size 7, so the 20th and 21st are both 7, and the median is size 7.
(iii) Values up to size 7 fill positions 1 to 30, and size 8 starts at position 31. Adding size 9 pairs only adds values at the top, so the median stays 7 as long as every middle position is 30 or less.
- With 19 more pairs there are 59 values; the middle one is the 30th, still size 7.
- With 20 more pairs there are 60 values; the middle two are the 30th and 31st, sizes 7 and 8.
So 20 size 9 pairs must be added, and the median becomes
27+8=7.5