Calculate the median of the following data.
Class-interval | ||||||||||
Frequency |
Step 1 Creating cumulative frequency table:
Here the classes are in inclusive form (discontinuous). So, we first convert the classes into exclusive forms (continuous).
Prepare a cumulative frequency table as below:
Class Interval | Frequency | Cumulative Frequency () |
Step 2 Calculating the median:
The formula for the median is,
.
Here,
is the lower limit of the median class,
is the number of observations,
is the cumulative frequency of the class preceding the median class,
is the frequency of the median class, and
is the class size
Here
The observation lies in the class .
So, we have
Hence, the median is .