Question
Question: The following table shows ages of \(300\) patients getting medical treatment in a hospital on a part...
The following table shows ages of 300 patients getting medical treatment in a hospital on a particular day. Find the median age of patients.
Age (in words) | 10−20 | 20−30 | 30−40 | 40−50 | 50−60 | 60−70 |
---|---|---|---|---|---|---|
No. of patients | 60 | 42 | 55 | 70 | 53 | 20 |
Solution
From the question, we have to find the median of the given data by data handling. First, we have to complete the frequency table. Then, from the table we get the required terms and substitute in the median formula.
Data handling is an art. Sometimes the raw data (data as they are) will not be useful to get the required information. In order to get proper useful information, we have to process very important useful information from the given data.
Formula used: When the given data are arranged in ascending or descending order, we can find a value which is centrally located in the arranged order. This central value or the middle most value is called the median of the data.
When the data are arranged in the form of a frequency table, we proceed to find the median as follows:
First, form the cumulative frequency column and then find the value of 2N where N is the total frequency. Then we locate the class interval or the value of the variate in the table for which the cumulative frequency is either equal to 2N or just greater than 2N. This is the median class of this distribution. The value of the variable in the table corresponding to the median class is the median of the give data. Then the median formula is given by
Median =L+fm(2N−cf)×c
Where, L – lower boundary of the median class
N– The total frequency
(cf) – The Cumulative frequency
fm- The frequency of the median class.
Complete step-by-step solution:
Now, consider the following table to calculate the median:
ci | fi | Cumulative frequency (cf) |
---|---|---|
10−20 | 60 | 60 |
20−30 | 42 | 60+42=102 |
30−40 | 55 | 102+55=157 |
40−50 | 70 | 157+70=227 |
50−60 | 53 | 227+53=280 |
60−70 | 20 | 280+20=300 |
Now, we are going to find the median from the above following table:
Here the class interval is 10.
Let N be the total frequency then N=∑fi
So, now we are going to add the frequency column from the table, then we get the total frequency N
From the table, we got the total frequency is 300 ⇒N=300
Let the median class from the given data be 30−40
Then the frequency of the above median class (30−40), fm=55
The lower boundary of the median class (30−40), L=30
The previous cumulative frequency of median class (30−40), cf=102
Now, we are going to apply the above terms into the median formula.
Median =L+fm(2N−cf)×c
Substituting values,
⇒Median =30+55(2300−102)×10
Simplifying we get,
⇒Median =30+55(2300−204)×10
Hence,
⇒Median =30+55(296)×10
On subtracting and diving, we get
⇒Median =30+55(48)×10
Dividing the terms,
⇒Median =30+11(48)×2
Multiplying the terms,
⇒Median =30+1196
Now, taking the Least Common Multiple (LCM) to get the required result.
⇒Median =1×1130×11+1196
Multiplying the terms,
⇒Median =11330+96
Hence,
⇒Median =11426=38.727
∴ The median =38.73
Note: We have to know that, the median is the middle number in a sorted, ascending or descending, list of numbers and can be more descriptive of that data set than the average. The median is sometimes used as opposed to the mean when there are outliers in the sequence that might skew the average of the values.