Showing posts with label variance. Show all posts
Showing posts with label variance. Show all posts

Friday, August 11, 2023

Chapter 15.7 - Miscellaneous Examples

In the previous section, we completed a discussion on the coefficient of variance. In this section, we will see some miscellaneous examples.

Solved example 15.17
The variance of 20 observations is 5. If each observation is multiplied by 2, find the new variance of the resulting observations.
Solution:
1. Analysis of the original data set:
(i) Let the observations in the original data set be denoted as $x_i$.
• Then we can write: ${\sigma^2}_x~=~\frac{\sum(x_i - \bar x)^2}{20}~=~5$
(ii) In the above equation, we know that: $\bar x ~=~\frac{\sum x_i}{20}$
(iii) Expanding the equation in (i), we get:

$\begin{array}{ll}
{}&{5}
& {~=~}& {\frac{\sum(x^2_i - 2 x_i \bar x + {\bar x}^2)}{20}}
&{} \\

{\Rightarrow}&{5}
& {~=~}& {\frac{\sum{x^2_i} ~-~ 2 \bar x \sum{x_i} ~+~ \sum{{\bar x}^2}}{20}}
&{} \\

{\Rightarrow}&{100}
& {~=~}& {\sum{x^2_i} ~-~ 2 \bar x \sum{x_i} ~+~ \sum{{\bar x}^2}}
&{} \\

\end{array}$

2. Analysis of the modified data set:
(i) Let the observations in the modified data set be denoted as $y_i$.
• Then we can write: ${\sigma^2}_y~=~\frac{\sum(y_i - \bar y)^2}{20}~=~K$
   ♦ We are asked to find K.
(ii) In the above equation, we know that: $\bar y ~=~\frac{\sum y_i}{20}$
(iii) Expanding the equation in (i), we get:

$\begin{array}{ll}
{}&{K}
& {~=~}& {\frac{\sum(y^2_i - 2 y_i \bar y + {\bar y}^2)}{20}}
&{} \\

