Practise two special statistics questions: comparing variation using range and standard deviation, and finding missing frequencies when the mean is given.
Range is easy to calculate, but it depends only on the smallest and largest values. Because of this, range can sometimes mislead us.
Standard deviation uses all observations, so it gives a better picture of variation.
In missing frequency questions, use total frequency and the given mean to form equations.
\[ \text{Range}=\text{Maximum}-\text{Minimum} \]
\[ s=\sqrt{\frac{\sum x^2-\frac{(\sum x)^2}{n}}{n-1}} \]
\[ \bar{x}=\frac{\sum fx}{\sum f} \]
Two different sections of a statistics class take the same quiz and the scores are recorded below. Find the range and standard deviation for each section. Then compare the variation.
| Section 1 | 1 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Section 2 | 2 | 3 | 4 | 5 | 6 | 14 | 15 | 16 | 17 | 18 | 19 |
First calculate the range, then calculate the sample standard deviation for both sections.
For Section 1:
\[ \text{Minimum}=1,\qquad \text{Maximum}=20 \]
\[ \text{Range}=20-1=19 \]
\[ n=11,\qquad \sum x=201,\qquad \sum x^2=4001 \]
\[ s^2=\frac{\sum x^2-\frac{(\sum x)^2}{n}}{n-1} \]
\[ s^2=\frac{4001-\frac{201^2}{11}}{10} \]
\[ s^2=32.82 \]
\[ s=\sqrt{32.82}=5.73 \]
For Section 2:
\[ \text{Minimum}=2,\qquad \text{Maximum}=19 \]
\[ \text{Range}=19-2=17 \]
\[ n=11,\qquad \sum x=119,\qquad \sum x^2=1741 \]
\[ s^2=\frac{1741-\frac{119^2}{11}}{10} \]
\[ s^2=45.36 \]
\[ s=\sqrt{45.36}=6.74 \]
Conclusion:
The range of Section 1 is greater than the range of Section 2. But this is misleading because Section 1 has one extreme low value, while most other scores are 20.
Standard deviation gives a better comparison because it uses all observations.
\[ s_1=5.73,\qquad s_2=6.74 \]
Since Section 2 has the larger standard deviation, Section 2 has greater variation.
An experiment shows the height of 51 plants given below. If the average height of all 51 plants is 40 cm, find the missing frequencies corresponding to heights 30 cm and 50 cm.
| Height (cm) | 10 | 20 | 30 | 40 | 50 | 60 |
|---|---|---|---|---|---|---|
| Number of Plants | 2 | 3 | \(x\) | 21 | \(y\) | 5 |
Let the missing frequencies be \(x\) and \(y\). Then form equations using total frequency and mean.
Let the missing frequencies be:
\[ x=\text{frequency at }30\text{ cm} \]
\[ y=\text{frequency at }50\text{ cm} \]
Using total frequency:
\[ 2+3+x+21+y+5=51 \]
\[ x+y+31=51 \]
\[ x+y=20 \]
Using the given mean:
\[ \bar{x}=\frac{\sum fx}{\sum f} \]
\[ 40=\frac{10(2)+20(3)+30x+40(21)+50y+60(5)}{51} \]
\[ 40(51)=20+60+30x+840+50y+300 \]
\[ 2040=1220+30x+50y \]
\[ 30x+50y=820 \]
\[ 3x+5y=82 \]
Now solve the two equations:
\[ x+y=20 \]
\[ 3x+5y=82 \]
From \(x+y=20\),
\[ x=20-y \]
Substitute in \(3x+5y=82\):
\[ 3(20-y)+5y=82 \]
\[ 60-3y+5y=82 \]
\[ 2y=22 \]
\[ y=11 \]
\[ x=20-11=9 \]