At an elementary school, a teacher was interested in the average age and the standard deviation of the ages of the students in the fifth grade. The following data are the ages for a SAMPLE of n=20 fifth grade students. The ages are rounded to the nearest half year:
- 9
- 9.5
- 9.5
- 10
- 10
- 10
- 10
- 10.5
- 10.5
- 10.5
- 10.5
- 11
- 11
- 11
- 11
- 11
- 11
- 11.5
- 11.5
- 11.5
The sample average age is 10.53 years, rounded to 2 places.
The variance may be calculated by using a table. Then the standard deviation is calculated by taking the square root of the variance. We will explain the parts of the table after calculating
.
Data |
Freq. |
Deviations |
|
(Freq.)(
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The
sample variance
is equal to the sum of the last column (9.7375) divided by the total number of data values minus one (20 - 1):
The
sample standard deviation
is equal to the square root of the sample variance:
Rounded to two decimal places,
Typically, you do the calculation for the standard deviation on a calculator or computer. Also note that we only rounded at the end of the calculation. The intermediate results are not rounded; this is done for accuracy.
Verify the mean and standard deviation calculated above using a calculator or computer.
- For the TI-83,83+,84+, enter data into the list editor.
- Put the data values in list L1 and the frequencies in list L2.
- STAT CALC 1-VarStats L1, L2
-
=10.525
- Use Sx because this is sample data (not a population): Sx=.715891
- For the following problems, recall that
value = mean + (#ofSTDEVs)(standard deviation)
- For a sample:
=
+ (#ofSTDEVs)(s)
- For a population:
=
+ (#ofSTDEVs)(
)
- For this example, use
=
+ (#ofSTDEVs)(s) because the data is from a sample
Find the value that is 1 standard deviation above the mean. Find
.
Find the value that is two standard deviations below the mean. Find
.
Find the values that are 1.5 standard deviations
from (below and above) the mean.
-
-
Explanation of the standard deviation calculation shown in the table
The deviations show how spread out the data are about the mean. The data value 11.5 is farther from the mean than is the data value 11. The deviations 0.97 and 0.47 indicate that. A positive deviation occurs when the data value is greater than the mean. A negative deviation occurs when the data value is less than the mean; the deviation is -1.525 for the data value 9.
If you add up all the deviations, the sum is always zero ; the positive and negative deviations offset each other. (For this example, there are n=20 deviations.) So you cannot simply add the deviations to get the spread of the data. By squaring the deviations, they become positive numbers, and the sum will also be positive. The variance, then, is the average squared deviation.