{\Rightarrow}&{K}
& {~=~}& {\frac{\sum{y^2_i} ~-~ 2 \bar y \sum{y_i} ~+~ \sum{{\bar y}^2}}{20}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {\sum{y^2_i} ~-~ 2 \bar y \sum{y_i} ~+~ \sum{{\bar y}^2}}
&{} \\

\end{array}$

3. Writing y in terms of x:
(i) Given that, each observation in the original data set is multiplied by 2, to get the modified data set.
(ii) So we can write: $y_i~=~ 2 x_i$
• Substituting this in 2(iii), we get:

$\begin{array}{ll}
{}&{20K}
& {~=~}& {\sum{y^2_i} ~-~ 2 \bar y \sum{y_i} ~+~ \sum{{\bar y}^2}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {\sum{(2 x_i)^2} ~-~ 2 \bar y \sum{2 x_i} ~+~ \sum{{\bar y}^2}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {\sum{(2 x_i)^2} ~-~ 2 (2 \bar x) \sum{2 x_i} ~+~ \sum{(2 \bar x)^2}~~ \color {green} {\text{- - - (I)}}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {4 \sum{x^2_i} ~-~ 8 \bar x \sum{x_i} ~+~ 4 \sum{{\bar x}^2}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {4 \left[ \sum{x^2_i} ~-~ 2 \bar x \sum{x_i} ~+~ \sum{{\bar x}^2}\right]~~ \color {green} {\text{- - - (II)}}}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {4 \left[100 \right]}
&{} \\

{\Rightarrow}&{20K}
& {~=~}& {400}
&{} \\

{\Rightarrow}&{K}
& {~=~}& {20}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line, we use an information that we learned in our earlier classes. It can be written in 3 steps:
(i) Average of a set of observations is 'A'
(ii) The set is modified by multiplying each observation by 'm'.
(iii) Then the average of the modified set is 'mA'.
• So in our present case, we get: $\bar y = 2 \bar x$

• Line marked as II:
Based on the result in 1(iii), the portion inside the square brackets is '100'.

4. Now, based on 2(i), we can write:
${\sigma^2}_y~=~K~=~20$
• Thus we get the new variance of the modified observations.
• Note that, 20 = 22 × 5
• So we can write:
If the observations are multiplied by a constant 'm', then the variance of the modified observations will be m2 times the original variance.

Solved example 15.18
The mean of 5 observations is 4.4 and their variance is 8.24. If three of the observations are 1, 2 and 6, find the other two observations.
Solution:
1. We can use the usual table that is used for calculation of variance. It is shown below:

Table 15.29

• In column I, we fill up the observations ($x_i$). The two unknown observations are written as x4 and x5.
• In column II, we fill up the frequencies. Each of the five observations occur only once. So all values in the column II are '1'.
• In column III, we write the product $f_i x_i$. Since all $f_i$ values are '1', Column III will be same as column II.
• In column IV, we write the deviations from the mean. We are already given the mean. It is 4.4.
• In column V, we write the squares of the deviations. Here $f_i$ do not have any effect because, all $f_i$ values are '1'.
• After filling all the columns, we can start the calculations.
2. We know that, the column III is used to find mean.
• Sum of all the values in column III is:
1 + 2 + 6 + x4 + x5 = 9 + x4 + x5
• So we can write:
Mean = $\frac{9 + x_4 + x_5}{5}~=~4.4$
• From this, we get:
x4 + x5 = 13
3. We know that, the column V is used to find the variance.
Sum of all values in column V can be calculated as follows:

$\begin{array}{ll}
{}&{\text{Sum}}
& {~=~}& {11.56 + 5.76 + 2.56 + (x_4 - 4.4)^2 + (x_5 - 4.4)^2} &{} \\

{}&{}
& {~=~}& {19.88 + (x_4 - 4.4)^2 + (x_5 - 4.4)^2} &{} \\

{}&{}
& {~=~}& {19.88 ~+~{x_4}^2 - 8.8 x_4 + 19.36~+~{x_5}^2 - 8.8 x_5 + 19.36} &{} \\

{}&{}
& {~=~}& {{x_4}^2 +{x_5}^2 - 8.8 (x_4 + x_5) + 19.36 + 19.36 + 19.88} &{} \\

{}&{}
& {~=~}& {{x_4}^2 +{x_5}^2 - 8.8 (x_4 + x_5) + 58.6} &{} \\

{}&{}
& {~=~}& {{x_4}^2 +{x_5}^2 - 8.8 (13) + 58.6~\color{green}{\text{- - - I}}} &{} \\

{}&{}
& {~=~}& {{x_4}^2 +{x_5}^2 - 114.4 + 58.6} &{} \\

{}&{}
& {~=~}& {{x_4}^2 +{x_5}^2 - 55.8} &{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line, we use the result from (2) to replace the sum $(x_4 + x_5)$

4. Based on the above sum of the squares, we can write:

$\begin{array}{ll}
{}&{\text{Variance}}
& {~=~}& {\frac{{x_4}^2 +{x_5}^2 - 55.8}{5}}
&{} \\

{\Rightarrow}&{8.24}
& {~=~}& {\frac{{x_4}^2 +{x_5}^2 - 55.8}{5}}
&{} \\

{\Rightarrow}&{41.2}
& {~=~}& {{x_4}^2 +{x_5}^2 - 55.8}
&{} \\

{\Rightarrow}&{97}
& {~=~}& {{x_4}^2 +{x_5}^2}
&{} \\

\end{array}$

5. Now we have two useful results:
   ♦ From (2) we have: $x_4 + x_5 = 13$
   ♦ From (3) we have: ${x_4}^2 +{x_5}^2 = 97$
• Using these two results, we can calculate $2 x_4 x_5$. This is shown below:

$\begin{array}{ll}
{}&{(x_4 + x_5)^2}
& {~=~}& {13^2}
&{} \\

{\Rightarrow}&{{x_4}^2 +2 x_4 x_5 + {x_5}^2 }
& {~=~}& {169}
&{} \\

{\Rightarrow}&{97 +2 x_4 x_5}
& {~=~}& {169}
&{} \\

{\Rightarrow}&{2 x_4 x_5}
& {~=~}& {169 - 97}
&{} \\

{\Rightarrow}&{2 x_4 x_5}
& {~=~}& {72}
&{} \\

\end{array}$

6. Consider the two results:
   ♦ From (3) we have: ${x_4}^2 +{x_5}^2 = 97$
   ♦ From (4) we have: $2 x_4 x_5 = 72$
• Using these two results, we can calculate $ x_4 - x_5$. This is shown below:

$\begin{array}{ll}
{}&{(x_4 - x_5)^2}
& {~=~}& {{x_4}^2 -2 x_4 x_5 + {x_5}^2 }
&{} \\

{\Rightarrow}&{(x_4 - x_5)^2}
& {~=~}& {{x_4}^2 + {x_5}^2 -2 x_4 x_5}
&{} \\

{\Rightarrow}&{(x_4 - x_5)^2}
& {~=~}& {97 - 72}
&{} \\

{\Rightarrow}&{(x_4 - x_5)^2}
& {~=~}& {25}
&{} \\

{\Rightarrow}&{x_4 - x_5}
& {~=~}& {\pm 5}
&{} \\

\end{array}$

7.  Consider the three equations:
(i) From (2) we have: $x_4 + x_5 = 13$
(ii) From (5) we have: $x_4 - x_5 = 5$
(iii) From (5) we have: $x_4 - x_5 = -5$
• Solving (i) and (ii), we get:
x4 = 9, x5 = 4
Solving (i) and (iii), we get:
• x4 = 4, x5 = 9
8. So the unknown observations are: 4 and 9

Solved example 15.19
Show that adding or subtracting a constant number 'a' from each observation, does not affect the variance.
Solution:
◼ Let the original n observations be denoted as xi
• Then the original mean will be given by: $\bar x ~=~\frac{\sum x_i}{n}$
• Also, the original variance will be given by: ${\sigma^2}_x~=~\frac{\sum(x_i - \bar x)^2}{n}$

Part (i): Adding 'a' to each of the original observation
1. Let the modified n observations be denoted as yi
• Then the modified observations can be written as:
y1 = (x1 + a), y2 = (x2 + a), y3 = (x3 + a), . . . , yn = (xn + a)
2. The modified mean can be calculated as follows:

$\begin{array}{ll}
{}&{\bar y}
& {~=~}& {\frac{\sum y_i}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum (x_i + a)}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right) ~+~ \left( \sum a \right)}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right) ~+~ na}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right)}{n}~+~\frac{na}{n}} &{} \\

{}&{}
& {~=~}& {\bar x ~+~ a} &{} \\

\end{array}$

3. Now the modified variance can be calculated as follows:

$\begin{array}{ll}
{}&{{\sigma^2}_y}
& {~=~}& {\frac{\sum(y_i - \bar y)^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[(x_i + a) - (\bar x + a) \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[x_i + a - \bar x - a \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[x_i  - \bar x  \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {{\sigma^2}_x} &{} \\

\end{array}$

◼ That means, there is no change in the variance.

Part (ii): Subtracting 'a' from each of the original observation
1. Let the modified n observations be denoted as yi
• Then the modified observations can be written as:
y1 = (x1 - a), y2 = (x2 - a), y3 = (x3 - a), . . . , yn = (xn - a)
2. The modified mean can be calculated as follows:

$\begin{array}{ll}
{}&{\bar y}
& {~=~}& {\frac{\sum y_i}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum (x_i - a)}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right) ~-~ \left( \sum a \right)}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right) ~-~ na}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\left(\sum x_i \right)}{n}~-~\frac{na}{n}} &{} \\

{}&{}
& {~=~}& {\bar x ~-~ a} &{} \\

\end{array}$

3. Now the modified variance can be calculated as follows:

