Please tell me where I make mistake?
to calculate the median and interquartile range for the salaries.(this question from Q&A bank part 5 ,Question no. 5.8)
Date
annual salaries number
male female total
under 10000 6 14 20
10001-25000 25 25 50
25001-50000 15 10 25
over 50000 4 1 5
For cumulative frequency
cumulative frequency
upto 10000 20
upto 25000 70
upto 50000 95
over 50000 100
Now here n=100 (even) ,so for median we use
(n+1)/2th observation=101/2=50.5 which lies 10001-25000 range
by interpolation
Median =10000 +(50.5-20)(25000-10000)/(70-20)=19150
Similarly,for lower quartile, we use
(n+2)/4th observation=102/4=25.5(which lies 10001-25000)
lower quartile=10000+(25.5-20)(25000-10000)/(70-20)=11650
upper quartile=25000+(75.5-70)(50000-25000)/(95-70)=29500
interquartile range =29500-11650=17850
NOTE: in solution ,why we take 50th observation for median ,25th observation for lower quartile,75th observation for upper quartile.
Last edited by a moderator: Mar 12, 2008