A student noted the number of cars passing through a spot on a road for 100 periods each of 3 minutes and summarized it in the table given below. Find the mean and median of the following data.
CBSE Class 10 Maths · Statistics
CBSE Class 10 Maths · Statistics
Imagine you have test scores grouped into buckets, like 0–10, 10–20, and so on. To find the average, you pick the middle value of each bucket. Multiply that middle value by how many scores are in the bucket. Add all those up, then divide by the total number of scores. To find the median, you look for the middle score's bucket and use a simple trick to estimate it. Here the average works out to 40.7 and the middle value is 42.
Answer: Mean \(= 40.7\) and Median \(= 42\).
For a grouped frequency distribution, we cannot use exact values, so we use class marks (midpoints) to estimate the mean. The class mark is the average of the lower and upper class limits. The mean is found using the direct method by multiplying each class mark by its frequency, summing, and dividing by the total frequency. The median for grouped data is found by first locating the median class (the class where the cumulative frequency first reaches or exceeds \(N/2\)) and then using the median formula. This gives an estimate of the middle value of the data.
Mean: \(\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i}\). Median: \(\text{Median} = l + \left(\dfrac{\dfrac{N}{2} - cf}{f}\right) \times h\), where \(l\) is the lower limit of the median class, \(N\) is the total frequency, \(cf\) is the cumulative frequency before the median class, \(f\) is the frequency of the median class and \(h\) is the class width.
Mean \(= 40.7\) and Median \(= 42\).
A very common mistake is choosing the median class by simply picking the class with the highest frequency (which gives the mode class). The median class is the one whose cumulative frequency first crosses \(N/2\), not the one with maximum frequency.
Mean \(= 40.7\) and Median \(= 42\).
One common mistake: Students often use the cumulative frequency of the median class itself (66) instead of the cumulative frequency of the class just before it (46) when substituting into the median formula, which leads to an incorrect result.
Answer: Mean \(= 40.7\) and Median \(= 42\).
Question: A hospital recorded the number of patients visiting an outpatient department during 90 time slots, each of 30 minutes, and summarised the data in the table below. Find the mean and median number of patients per slot.
Number of patients | Number of slots 0 – 10 | 5 10 – 20 | 14 20 – 30 | 28 30 – 40 | 22 40 – 50 | 15 50 – 60 | 6
Solution: Step 1 — Set up the table with mid-values \(x_i\), frequencies \(f_i\), and step deviations \(u_i\).
Let the assumed mean be \(a = 30\) (mid-value of the class 25–35 is not available; we use \(a = 30\) which is the boundary, but more naturally we take the mid-value of a central class). Actually the mid-value of 20–30 is 25 and of 30–40 is 35. Let us take \(a = 25\) (mid-value of 20–30, roughly central).
Class width: \(h = 10\).
Mid-values: \(x_1 = 5,\; x_2 = 15,\; x_3 = 25,\; x_4 = 35,\; x_5 = 45,\; x_6 = 55\).
Step deviations \(u_i = \frac{x_i - 25}{10}\): \(u_1 = -2,\; u_2 = -1,\; u_3 = 0,\; u_4 = 1,\; u_5 = 2,\; u_6 = 3\).
Products \(f_i u_i\): \(f_1 u_1 = 5 \times (-2) = -10\) \(f_2 u_2 = 14 \times (-1) = -14\) \(f_3 u_3 = 28 \times 0 = 0\) \(f_4 u_4 = 22 \times 1 = 22\) \(f_5 u_5 = 15 \times 2 = 30\) \(f_6 u_6 = 6 \times 3 = 18\)
Sums: \[\sum f_i = 5 + 14 + 28 + 22 + 15 + 6 = 90\] \[\sum f_i u_i = -10 + (-14) + 0 + 22 + 30 + 18 = 46\]
Step 2 — Calculate the Mean. \[\bar{x} = 25 + \frac{46}{90} \times 10 = 25 + \frac{460}{90} = 25 + 5.11\]
So the mean is approximately \(30.11\) patients per slot.
Step 3 — Find cumulative frequencies for the Median.
Class 0–10: cf = 5
Class 10–20: cf = 5 + 14 = 19
Class 20–30: cf = 19 + 28 = 47
Class 30–40: cf = 47 + 22 = 69
Class 40–50: cf = 69 + 15 = 84
Class 50–60: cf = 84 + 6 = 90
Step 4 — Identify the median class. \[\frac{n}{2} = \frac{90}{2} = 45\]
The cumulative frequency first exceeds 45 in the class 20–30 (cf = 47). So the median class is 20–30.
Here: \(l = 20,\; f = 28,\; cf = 19,\; h = 10\).
Step 5 — Calculate the Median. \[M = 20 + \left(\frac{45 - 19}{28}\right) \times 10 = 20 + \frac{26}{28} \times 10 = 20 + \frac{260}{28}\] \[M = 20 + 9.29 \approx 29.29\]
Answer: Mean \(\approx 30.11\) patients per slot; Median \(\approx 29.29\) patients per slot.
Question: A librarian recorded the number of books borrowed by members during 120 visits to the library and summarised the data as follows. Find the mean and median number of books borrowed per visit.
Number of books borrowed | Number of visits 0 – 5 | 8 5 – 10 | 20 10 – 15 | 35 15 – 20 | 30 20 – 25 | 18 25 – 30 | 9
Solution: Step 1 — Set up the table.
Let assumed mean \(a = 12.5\) (mid-value of class 10–15, which is central). Class width \(h = 5\).
Mid-values: \(x_1 = 2.5,\; x_2 = 7.5,\; x_3 = 12.5,\; x_4 = 17.5,\; x_5 = 22.5,\; x_6 = 27.5\).
Step deviations \(u_i = \frac{x_i - 12.5}{5}\): \(u_1 = -2,\; u_2 = -1,\; u_3 = 0,\; u_4 = 1,\; u_5 = 2,\; u_6 = 3\).
Products \(f_i u_i\): \(f_1 u_1 = 8 \times (-2) = -16\) \(f_2 u_2 = 20 \times (-1) = -20\) \(f_3 u_3 = 35 \times 0 = 0\) \(f_4 u_4 = 30 \times 1 = 30\) \(f_5 u_5 = 18 \times 2 = 36\) \(f_6 u_6 = 9 \times 3 = 27\)
Sums: \[\sum f_i = 8 + 20 + 35 + 30 + 18 + 9 = 120\] \[\sum f_i u_i = -16 + (-20) + 0 + 30 + 36 + 27 = 57\]
Step 2 — Calculate the Mean. \[\bar{x} = 12.5 + \frac{57}{120} \times 5 = 12.5 + \frac{285}{120} = 12.5 + 2.375 = 14.875\]
So the mean is approximately \(14.88\) books per visit.
Step 3 — Find cumulative frequencies for the Median.
Class 0–5: cf = 8
Class 5–10: cf = 8 + 20 = 28
Class 10–15: cf = 28 + 35 = 63
Class 15–20: cf = 63 + 30 = 93
Class 20–25: cf = 93 + 18 = 111
Class 25–30: cf = 111 + 9 = 120
Step 4 — Identify the median class. \[\frac{n}{2} = \frac{120}{2} = 60\]
The cumulative frequency first exceeds 60 in the class 10–15 (cf = 63). So the median class is 10–15.
Here: \(l = 10,\; f = 35,\; cf = 28,\; h = 5\).
Step 5 — Calculate the Median. \[M = 10 + \left(\frac{60 - 28}{35}\right) \times 5 = 10 + \frac{32}{35} \times 5 = 10 + \frac{160}{35}\] \[M = 10 + 4.57 \approx 14.57\]
Answer: Mean \(\approx 14.88\) books per visit; Median \(\approx 14.57\) books per visit.
Question: A librarian recorded the number of books borrowed from a library each day over 80 days and summarized the data in the table below. Find the Mean and Median of the following data.
Number of books borrowed | Number of days (frequency) 0 – 10 | 4 10 – 20 | 8 20 – 30 | 14 30 – 40 | 22 40 – 50 | 18 50 – 60 | 10 60 – 70 | 4
Answer: Mean \( = 36 \) and Median \( \approx 36.36 \).