$\begin{array}{ll}
{}&{{\sigma^2}_y}
& {~=~}& {\frac{\sum(y_i - \bar y)^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[(x_i - a) - (\bar x - a) \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[x_i - a - \bar x + a \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {\frac{\sum \left[x_i  - \bar x  \right]^2}{n}} &{} \\

{}&{}
& {~=~}& {{\sigma^2}_x} &{} \\

\end{array}$

◼ That means, there is no change in the variance.


• Based on the results in parts (i) and (ii), we can write:
Adding or subtracting a constant number 'a' from each observation, does not affect the variance.


• From step (2) of part (i), we get an useful result. It can be written in 3 steps:
(i) Average of a set of observations is 'A'
(ii) The set is modified by adding a constant 'a' to each observation.
(iii) Then the average of the modified set is (A+a).


• From step (2) of part (ii), we get an useful result. It can be written in 3 steps:
(i) Average of a set of observations is 'A'
(ii) The set is modified by subtracting a constant 'a' from each observation.
(iii) Then the average of the modified set is (A-a).



Solved example 15.20
The mean and standard deviation of 100 observations were calculated as 40 and 5.1, respectively by a student who took by mistake 50 instead of 40 for one observation. What are the correct mean and standard deviation?
Solution:
Part (i): Finding the correct mean.
1. Let us write the mean for this problem: $\bar x ~=~ \frac{\sum_{i=1}^{i=100}{x_i}}{100}$
2. Ninety nine observations are correct. One observation is wrong. So we will split the above equation. We get:

$\begin{array}{ll}
{}&{{\bar x}_{\text{wrong}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}~+~{x_{\text{wrong}}}}{100}}
&{} \\

{\Rightarrow}&{{\bar x}_{\text{wrong}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}}{100}~+~\frac{x_{\text{wrong}}}{100}}
&{} \\

{\Rightarrow}&{40}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}}{100}~+~\frac{50}{100}~~ \color {green} {\text{- - - (I)}}}
&{} \\

{\Rightarrow}&{40 - 0.50}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}}{100}}
&{} \\

{\Rightarrow}&{39.5}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}}{100}}
&{} \\

{\Rightarrow}&{\sum_{i=1}^{i=99}{x_i}}
& {~=~}& {3950}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
   ♦ We are given that, the wrong mean is 40.
   ♦ We are given that, the wrong observation is 50.

3. Now we can find the correct mean:

$\begin{array}{ll}
{}&{{\bar x}_{\text{correct}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}~+~x_{\text{correct}}}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{x_i}}{100}~+~\frac{x_{\text{correct}}}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{3950}{100}~+~\frac{40}{100}~~ \color {green} {\text{- - - (I)}}}
&{} \\

{}&{}
& {~=~}& {39.50 + 0.40}
&{} \\

{}&{}
& {~=~}& {39.9}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
   ♦ We use the result $\sum_{i=1}^{i=99}{x_i}~=~3950$ from step (2).
   ♦ We are given that, the correct observation is 40.

Part (ii): Finding the correct variance.
1. We are given that:
Wrong standard deviation is 5.1
• So the wrong variance = (5.1)2
2. Let us write the variance for this problem: $\sigma^2~=~ \frac{\sum_{i=1}^{i=100}{(x_i - \bar x)^2}}{100}$
3. Ninety nine observations are correct. One observation is wrong. So we will split the above equation. We get:

$\begin{array}{ll}
{}&{{\sigma^2}_{\text{wrong}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - {\bar x}_{\text{wrong}})^2}~+~(x_{\text{wrong}} - {\bar x}_{\text{wrong}})^2}{100}}
&{} \\

{\Rightarrow}&{{\sigma^2}_{\text{wrong}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - {\bar x}_{\text{wrong}})^2}}{100}~+~\frac{(x_{\text{wrong}} - {\bar x}_{\text{wrong}})^2}{100}}
&{} \\

{\Rightarrow}&{5.1^2}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - 40)^2}}{100}~+~\frac{(50 - 40)^2}{100}~~ \color {green} {\text{- - - (I)}}}
&{} \\

{\Rightarrow}&{5.1^2}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - 40)^2}}{100}~+~\frac{(10)^2}{100}}
&{} \\

{\Rightarrow}&{5.1^2}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - 40)^2}}{100}~+~1}
&{} \\

{\Rightarrow}&{5.1^2~-~1^2}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 - 80 x_i + 40^2 \right)}}{100}}
&{} \\

{\Rightarrow}&{(5.1+1)(5.1 - 1)}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 \right)} - 80 \sum_{i=1}^{i=99}{(x_i)} + 99 \times 40^2 }{100}}
&{} \\

{\Rightarrow}&{(6.1)(4.1)}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 \right)} - 80 (3950) + 99 \times 40^2 }{100}~~ \color {green} {\text{- - - (II)}}}
&{} \\

{\Rightarrow}&{25.01}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 \right)} - 316000 + 158400 }{100}}
&{} \\

{\Rightarrow}&{25.01}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 \right)} -157600 }{100}}
&{} \\

{\Rightarrow}&{2501~+~157600}
& {~=~}& {\sum_{i=1}^{i=99}{\left({x_i}^2 \right)}}
&{} \\

{\Rightarrow}&{160101}
& {~=~}& {\sum_{i=1}^{i=99}{\left({x_i}^2 \right)}}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
   ♦ In (1) of part (ii), we wrote the wrong variance.
   ♦ We are given that, the wrong mean is 40.
   ♦ We are given that, the wrong observation is 50.
• Line marked as II:
   ♦ We use the result $\sum_{i=1}^{i=99}{x_i}~=~3950$ from step (2) of part (i).

4. Now we can find the correct variance.

$\begin{array}{ll}
{}&{{\sigma^2}_{\text{correct}}}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - {\bar x}_{\text{correct}})^2}~+~(x_{\text{correct}} - {\bar x}_{\text{correct}})^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - {\bar x}_{\text{correct}})^2}}{100}~+~\frac{(x_{\text{correct}} - {\bar x}_{\text{correct}})^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{(x_i - 39.9)^2}}{100}~+~\frac{(40 - 39.9)^2}{100}~~ \color {green} {\text{- - - (I)}}}
&{} \\

