The median of the following data is . Find the values of and if the total frequency is .
Class-Interval | ||||||
Frequency |
Step 1 Creating cumulative frequency table:
First, prepare a cumulative frequency table as below:
Class-Interval | Frequency | Cumulative Frequency () |
Since it is given that the total frequency is ,
Step 2 Find the value of and :
Given: , which lies between class .
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
Substitute the value of in .
Hence, the value of and is and respectively.