Showing posts with label statistics. Show all posts
Showing posts with label statistics. 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

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

Monday, July 17, 2023

Chapter 15.1 - Mean Deviation

In the previous section, we saw range and it's limitations. In this section, we will see mean deviation.

Mean deviation

This can be written in steps:
1. Mean deviation is: “mean (average) of the deviations”.
   ♦ So first we have to calculate the deviations.
   ♦ Then we calculate the mean of those deviations.
2. How do we calculate the deviations?
The answer can be written in 3 steps:
(i) First write down the value of the central tendency.
• The central tendency to be used, can be either mean or median.
• That central tendency number is represented by the letter ‘a’.
(ii) The values in the data can be represented using the letter ‘x’
• Pick the first value (x1) in the data. Calculate (x1 - a) for that value.
• This (x1 - a) is the deviation of the first value.
(iii) In this way, we must calculate the deviation for all values in the data.    
3. Once all the deviations are calculated, we must find the sum of those deviations.
• This sum, when divided by the number of observations (n = ∑fi) will give the mean deviation.
4. Let us calculate the mean deviation for the batsmen A  and B.
• Let us use the mean as the central tendency. So a = 53 for both A and B.
   ♦ We have to calculate (x-a), which is (x – 53).
   ♦ We have to calculate this (x-53) for all values.
• This is shown in table 15.4 (a) and (b) below:

5. Now we encounter a problem. It can be explained in two steps:
(i) We know that, mean deviation = $\frac{\sum{(x_i - 53)}}{\sum{f_i}}$
   ♦ Where (n = ∑fi) is the number of observations.
(ii) But the sum in the numerator works out to zero for both A and B.
• So the mean deviation will be zero for both A and B.
6. This situation is not unexpected. If we calculate the deviations in this way, the sum will be zero in all problems. Not just for A and B. The reason can be explained in 4 steps:
(i) In the fig.15.2(a) below, the red bars are the observations in a data. The mean of those observations is the one with the arrow mark.

Fig.15.2

• We see that:
   ♦ Some observations are smaller than the mean.
   ♦ Some observations are larger than the mean.
(ii) In fig.b, the yellow bars are the deviations of those observations which are smaller than the mean. These deviations will be -ve.    
(iii) Also in fig.b, the green bars are the deviations of those observations which are larger than the mean. These deviations will be +ve.
(iv) Now we calculate the sum of deviations:
   ♦ The sum of yellow bars
   ♦ will be equal to
   ♦ The sum of green bars.
• The yellow bars are -ve and green bars are +ve. So the total sum of all deviations will be zero.
7. So we have to apply a modification to the deviation. It can be written in 3 steps:
(i) By the term “deviation”, we are referring to the “difference from the central value”.
(ii) In fig.15.2(b) above, the lengths of the yellow bars are -ve deviations.
• But “lengths” are “distances”. They do not have signs.
   ♦ It is the magnitude of those lengths that matters.    ♦ There is no need to put the -ve signs.
(iii) So the modification can be applied by taking the absolute values.
• We can write:
   ♦ The sum used in the numerator
   ♦ must be
   ♦ The sum of absolute values of the deviations.
8. Based on this, we can write the formulas for calculating mean deviation (M.D):
(i) $\text{M.D.(a)}~=~\frac{\sum{(|x_i - a|)}}{\sum{f_i}}$
• If any observation xi is present more than once, it's frequency is greater than 1. So it is better to apply frequency to all observations in general. So the formula becomes:
$\text{M.D.(a)}~=~\frac{\sum{(f_i |x_i - a|)}}{\sum{f_i}}$
• In this formula,
   ♦ "M.D.(a)" indicates that, the mean deviation is taken about the central tendency value "a".
   ♦ ∑fi is the sum of frequencies, which will give the total number of observations.
(ii) If we decide to use the "mean" as the central tendency value, then "a" will become "$\bar{x}$".
• So the formula becomes:
$\text{M.D.}(\bar{x})~=~\frac{\sum{(f_i |x_i - \bar{x}|)}}{\sum{f_i}}$
(iii) If we decide to use the "median" as the central tendency value, then "a" will become "M".
• So the formula becomes:
$\text{M.D.(M)}~=~\frac{\sum{(f_i |x_i - \text{M}|)}}{\sum{f_i}}$


Now we will see some solved examples:
Solved Example 15.1
Find the mean deviation about the mean for the following data:
6,7,10,12,13,4,8,12
Solution:
1. We are asked to find the mean deviation about the mean.
• So our first aim is to find the mean $(\bar{x})$. For that, we can use the first, second and third columns of table 15.5 below:

Table 15.5

• Based on those columns, we can write:
$\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{72}{8}~=~9$
2. Now we can calculate the mean deviation. For that, we can use second, fourth and fifth columns of the table.
• We have:
$\text{M.D.}(\bar{x})~=~\frac{\sum{(f_i |x_i - \bar{x}|)}}{\sum{f_i}}$
• Substituting the values, we get:
$\text{M.D.}(\bar{x})~=~\frac{22}{8}~=~2.75$

Solved Example 15.2
Find the mean deviation about the mean for the following data:
12,3,18,17,4,9,17,19,20,15,8,17,2,3,16,11,3,1,0,5
Solution:
1. We are asked to find the mean deviation about the mean.
• So our first aim is to find the mean $(\bar{x})$. For that, we can use the first, second and third columns of table 15.6 below:

Table.15.6

• Based on the table, we can write:
$\bar{x}~=~\frac{\sum{f_i x_i}}{\sum{f_i}}~=~\frac{200}{20}~=~10$
2. Now we can calculate the mean deviation. For that, we can use second, fourth and fifth columns of the table.
• We have:
$\text{M.D.}(\bar{x})~=~\frac{\sum{(f_i |x_i - \bar{x}|)}}{\sum{f_i}}$
• Substituting the values, we get:
$\text{M.D.}(\bar{x})~=~\frac{124}{20}~=~6.2$

Solved Example 15.3
Find the mean deviation about the median for the following data:
3,9,5,3,12,10,18,4,7,19,21
Solution:
1. We are asked to find the mean deviation about the median.
• So our first aim is to find the median M. For that, we can use the first, second and third columns of the table 15.7 below. The observations are arranged in ascending order.

Table 15.7

• Based on the table, we can write:
Total number of observations = n = ∑fi = 11
• "11" is an odd number. So the position of the median will be:
$\frac{n+1}{2}~=~\frac{11+1}{2}~=~\frac{12}{2}~=~6$
• From the column for cumulative frequency, we see that, the observation at the sixth position is 9.
• So we get: M = 9 
2. Now we can calculate the mean deviation. For that, we can use second, fourth and fifth columns of the table.

• We have:
$\text{M.D.(M)}~=~\frac{\sum{(f_i |x_i - M|)}}{\sum{f_i}}$
• Substituting the values, we get:
$\text{M.D.(M)}~=~\frac{58}{11}~=~5.27$

In the next section, we will see a few more solved examples.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com