A survey was conducted by a group of students as a part of their environment awareness programme, in which they collected the following data regarding the number of plants in 20 houses in a locality. Find the mean number of plants per house.
| Number of plants | 0-2 | 2-4 | 4-6 | 6-8 | 8 - 10 | 10 - 12 | 12 - 14 |
|---|---|---|---|---|---|---|---|
| Number of houses | 1 | 2 | 1 | 5 | 6 | 2 | 3 |
Which method did you use for finding the mean, and why?
Show solutionHide solution
We are given the number of plants in 20 houses, grouped into classes. Since the data is grouped and the class sizes are equal, we use the direct method with class marks.
Why the direct method? The class marks are small numbers and the frequencies are small, so the products \(f_i x_i\) are easy to compute exactly. There is no need for the assumed-mean or step-deviation method, which are only shortcuts to reduce arithmetic.
The class mark of a class is \(x_i=\dfrac{\text{lower limit}+\text{upper limit}}{2}\).
| Class (plants) | Class mark \(x_i\) | Frequency \(f_i\) (houses) | \(f_i x_i\) |
|---|---|---|---|
| 0–2 | 1 | 1 | 1 |
| 2–4 | 3 | 2 | 6 |
| 4–6 | 5 | 1 | 5 |
| 6–8 | 7 | 5 | 35 |
| 8–10 | 9 | 6 | 54 |
| 10–12 | 11 | 2 | 22 |
| 12–14 | 13 | 3 | 39 |
| Total | \(\sum f_i=20\) | \(\sum f_i x_i=162\) |
Check the totals: \(1+2+1+5+6+2+3=20\), and \(1+6+5+35+54+22+39=162\).
Therefore the mean is
\[\bar x=\frac{\sum f_i x_i}{\sum f_i}=\frac{162}{20}=8.1.\]So the mean number of plants per house is 8.1.
Method used: the direct method, because the class marks and frequencies are small and the arithmetic is simple and exact.