Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Calculate the median for the following data:

Age (in years)19-2526-3233-3940-4647-5354-60
Frequency359668102344


Answer
VerifiedVerified
548.4k+ views
Hint: Here in this question, we have to find the median. The question is related to the statistics topic. The median is the middle value of the sorted elements. Here we use formula $ M = l + \left\{ {h \times \left( {\dfrac{{\dfrac{N}{2} - cf}}{f}} \right)} \right\} $ where l is the class interval, h is difference of class intervals, N is the total number of frequency, cf is the cumulative frequency and f is the frequency of particular class interval.

Complete step-by-step answer:
Now we convert the given data into exclusive form so we have,

Class-intervalfrequency(f)Cumulative frequency(cf)
18.5-25.53535
25.5-32.596131
32.5-39.568199
39.5-46.5102301
46.5-53.534336
53.5-60.54340
$ N = \sum = 340 $


The total of frequency is 340 and now we will find the mid value so we divide the N by 2 so we have
Therefore, we have
 $ \Rightarrow \dfrac{N}{2} = \dfrac{{340}}{2} = 170 $
We got the value 170. so, we have to choose the class interval frequency by considering the cumulative frequency. We have to look into the cumulative frequency column and notice that value greater than 170. So 199 is the greater number than the 170.
Now consider the class interval 32.5-39.5 and the frequency 68
Apply the formula to find the median
 $ M = l + \left\{ {h \times \left( {\dfrac{{\dfrac{N}{2} - cf}}{f}} \right)} \right\} $
Here the lower value of the class interval 32.5-39.5 is 32.5. Therefore $ l = 32.5 $
The difference between the class interval is 7, therefore $ h = 7 $
Here we consider the cumulative frequency value of previous class
Therefore, by applying the values to the formula we have
 $
  M = l + \left\{ {h \times \left( {\dfrac{{\dfrac{N}{2} - cf}}{f}} \right)} \right\} \\
   \Rightarrow M = 32.5 + \left\{ {7 \times \left( {\dfrac{{\dfrac{{340}}{2} - 131}}{{68}}} \right)} \right\} \;
  $
On simplification we have
 $
   \Rightarrow M = 32.5 + \left\{ {7 \times \left( {\dfrac{{170 - 131}}{{68}}} \right)} \right\} \\
   \Rightarrow M = 32.5 + \left\{ {7 \times \dfrac{{39}}{{68}}} \right\} \\
   \Rightarrow M = 32.5 + 4.01 \\
   \Rightarrow M = 36.51 \;
  $
Therefore, the median for the given following data is $ M = 36.51 $
So, the correct answer is “ $ M = 36.51 $ ”.

Note: The median is the mid value of the given data. To calculate the median, we have a formula $ M = l + \left\{ {h \times \left( {\dfrac{{\dfrac{N}{2} - cf}}{f}} \right)} \right\} $ , by substituting the values we can obtain the Required solution or median for the given following data. Here cumulative frequency is calculated by adding upon the above frequencies.