Calculate the median salary of the following data giving salaries of 280 persons:
Salary (in thousands)5−1010−1515−2020−2525−3030−3535−4040−4545−50Number of persons49133631567421
Salary (in thousands)FrequencyCumulative Frequency (CF)5−10494910−1513318215−206324520−251526025−30626630−35727335−40427740−45227945−501280
n2=2802=140
The cumulative frequency which is greater than and nearest to 140 is 182.
Median class =10–15
We also have,
l (lower limit of median class) =10
h (class size) =5
n (number of observations) =280
cf= (cumulative frequency of the class preceding the median class) =49
f (frequency of median class) =133
Median for grouped data is given by the formula :
Median =l+n2−cff×h
where ′f′is frequency of median class and ′cf′ is cumulative frequency of previous class.
Median =10+140−49133×5
=10+91133×5
=Rs. 13.42.