The following table shows the ages of the patients admitted in a hospital during a year:
Age (in years) | \[5-15\] | \[15-25\] | \[25-35\] | \[35-45\] | \[45-55\] | \[55-65\] |
Number of patients | \[6\] | \[11\] | \[21\] | \[23\] | \[14\] | \[5\] |
Find the mode and the mean of the data given above. Compare and interpret the two measures of central tendency.
Show solutionHide solution
Ans: The mean can be found as given below:
$\overline{X}=a+\left( \frac{\sum{{{f}_{i}}{{u}_{i}}}}{\sum{{{f}_{i}}}} \right)$
Suppose the assured mean $\left( a \right)$ of the data is \[30\].
Class mark \[\left( {{x}_{i}} \right)\] for each interval is calculated as follows:
\[{{x}_{i}}=\frac{\text{Upper class limit+Lower class limit}}{2}\]
\[{{d}_{i}},\]\[{{u}_{i}},\]and \[{{f}_{i}}{{u}_{i}}\] can be evaluated as follows:
Age (in years) | Number of Patients | Class Mark | ${{d}_{i}}={{x}_{i}}-30$ | \[{{f}_{i}}{{d}_{i}}\] |
\[5-15\] | \[6\] | \[10\] | \[-20\] | \[-120\] |
\[15-25\] | \[11\] | \[20\] | \[-10\] | \[-110\] |
\[25-35\] | \[21\] | \[30\] | \[0~\] | \[0~\] |
\[35-45\] | \[23\] | \[40\] | \[10~\] | \[230\] |
\[45-55\] | \[14\] | \[50\] | \[20\] | \[280\] |
\[55-65\] | \[5\] | \[60\] | \[30\] | \[150\] |
Total | \[80\] | \[430\] |
It can be observed that from the above table
\[\sum{{{f}_{i}}=80}\]
$\sum{{{f}_{i}}{{d}_{i}}}=430$
Substituting the value of \[{{u}_{i}},\] and \[{{f}_{i}}{{u}_{i}}\] in the formula of mean we get:
The required mean:
$ \overline{X}=a+\left( \frac{\sum{{{f}_{i}}{{u}_{i}}}}{\sum{{{f}_{i}}}} \right) $
$ \overline{X}=30+\left( \frac{430}{80} \right) $
$ \overline{X}=30+5.375 $
$ \overline{X}=35.38 $
Hence, the mean of this data is $35.38$. It demonstrates that the average age of a patient admitted to hospital was $35.38$years.
Mode can be calculated as,
$M=l+\left( \frac{{{f}_{1}}-{{f}_{0}}}{2{{f}_{1}}-{{f}_{0}}-{{f}_{2}}} \right)\times h$
Where
\[l=\] Lower limit of modal class
${{\text{f}}_{1}}=$ Frequency of modal class
\[{{f}_{0}}=\] Frequency of class preceding the modal class
\[{{f}_{2}}=\] Frequency of class succeeding the modal class
\[h=\]Class size
It can be noticed that the maximum class frequency is \[23\] belonging to class interval\[35\text{ }-\text{ }45\] .
Modal class \[=35\text{ }-\text{ }45\]
The values of unknowns is given as below as per given data:
\[l=\text{ }35\]
\[{{f}_{1}}=\text{ }23\]
\[h=15-5=10\]
\[{{f}_{0}}=\text{ }21\]
\[{{f}_{2}}=\text{ }14\]
Substituting these values in the formula of mode we get:
$ M=l+\left( \frac{{{f}_{1}}-{{f}_{0}}}{2{{f}_{1}}-{{f}_{0}}-{{f}_{2}}} \right)\times h $
$ M=35+\left( \frac{23-21}{2(23)-21-14} \right)\times 10 $
$ M=35+\left[ \frac{2}{46-35} \right]\times 10 $
$ M=35+\frac{20}{11} $
$ \text{M=35+1}\text{.81} $
$ \text{M=36}\text{.8} $
Hence, the Mode of the data is $36.8$. It demonstrates that the age of maximum number of patients admitted in hospital was $36.8$years.