{}&{}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 - 2 \times 39.9 \times x_i + 39.9^2 \right)}}{100}~+~\frac{(0.10)^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{\sum_{i=1}^{i=99}{\left({x_i}^2 \right)} - 2 \times 39.9 \times \sum_{i=1}^{i=99}{(x_i)} + 99 \times 39.9^2 }{100}~+~\frac{(0.10)^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{160101- 2 \times 39.9 \times 3950 + 99 \times 39.9^2 }{100}~+~\frac{(0.10)^2}{100}~~ \color {green} {\text{- - - (II)}}}
&{} \\

{}&{}
& {~=~}& {\frac{160101- 315210
+ 157608.99 }{100}~+~\frac{(0.10)^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{2499.99}{100}~+~\frac{(0.10)^2}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{2499.99~+~0.01}{100}}
&{} \\

{}&{}
& {~=~}& {\frac{2500}{100}}
&{} \\

{}&{}
& {~=~}& {25}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
   ♦ In part (i) we calculated the correct mean as 39.9.
   ♦ We are given that, the correct observation is 40.
• Line marked as II:
   ♦ We use the result $\sum_{i=1}^{i=99}{(x_i)^2}~=~160101$ from step (3) of part (ii).
   ♦ We use the result $\sum_{i=1}^{i=99}{x_i}~=~3950$ from step (2) of part (i).

5. Thus we get the correct standard deviation:
${\sigma}_{\text{correct}}~=~ \sqrt{{\sigma^2}_{\text{correct}}} ~=~\sqrt{25}~=~5$


Link to a few more miscellaneous examples is given below:

Miscellaneous Exercise


In the next chapter, we will see probability.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Saturday, August 5, 2023

Chapter 15.6 - Coefficient of Variance

In the previous section, we completed a discussion on the methods for calculating standard deviation. In this section, we will see how standard deviation can be used for the analysis of data.

Let us see an example where we use standard deviation to compare two data sets. It can be written in 7 steps:
1. Two different factories produce cement. They are named as Cement A and Cement B.
• We want to compare the strengths of the two cements.
2. Making cubes:
    ♦ Using Cement A, we make 30 concrete cubes.
    ♦ Using Cement B also, we make 30 concrete cubes.
3. Testing the cubes:
• We place each cube in a compression testing machine and apply a gradually increasing load. We note down the load at which the cube just begins to fail. (some images can be seen here)
• Let the expected load be 25.
4. Differences in the loads:
• For cement A, most of the thirty loads are close to 25. The readings are like: 23, 25, 27, 24 etc.,
• For cement B also, most of the thirty loads are close to 25. But there are some extreme values like, 12, 17, 31 etc.,
5. Comparing the mean values.
    ♦ For cement A, the mean ($\bar{x}_a$) of it’s thirty values is 24.8.
    ♦ For cement B also, the mean ($\bar{x}_b$) of it’s thirty values is 24.8.
6. Based on the mean values, we are tempted to conclude that, both A and B are of the same quality.
7. But in step (4), we saw that B has some extreme values.
• So standard variation (σB) of B will be larger than standard variation (σA) of A.
• Greater σ means, greater dispersion. So cement B has greater dispersion from the expected value.
• We can conclude that, cement A is of better quality.
(Several different types of tests must be carried out for assessing the quality of materials like cement, steel, sand, electronic capacitors etc., Statistics help us to analyze test results. We will see them in higher classes)


• The above example demonstrates how two data sets can be compared.
• Now let us see another case. It can be written in 6 steps:
1. We are given two data sets.
• The first of those two sets contains heights of 45 students.
• The other set contains weights of those 45 students.
• We want to compare the two sets.
2. Calculating standard deviations:
    ♦ Let the standard deviation of the first set be σ1
    ♦ Let the standard deviation of the second set be σ2
3. Comparing the two σ values:
    ♦ σ1 will be in cm.
    ♦ σ2 will be in kg.
• So we cannot directly compare the two σ values.
4. In such cases, we use coefficient of variation.
• It is calculated using the formula:
$\text{C.V}~=~\frac{\sigma}{\bar{x}} \times 100$
• Where:
    ♦ C.V is the coefficient of variation of the data set.
    ♦ σ is the standard deviation of that data set.
    ♦ $\bar{x}$ is the mean of that data set.
5. We see that:
    ♦ σ comes in the numerator
    ♦ $\bar{x}$ comes in the denominator.
• Since the above σ and $\bar{x}$ are related to the same data set, both will have the same units. So the units will get canceled. We can say that, C.V has no units.
6. In our present example:
• Both (C.V)1 and (C.V)2 will not have any units. They are just numbers. So we can compare them.
• A data set having larger C.V is said to be more dispersed than the other.   
• A data set having smaller C.V is said to be more consistent than the other.


In some cases, the two data sets will have the same units. But the mean may be different. In such cases also, calculation of C.V becomes necessary.


Solved example 15.14
The following table shows the number of workers of two factories and their wages.

Table 15.27

Find the factory in which, wages have greater variability?
Solution:
1. Consider factory A
• There are 5000 workers in this factory. So the data set will contain 5000 wages.
• The mean of those 5000 wages can be easily calculated.
    ♦ Mean is given as: Rs 2500
• Once the mean is calculated, variance can be easily calculated.
    ♦ Variance is given as: 81
    ♦ So standard deviation = √81 = Rs 9        
2. Consider factory B
• There are 6000 workers in this factory. So the data set will contain 6000 wages.
• The mean of those 6000 wages can be easily calculated.
    ♦ Mean is given as: Rs 2500
• Once the mean is calculated, variance can be easily calculated.
    ♦ Variance is given as: 100
    ♦ So standard deviation = √100 = Rs 10
3. Both data sets have the same mean, which is Rs 2500.
4. Based on the above steps, we can write:
• For A:
Dispersion of wages from the mean of 2500 is 9.
• For B:
Dispersion of wages from the mean of 2500 is 10.
5. Thus we get:
Factory B has greater dispersion (variability) of wages than Factory A.

Solved example 15.15
The C.V of two distributions are 60 and 70. Their standard deviations are 21 and 16 respectively. What are their arithmetic means.
Solution:
1. We have the formula:
$\text{C.V}~=~\frac{\sigma}{\bar{x}} \times 100$
• Where:
    ♦ C.V is the coefficient of variation of the data set.
    ♦ σ is the standard deviation of that data set.
    ♦ $\bar{x}$ is the mean of that data set.
2. For the first set, we can write:

$\begin{array}{ll}
{}&{60}
& {~=~}& {\frac{21}{\bar{x}} \times 100}
&{} \\

{\Rightarrow}&{\bar{x}}
& {~=~}& {\frac{21}{60} \times 100}
&{} \\

{}&{}
& {~=~}& {\frac{7}{20} \times 100}
&{} \\

{}&{}
& {~=~}& {7 \times 5}
&{} \\

{}&{}
& {~=~}& {35}
&{} \\

\end{array}$

3. For the second set, we can write:
$\begin{array}{ll}
{}&{70}
& {~=~}& {\frac{16}{\bar{x}} \times 100}
&{} \\

{\Rightarrow}&{\bar{x}}
& {~=~}& {\frac{16}{70} \times 100}
&{} \\

{}&{}
& {~=~}& {\frac{8}{35} \times 100}
&{} \\

{}&{}
& {~=~}& {\frac{8}{7} \times 20}
&{} \\

{}&{}
& {~=~}& {22.85}
&{} \\

\end{array}$

Solved example 15.16
The following values are calculated in respect of heights and weights of the students of a section of class XI:

Comparing data using coefficient of variance.
Table 15.28

Can we say that the weights show greater variation than the heights?
Solution:
1. Consider the data set related to heights.
• Let there be n students. So the data set will contain n heights.
• The mean of those n heights can be easily calculated.
    ♦ Mean is given as: 162.6 cm
• Once the mean is calculated, variance can be easily calculated.
    ♦ Variance is given as: 127.69 cm2.
    ♦ So standard deviation = √127.69 = 11.3 cm.
2. Consider the data set related to weights.
• There are n students. So the data set will contain n weights.
• The mean of those n weights can be easily calculated.
    ♦ Mean is given as: 52.36 kg
• Once the mean is calculated, variance can be easily calculated.
    ♦ Variance is given as: 23.1361 kg2.
    ♦ So standard deviation = √23.1361 = 4.81 kg.
3. Comparing the results in (1) and (2), we see that, standard deviation is greater for heights.
• But we cannot make such a comparison. This is because, one data set is for heights and the other is for weights.
• To get rid of the units, we must calculate C.V of each data set.
4. We have the formula:
$\text{C.V}~=~\frac{\sigma}{\bar{x}} \times 100$
• Where:
    ♦ C.V is the coefficient of variation of the data set.
    ♦ σ is the standard deviation of that data set.
    ♦ $\bar{x}$ is the mean of that data set.
5. For the heights, we can write:

$\begin{array}{ll}
{}&{\text{C.V}}
& {~=~}& {\frac{11.3}{162.6} \times 100}
&{} \\

{}&{}
& {~=~}& {0.06949 \times 100}
&{} \\

{}&{}
& {~=~}& {6.95}
&{} \\

\end{array}$

6. For the weights, we can write:

$\begin{array}{ll}
{}&{\text{C.V}}
& {~=~}& {\frac{4.81}{52.36} \times 100}
&{} \\

{}&{}
& {~=~}& {0.0918 \times 100}
&{} \\

{}&{}
& {~=~}& {9.18}
&{} \\

\end{array}$

7. We see that:
C.V is greater for weights.
• So we can write:
Weights show greater variability than heights.


Link to a few more solved examples is given below:

Exercise 15.3


In the next section, we will see some miscellaneous examples.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Monday, July 31, 2023

Chapter 15.5 - Standard Deviation of Continuous Frequency Distribution

In the previous section, we saw some solved examples on variance and standard deviation. In this section, we will see how they are related to continuous frequency distribution.

Calculating variance and standard deviation for continuous frequency distribution

• We know that, when the data is large, we arrange the observations into various groups. It is called continuous frequency distribution.
• We know the method to calculate mean in such cases. Also, in a previous section 15.2, we have seen the method to calculate the following items:
   ♦ Mean deviation about mean for a continuous frequency distribution.
   ♦ Mean deviation about median for a continuous frequency distribution.
• So now we will see the method to calculate the following items:
   ♦ Variance for a continuous frequency distribution.
   ♦ Standard deviation for a continuous frequency distribution.
• The method is similar to what we saw in the solved examples 15.9 and 15.10 of the previous section. There we dealt with discrete values. But here we will be dealing with groups of values. These groups are called class intervals.
• So for each class interval, we choose a value to represent that class interval. Usually we choose the midpoint as the representative value.
• For example, if the class interval is 30-35, then the representative value will be the midpoint, which is:
$\frac{30 + 35}{2}~=~\frac{65}{2}~=~32.5$
• Once the representative value is fixed, the procedure is the same as before.    
• The following solved example will demonstrate the method:

Solved Example 15.12
Find the variance and standard deviation for the following data:


Table15.24

Solution:
1. We are asked to find the variance.
• So our first aim is to find the mean $(\bar{x})$. For that, we want $f_i x_i$.
• For calculating $f_i x_i$, we want $x_i$.
• $x_i$ values are the midpoint values. They are calculated in the third column of the table 15.25 below:

Table 15.25

• $f_i x_i$ is calculated in the column IV. So we can write:
$\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{3100}{50}~=~62$
2. Now we can calculate the variance. For that, we can use columns II, V and VI.
• We have:
$\sigma^2~=~\frac{\sum{f_i (x_i - \bar{x})^2}}{\sum{f_i}}~=~\frac{10050}{50}~=~201$
3. Finally, we can calculate the standard deviation.
$\sigma~=~\sqrt{\sigma^2}~=~\sqrt{201}~=~14.18$


Shortcut method for calculating variance and standard deviation

• In a previous section, we used a shortcut method (step-deviation method) for finding $\bar{x}$.
• If $\bar{x}$ obtained is large, our present calculations of variance will be tedious and lengthy.
• So we need a method to reduce the size of $\bar{x}$. It can be written in 5 steps:

1. In the step-deviation method, we first reduce $x_i$ into $d_i$.
• $d_i = x_i - a$
   ♦ Where 'a' is the assumed mean.
2. Next we reduce $d_i$ to $u_i$.
• $u_i = \frac{d_i}{h}$
   ♦ Where 'h' is the width of class.
3. We can combine the above two results as follows:
$u_i = \frac{x_i - a}{h}$
• From this, we get:
$x_i = a + h u_i$
4. Once we calculate the $u_i$ values, we find $\bar{u}$.
• Using $\bar{u}$, we find $\bar{x}$ using the formula:
$\bar{x} = a + h \bar{u}$
5. Let us use the above results in (3) and (4), to modify variance. It can be done as follows:

$\begin{array}{ll}
{}&{\sigma^2}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left[x_i - \bar{x} \right]^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left[(a + h u_i) - (a + h \bar{u}) \right]^2} \right]~\color{green}{\text{- - - I}}} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left[a + h u_i - a - h \bar{u} \right]^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left[h u_i - h \bar{u} \right]^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left[h( u_i - \bar{u}) \right]^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i h^2 ( u_i - \bar{u})^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{h^2}{\sum{f_i}}\left[\sum{f_i (u_i - \bar{u})^2} \right]} &{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line, we replace $x_i$ and $\bar{x}$ using the results in (3) and (4).


• So now we have three formulas for calculating variance:
(i) $\sigma^2~=~\frac{\sum{f_i (x_i - \bar{x})^2}}{\sum{f_i}}$

(ii) $\sigma^2~=~\left(\frac{1}{\sum{f_i}}\right)^2 \left[\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right)
 - \left(\sum{f_i x_i} \right)^2 \right]$

(iii) $\sigma^2~=~\frac{h^2}{\sum{f_i}}\left[\sum{f_i (u_i - \bar{u})^2} \right]$

Note:
Formula (i) is the basic formula. Formula (iii) is used for the shortcut method. Both (i) and (iii) follow the same pattern.


Let us apply the shortcut method for solved example 15.12 above. It will be our next solved example.

Solved example 15.13
Find the variance and standard deviation for the data in table 15.24 above.
Solution:
1. We are asked to find the variance.
• So our first aim is to find the mean $(\bar{x})$. For that, we want $f_i x_i$.
• For calculating $f_i x_i$, we want $x_i$.
• $x_i$ values are the midpoint values. They are calculated in the third column of the table 15.26 below:

Table 15.26

• Now we reduce the sizes of all $x_i$ values. For that, we consider a middle value as the assumed mean. For our present case, we consider 65 as the assumed mean (a). Then we subtract 'a' from all $x_i$ values. The values obtained after subtraction are denoted as $d_i$. This is calculated in column IV.
• Next, we reduce the size of $d_i$. This is achieved by dividing with a common factor (h). For our present case, 10 is the common factor. It is the class width. The values obtained after division are denoted as $u_i$. This is calculated in column V. 
• Finally, $f_i u_i$ is calculated in the column VI. So we can write:
$\bar{u}~=~\frac{\sum{f_i u_i}}{\sum{f_i}}~=~\frac{-15}{50}~=~-0.3$
2. Now we can calculate ($u_i - \bar{u}$). It is done in column VII.
• Using ($u_i - \bar{u}$), we can calculate $f_i(u_i - \bar{u})^2$. It is done in column VIII.
3. Now we can substitute the values.
• We have:
$\sigma^2~=~\frac{h^2}{\sum{f_i}}\left[\sum{f_i (u_i - \bar{u})^2} \right]~=~\frac{10^2}{50}\left[100.5 \right]~=~201$
4. Finally, we can calculate the standard deviation.
$\sigma~=~\sqrt{\sigma^2}~=~\sqrt{201}~=~14.18$


Link to a few more solved examples is given below:

Exercise 15.2


In the next section, we will see Analysis of frequency distributions.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Sunday, July 30, 2023

Chapter 15.4 - Solved Examples on Standard Deviation

In the previous section, we saw variance and standard deviation. In this section, we will see some solved examples.

Solved example 15.9
Find the variance and standard deviation of the following data:
6,8,10,12,14,16,18,20,22,24
Solution:
1. We are asked to find the variance.
• So our first aim is to find the mean $(\bar{x})$. For that, we can use the columns I, II  and III of table 15.19 below:

Table 15.19

• Based on those columns, we can write:
$\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{150}{10}~=~15$
2. Now we can calculate the variance. For that, we can use columns II, IV and V of the table.
• We have:
$\sigma^2~=~\frac{\sum{(x_i - \bar{x})^2}}{\sum{f_i}}~=~\frac{330}{10}~=~33$
3. Finally, we can calculate the standard deviation.
$\sigma~=~\sqrt{\sigma^2}~=~\sqrt{33}~=~5.74$

Solved example 15.10
Find the variance and standard deviation of the following data:

Table 15.20

Solution:
1. We are asked to find the variance.
• So our first aim is to find the mean $(\bar{x})$. For that, we can use the columns I, II  and III of table 15.21 below:

Table 15.21

• Based on those columns, we can write:
$\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{420}{30}~=~14$
2. Now we can calculate the variance. For that, we can use columns II, IV and V of the table.
• We have:
$\sigma^2~=~\frac{\sum{f_i (x_i - \bar{x})^2}}{\sum{f_i}}~=~\frac{1374}{30}~=~45.8$
3. Finally, we can calculate the standard deviation.
$\sigma~=~\sqrt{\sigma^2}~=~\sqrt{45.8}~=~6.77$
4. Note:
In this problem, we have to take frequencies also into account. This can be explained using an example. It can be written in 3 steps:
(i) Frequency of the observation 11 is nine.
• That means, the observation 11 occurs nine times.
(ii) So we have to include "$(11 - \bar{x})^2$" nine times.
• Instead of writing nine times, we can directly calculate "$9 \times (11 - \bar{x})^2$"
(iii) So we calculate "$f_i \times (x_i - \bar{x})^2$" in the column V.


Another formula for standard deviation

This can be written in 2 steps:
1. We can derive a new formula for variance as follows:

$\begin{array}{ll}
{}&{\sigma^2}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left(x_i - \bar{x} \right)^2} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i \left(x^2 _i + \bar{x}^2 - 2 x_i \bar{x} \right)} \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i x^2 _i} + \sum{f_i \bar{x}^2} - \sum{2 f_i x_i \bar{x} } \right]} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left[\sum{f_i x^2 _i} + \bar{x}^2 \sum{f_i } - 2 \bar{x} \sum{f_i x_i } \right]~\color{green}{\text{- - - I}}} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left(\sum{f_i x^2 _i} \right) + \frac{1}{\sum{f_i}} \left(\bar{x}^2 \sum{f_i } \right) - \frac{1}{\sum{f_i}} \left(2 \bar{x} \sum{f_i x_i } \right)} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left(\sum{f_i x^2 _i} \right) + \left(\bar{x}^2 \right) - \left(2 \bar{x}^2 \right)~\color{green}{\text{- - - II}}} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left(\sum{f_i x^2 _i} \right) - \left(\bar{x}^2 \right)} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left(\sum{f_i x^2 _i} \right) - \left[\frac{1}{\sum{f_i}}\left(\sum{f_i x_i} \right) \right]^2 ~\color{green}{\text{- - - III}}} &{} \\

{}&{}
& {~=~}& {\frac{1}{\sum{f_i}}\left(\sum{f_i x^2 _i} \right) - \left[\left(\frac{1}{\sum{f_i}}\right)^2\left(\sum{f_i x_i} \right)^2 \right]} &{} \\

{}&{}
& {~=~}& {\left(\frac{1}{\sum{f_i}}\right)^2 \left[\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right) - \left(\sum{f_i x_i} \right)^2 \right]} &{} \\

\end{array}$

◼ Remarks:
(i) Line marked as I
• $\bar{x}$ is a constant. So we take it outside summations.
(ii) Line marked as II
• In the third term, $\frac{\sum{f_i x_i}}{\sum{f_i}}$ is $\bar{x}$
(iii) Line marked as III
• In this line, we write $\frac{\sum{f_i x_i}}{\sum{f_i}}$ in the place of $\bar{x}$.

2. Once we obtain the formula for variance, we can easily write the formula for standard deviation.

$\sigma~=~\sqrt{\left(\frac{1}{\sum{f_i}}\right)^2 \left[\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right) - \left(\sum{f_i x_i} \right)^2 \right]}$ 

⇒ $\sigma~=~\frac{1}{\sum{f_i}}\sqrt{\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right) - \left(\sum{f_i x_i} \right)^2}$


Solved example 15.11
Find the variance and standard deviation of the following data:

Table15.22

Solution:
1. For calculating variance, we have:
$\sigma^2~=~\left(\frac{1}{\sum{f_i}}\right)^2 \left[\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right) - \left(\sum{f_i x_i} \right)^2 \right]$
2. For calculating standard deviation, we have:
$\sigma~=~\frac{1}{\sum{f_i}}\sqrt{\left(\sum{f_i}\right) \left(\sum{f_i x^2 _i} \right) - \left(\sum{f_i x_i} \right)^2}$
3. For applying the formulas, we need the following items:
(i) $\sum{f_i}$
• This is calculated in column II of table 15.23 below:

Table 15.23

(ii) $\sum{f_i x_i}$
• This is calculated in column III of table 15.23.
(iii) $\sum{f_i (x_i)^2}$
• This is calculated in column V of table 15.23.
4. Substituting the known values in (1), we get:
$\sigma^2~=~\left(\frac{1}{48}\right)^2 \left[\left(48\right) \left(9652 \right) - \left(614 \right)^2 \right]~=~37.456$
5. So we can write:
$\sigma~=~\sqrt{37.456}~=~6.12$


In the next section, we will see variance and standard deviation for continuous frequency distribution.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Saturday, July 29, 2023

Chapter 15.3 - Standard Deviation

In the previous section, we completed a discussion on mean deviation. In this section, we will see standard deviation.

• In the previous sections,we have studied two items:
   ♦ Mean deviation about Mean.
   ♦ Mean deviation about Median.
• Both have some limitations. Those limitations can be explained in 4 steps:
1. Consider the mean deviation about mean.
• We take the absolute values of the deviations. So the -ve signs are ignored.
• When a result is obtained by ignoring the signs, that result cannot be used for any further algebraic calculations.
2. Consider the mean deviation about median.
• Here also, we take the absolute values of the deviations. So the -ve signs are ignored.
• So this result is also not helpful for any further algebraic calculations.
3. Consider the two sums:
   ♦ Sum of absolute deviations about mean
   ♦ Sum of absolute deviations about median
• For any problem that we consider, the first sum mentioned above, will be greater than the second sum.
• But we divide both sums by the same quantity, which is “total number of observations”. So a confusion arises, as to which sum gives the accurate picture.
4. Consider the two series below:
   ♦ 35, 40, 47, 50, 54, 60, 65, 68, 72, 79
   ♦ 5, 8, 47, 50, 54, 60, 65, 68, 72, 79
• In the first series, the observations are more or less evenly distributed about the median.
• In the second series, the median will not represent the true nature because, two extreme values (5 and 8) are present. In such a series, if we use the deviations about median, we will get inaccurate results.


• Based on the limitations mentioned above, we can write:
An improved method is necessary to measure dispersion.
Standard deviation is such an improved method, which is widely used in science, engineering, economics, business studies and sociology.


Variance and Standard deviation

This can be explained in 22 steps:
1. Recall that, for calculating mean deviation, we used the absolute values of the deviations. This was necessary to prevent the cancellation between +ve and -ve values.
• By taking the absolute values, we could ensure that only non-negative values come into the calculations.
2. There is another method to ensure the presence of only non-negative values:
Taking squares of the deviations.
3. Consider a series with n observations.
   ♦ Let $x_1, x_2, x_3, x_4,~.~.~.~, x_n$ be those n observations.
   ♦ Let $\bar{x}$ be the mean of those n observations.
• Then the deviations will be:
$(x_1 - \bar{x}), (x_2 - \bar{x}), (x_3 - \bar{x}), (x_4 - \bar{x}),~.~.~.~, (x_n - \bar{x})$
• So the squares of the deviations will be:
$(x_1 - \bar{x})^2, (x_2 - \bar{x})^2, (x_3 - \bar{x})^2, (x_4 - \bar{x})^2,~.~.~.~, (x_n - \bar{x})^2$
4. Now we can write the sum of those squares:
$(x_1 - \bar{x})^2~+~(x_2 - \bar{x})^2~+~(x_3 - \bar{x})^2~+~(x_4 - \bar{x})^2~+~.~.~.~+~ (x_n - \bar{x})^2~=~\sum{(x_i - \bar{x})^2}$
5. Consider the sum in the above step (4).
• No term in the L.H.S can become -ve. This is because, all terms are squares.
• Each term in the L.H.S will be either zero or +ve.
• Then, if the R.H.S is zero, it means that each term in the L.H.S is zero.
6. Suppose that, the R.H.S is zero.
Then we can write:

$\begin{array}{ll}
{\text{(i)}}&{(x_1 - \bar{x})^2}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_1 - \bar{x}}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_1}
& {~=~}& {\bar{x}}
&{} \\

{\text{(ii)}}&{(x_2 - \bar{x})^2}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_2 - \bar{x}}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_2}
& {~=~}& {\bar{x}}
&{} \\

{\text{(iii)}}&{(x_3 - \bar{x})^2}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_3 - \bar{x}}
& {~=~}& {0}
&{} \\

{\Rightarrow}&{x_3}
& {~=~}& {\bar{x}}
&{} \\

\end{array}$

- - -
- - -
so on . . .

7. Based on the above step (6), we can write:
• If the sum of the squares of the deviations is zero, then each observation will be equal to $\bar{x}$
   ♦ That means, every observation is the same.
   ♦ That means, there is no dispersion.
• So we can write:
If the sum of the squares of the deviations is zero, then the series has no dispersion.
8. Consider again, the result in (4).
• If the deviations are small, then sum of the squares of the deviations will be small.
• If the deviations are small, then the dispersion of the series is said to be small.
• So we can write:
If the sum of the squares of the deviations is small, then the series has small dispersion.
9. Consider again, the result in (4).
• If the deviations are large, then sum of the squares of the deviations will be large.
• If the deviations are large, then the dispersion of the series is said to be large.
• So we can write:
If the sum of the squares of the deviations is large, then the series has large dispersion.
10. Let us compile the results in the above steps (7), (8) and (9):
(i) If the sum of squares is zero, then there is no dispersion.
(ii) If the sum of squares is small, then the dispersion is small.
(iii) If the sum of squares is large, then the dispersion is large.
11. Based on the above step (10), we are tempted to conclude that:
Sum of squares of the deviations is a good measure of dispersion.
• But before making such a conclusion, we will look at some examples.
12. As our first example, let us consider the following series of 6 observations:
5, 15, 25, 35, 45, 55
• The table 15.17 below shows the calculations:

Table 15.17

• We can write:
   ♦ $\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{180}{6}~=~30$
   ♦ $\sum{(x_i - 30)^2~=~1750}$
13. As our second example, let us consider the following series of 31 observations:
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45
• The table 15.18 below shows the calculations:

Table 15.18

• We can write:
   ♦ $\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{930}{31}~=~30$
   ♦ $\sum{(x_i - 30)^2~=~2480}$


Note:
• The sum of all items in the column VI is:
(-15)2 + (15)2 + (-14)2 + (14)2 + (-13)2 + (13)2 + . . . + (-1)2 + (1)2 +
• This can be written as:
2[152 + 142 + 132 + . . .  + (1)2]
• In the above result, the portion inside square brackets is:
Sum of the squares of first n natural numbers, where n = 15.
• We have a formula for calculating that sum (details here):
$\sum\limits_{k\,=\,1}^{k\,=\,n}{k^2}~=~\frac{n(2n + 1) (n+1)}{6}$
• Substituting n = 15, we get:
$\sum\limits_{k\,=\,1}^{k\,=\,15}{k^2}~=~\frac{15(30 + 1) (15+1)}{6}~=~\frac{15 × 31  × 16}{6}~=~1240$
• So the sum in column VI = (2 × 1240) = 2480


14. Comparing the results in steps (12) and (13), and based on the knowledge that we acquired so far, we are forced to write this:
Sum of squares is larger for the second example. So the series in the second example has greater dispersion.
15. However, let us plot both the series on the same graph. It is shown in fig.15.3 below:

Fig.15.3

• The green circles denote the six observations in the first example.
• The red diamonds denote the thirty one observations in the second example.
• We see that:
   ♦ The mean in both cases is 30.
   ♦ The six observations of example 1, are dispersed along a wider length of the number line.
   ♦ The thirty one observations of example 2, are dispersed along a narrower length of the number line.
• So we can write:
Example 2 has a lesser dispersion.
16. It is clear that, what we wrote in step (14) is wrong.
◼ How did it become wrong?
• We can write a brief answer in 3 steps:
(i) In the second example, individual deviations are small.
(ii) But compared to the first example, there are a large number of observations.
(iii) So the sum of squares became larger.
17. We must not use sum of squares to measure dispersion.
• Instead, we must modify it in accordance to the number of observations.
• For applying the modification, we must divide the sum by the number of observations ($\sum{f_i}$).
• When we divide the sum by $\sum{f_i}$, we get this:
   ♦ Mean
   ♦ of the
   ♦ squares
   ♦ of the
   ♦ deviations.
18. This mean is called variance. It is denoted by $\sigma^2$. It is read as sigma square.
• We can write:
$\text{Variance}~(\sigma^2) ~=~ \frac{\sum{(x_i- \bar{x})^2}}{\sum{f_i}}$
19. Let us calculate the variance for our examples:
• The variance of our first example will be:
$\frac{1750}{6}~=~291.67$
• The variance of our second example will be:
$\frac{2480}{31}~=~80$
20. We see that, the second example has a smaller variance.
• Based on this, we can write:
Data in the second example has a smaller dispersion.
21. While dealing with variance, we encounter a difficulty related to units. It can be explained using some examples.
Example 1:
This can be written in 2 steps:
(i) Suppose that the observations in a series, are the heights of students in a class.
(ii) Then we will be using two units:
   ♦ Each observation ($x_i$) will be expressed in cm.
   ♦ The mean ($\bar{x}$) will also be expressed in cm.
   ♦ The variance ($\sigma^2$) will be expressed in cm2
Example 2:
This can be written in 2 steps:
(i) Suppose that the observations in a series, are the weights of fruits from a field.
(ii) Then we will be using two units:
   ♦ Each observation ($x_i$) will be expressed in gm.
   ♦ The mean ($\bar{x}$) will also be expressed in gm.
   ♦ The variance ($\sigma^2$) will be expressed in gm2
22. In order to avoid the usage of a unit and it's square, we take the square root of the variance.
• Remember that, there will be a +ve square root and a -ve square root. We must discard the -ve square root.
• The +ve square root of the variance is called standard deviation. It is denoted by $\sigma$.
• So we can write:
$\sigma~=~\sqrt{\frac{\sum{(x_i- \bar{x})^2}}{\sum{f_i}}}$


In the next section, we will see some solved examples.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com