Mada za sehemu hiiStatisticsMada 2
- Measure Of Central Tendency
- Measure of Dispersion
Dispersion measures how much values in a distribution differ from the average. Dispersion is commonly measured by standard deviation and variance.
Variance measures the spread or scatter of numbers in a dataset. It quantifies how far each number is from the mean. Variance is denoted by (sigma squared) or Var(x). The standard deviation (, sigma) is the positive square root of the variance. It measures the spread of data about the mean. A larger standard deviation indicates greater variability, while a small standard deviation indicates observations are close to the mean. A standard deviation of zero means all observations are equal to the mean.
If represent N observations with mean , then the variance is the average of the squares of the mean deviations:
The variance of an ungrouped dataset is given by:
The standard deviation of an ungrouped dataset is:
Equation (4.19) can be expanded to obtain a simplified form:
Since , then . Also, . Substituting these into the variance equation:
Thus, the simplified formula for variance of ungrouped data is:
The simplified formula for standard deviation of ungrouped data is:
Example 1
Find the variance and standard deviation of 6, 7, 10, 11, 11, 13, 16, 18, 25 correct the answer into two decimal places.
Solution:
Mean
| 6 | -7 | 49 |
| 7 | -6 | 36 |
| 10 | -3 | 9 |
| 11 | -2 | 4 |
| 11 | -2 | 4 |
| 13 | 0 | 0 |
| 16 | 3 | 9 |
| 18 | 5 | 25 |
| 25 | 12 | 144 |
| Sum of | 280 |
Variance:
Standard deviation:
Example 2
Find the variance and standard deviation of the set of data 6, 7, 10, 12, 13, 4, 8, 12.
Solution:
Mean
| x | |
|---|---|
| 6 | 36 |
| 7 | 49 |
| 10 | 100 |
| 12 | 144 |
| 13 | 169 |
| 4 | 16 |
| 8 | 64 |
| 12 | 144 |
| Sum of | 722 |
Variance:
Standard deviation:
Example 3
Find the mean, variance, and standard deviation of the following data set:
| Value () | Frequency () |
|---|---|
| 110 | 12 |
| 130 | 29 |
| 150 | 22 |
| 170 | 4 |
| 190 | 2 |
| 210 | 1 |
Solution:
Mean:
| 110 | 12 | 1320 | -28 | 784 | 9408 |
| 130 | 29 | 3770 | -8 | 64 | 1856 |
| 150 | 22 | 3300 | 12 | 144 | 3168 |
| 170 | 4 | 680 | 32 | 1024 | 4096 |
| 190 | 2 | 380 | 52 | 2704 | 5408 |
| 210 | 1 | 210 | 72 | 5184 | 5184 |
| Sum of | 29120 |
Variance:
Standard deviation:
For grouped data, the variance is calculated using the formula:
where is the total number of observations, is the frequency of the variable, and is the mean of the distribution.
This formula can be expanded as follows:
Since and , we can substitute:
The standard deviation of grouped data is:
Variance using the coding method (where , is an assumed mean, is the class width, and is a coded value):
The standard deviation using the coding method is:
Example 1
Given the following frequency distribution table.
| Class interval | 1 – 4 | 5 – 8 | 9 – 12 | 13 – 16 | 17 – 20 | 21 – 24 | 25 – 28 |
|---|---|---|---|---|---|---|---|
| Frequency | 17 | 6 | 12 | 10 | 21 | 15 | 26 |
Find the mean and standard deviation by using the coding method.
Solution:
Class size , assumed mean .
| Class interval | Class mark () | ||||
|---|---|---|---|---|---|
| 1 – 4 | 2.5 | 17 | -3 | -51 | 153 |
| 5 – 8 | 6.5 | 6 | -2 | -12 | 24 |
| 9 – 12 | 10.5 | 12 | -1 | -12 | 12 |
| 13 – 16 | 14.5 | 10 | 0 | 0 | 0 |
| 17 – 20 | 18.5 | 21 | 1 | 21 | 21 |
| 21 – 24 | 22.5 | 15 | 2 | 30 | 60 |
| 25 – 28 | 26.5 | 26 | 3 | 78 | 234 |
| N | 107 | Sum of | 54 | Sum of |
Mean:
Standard deviation:
Example 2
The scores of 96 students in an Advanced Mathematics test were recorded as follows.
| Marks () | Frequency () |
|---|---|
| 0 < ≤ 10 | 4 |
| 10 < ≤ 20 | 7 |
| 20 < ≤ 30 | 10 |
| 30 < ≤ 40 | 9 |
| 40 < ≤ 50 | 11 |
| 50 < ≤ 60 | 19 |
| 60 < ≤ 70 | 21 |
| 70 < ≤ 80 | 8 |
| 80 < ≤ 90 | 5 |
| 90 < ≤ 100 | 2 |
Use the coding method to calculate each of the following, correct to 2 decimal places:
(a) Mean mark of the scores
(b) Variance of the scores
(c) Standard deviation of the scores
Solution:
Class width , assumed mean .
| Marks | Class Mark | ||||
|---|---|---|---|---|---|
| 0 < ≤ 10 | 4 | 5 | -5 | -20 | 100 |
| 10 < ≤ 20 | 7 | 15 | -4 | -28 | 112 |
| 20 < ≤ 30 | 10 | 25 | -3 | -30 | 90 |
| 30 < ≤ 40 | 9 | 35 | -2 | -18 | 36 |
| 40 < ≤ 50 | 11 | 45 | -1 | -11 | 11 |
| 50 < ≤ 60 | 19 | 55 | 0 | 0 | 0 |
| 60 < ≤ 70 | 21 | 65 | 1 | 21 | 21 |
| 70 < ≤ 80 | 8 | 75 | 2 | 16 | 32 |
| 80 < ≤ 90 | 5 | 85 | 3 | 15 | 45 |
| 90 < ≤ 100 | 2 | 95 | 4 | 8 | 32 |
| N | 96 | Sum of | -47 |
(a) Mean:
(b) Variance:
(c) Standard deviation:
Example 3
The masses in kilograms of 200 students in a certain school were recorded as follows.
| Mass (in kg) | 40 – 44 | 45 – 49 | 50 – 54 | 55 – 59 | 60 – 64 | 65 – 69 |
|---|---|---|---|---|---|---|
| Number of students | 18 | 43 | 51 | 40 | 35 | 13 |
Calculate the mean mass and standard deviation by the coding method.
Solution:
Class width , assumed mean .
| Mass (in kg) | |||||
|---|---|---|---|---|---|
| 40 – 44 | 42 | 18 | -2 | -36 | 72 |
| 45 – 49 | 47 | 43 | -1 | -43 | 43 |
| 50 – 54 | 52 | 51 | 0 | 0 | 0 |
| 55 – 59 | 57 | 40 | 1 | 40 | 40 |
| 60 – 64 | 62 | 35 | 2 | 70 | 140 |
| 65 – 69 | 67 | 13 | 3 | 39 | 117 |
| N | 200 | Sum of | 70 | Sum of |
Mean:
Standard deviation:
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza