What is standard deviation? How is the standard deviation of a set related to variance? Is the standard deviation of a sample different from that of a population, the way it is with variation?

This lesson details the process of calculating standard deviation, and introduces a few examples of its use. After the lesson we’ll review the questions above, using the knowledge we have gained.

### Standard Deviation

**Standard deviation**

For instance, assume the mean of a particular set is 6 and the standard deviation is 4. If you are considering a value of 21, it is probably a very rare occurrence in that set since 21 is nearly 4 standard deviations away from the mean (

Recall from the lesson *Calculating Variance* that calculating the variance of a set involves finding the arithmetic mean, subtracting each data point value from the mean and squaring the result, then finding the sum of the squared results and dividing by either the number of members of the set (population) or the number of members -1 (sample). See the first part of the second Example for a review of finding the variance.

- Once you have the variance of a population, you are practically done finding the SD.
**To find the SD, simply take the square root of the variance**. That’s it!- One important difference between the variance and the standard deviation is that the units associated with variance are the
**square**of the units of the original values, but**the units associated with the standard deviation are the same as the units in the original set.**

We will return to SD in our chapter on “Normal Distribution”, when we will further discuss the uses of the SD of both samples and populations.

#### Calculating Standard Deviation Given Variance

What is the standard deviation of a set with

**Solution:** The standard deviation

In this case we have:

**Calculating the Standard Deviation of a Data Set **

What is the

First find the variation of the set:

μ(mean)=3+4+5+6+7+8+942=6 - Deviations and squared deviations:
3−6=−3→(−3)2=9 4−6=−2→(−2)2=4 5−6=−1→(−1)2=1 6−6=0→(0)2=0 7−6=+1→(+1)2=1 8−6=+2→(+2)2=4 9−6=−3→(−3)2=9

Sum of squared deviations=9+4+1+0+1+4+9=28 Variation=287=4

**Finding the Variance and Standard Deviation **

Katrina wants to use the average scores of the top long jumpers at the 5 schools in her district to predict the average long jumps for top competitors at all schools in her state. Data for her district is below. Find the appropriate variance and standard deviation of the jumps.

Since Katrina intends to generalize from her sample data back to the population of jumpers in her state; we need to find the *sample* variance and corresponding *sample* standard deviation.

- Start by finding the mean distance:
μ=24′10.5′′+24′8.5′′+24′4.25′′+24′1.75′′+23′10.5′′5=24′4.7′′ - As a decimal:
24.39′

- As a decimal:
- Deviations and squared deviations of each value:
24′10.5′′=24.875′:24.875−24.39=.485→(.485)2=.235 24′8.5′′=24.71′:24.71′−24.39′=.32→(.32)2=.102 24′4.25′′=24.35′:24.35′−24.39′=−.04→(−.04)2=.001 24′1.75′′=24.15′:24.15′−24.39′=−.24→(−.24)2=.058 23′10.5′′=23.875′:23.875−24.39′=−.52→(−.52)2=.270

Sum of squared deviations=.235+.102+.001+.058+.270=.666 Sample variance=.6664=.167′ (Remember to divide byn−1 , since this is a sample)Standard deviation=.167−−−−√=.409′=4.9′′

**Earlier Problem Revisited**

What is standard deviation? How is the standard deviation of a set related to variance? Is the standard deviation of a sample different from that of a population, the way it is with variation?

By now you should know that standard deviation is a measure of the spread of data, and is calculated as the square root of the variance. Since variance is calculated slightly differently for a sample than for a population, the deviation will differ similarly.

### Examples

#### Example 1

Find the mean, variance, and standard deviance of set z.

Let’s start by finding the mean, since we will need it to calculate the others:

Now we calculate the deviation of each value from the mean and square it:

Now we sum the squared deviations:

Finally, to get the standard deviation

#### Example 2

Find the mean, variance, and standard variance of the following set.

Start by finding

Next, find the squared variation from the mean for each value:

- \begin{align*}9.1-8.995=0.105 \rightarrow 0.105^2=0.011025 \end{align*}
- \begin{align*}10.1-8.995=1.105 \rightarrow 1.105^2=1.221025\end{align*}
- \begin{align*}8.27-8.995=-0.725 \rightarrow 0.525625^2=0.276281\end{align*}
- \begin{align*}7.9-8.995=-1.095 \rightarrow -1.095^2=1.199025\end{align*}
- \begin{align*}8.6-8.995=-0.395 \rightarrow 0.105^2=0.156025\end{align*}
- \begin{align*}10.0-8.995=1.005 \rightarrow 0.105^2=1.010025\end{align*}

Sum the squared deviations and divide by the number of values to get the variance:

\begin{align*}\sigma^2=\frac{3.873406}{6}=0.6455677 \end{align*}

Finally, take the square root of the variance to get the standard deviation:

\begin{align*}\sigma=\sqrt{0.6455677}=.8034723\end{align*}

#### Example 3

Which of the following sets has the greater standard deviation?

\begin{align*}x=\left \{2,4,6,8,10 \right \} \ y=\left \{3,5,7,9,11,13 \right \}\end{align*}

Follow the same series of steps to find the standard deviation of each set.

- \begin{align*}x=\left \{2,4,6,8,10 \right \} : \mu=6,\sigma^2=10,\sigma=3.16228\end{align*}
- \begin{align*}y=\left \{3,5,7,9,11,13 \right \} : \mu=8, \sigma^2=14,\sigma=3.74166\end{align*}

**Set** **\begin{align*}y\end{align*} has the greater standard deviation**

#### Example 4

Kevin takes a random sample of students in his class, and gets the following values, what is the sample variance and standard deviation of this set?

\begin{align*}a=\left \{ 15,16,16,15,17,17,18,16,17,16,18,18,15\right \}\end{align*}

There are 13 values, with \begin{align*}\mu= 16.46154\end{align*}

- The sum of the squared deviations is: 15.2308, divide by 12 (since this is a sample!), to get the
*sample variance*: \begin{align*}\frac{15.2308}{12}=1.26923\end{align*} - The square root of the sample variance is the sample standard deviation: \begin{align*}\sqrt{1.26923}=1.0824\end{align*}

### Review

Find \begin{align*}\mu, \sigma^2\end{align*} and \begin{align*}\sigma\end{align*}:

1. 265, 280.7, 293, 279, 314.2, 300, 289

2. 7200, 7020, 7165.9, 7100, 7196, 7112, 7116.1

3. 27, 20.3, 30.7, 40, 46, 36, 40, 33

4. 3607, 3600, 3600, 3631, 3600.6

5. 700, 700, 712, 736, 741, 716, 782

6. 3370, 3300.5, 3366, 3306.6, 3310, 3336, 3301.3

Calculate the sample standard deviation:

7. 34.4, 34, 34.7, 34.6, 34, 34.1, 31, 31.3

8. 989.22, 990.6, 992, 996.9, 981.1, 986, 975

9. 10, 16, 10.33, 10.63, 18, 17, 16.36, 10.46

10. 3240, 3260, 3250, 3280, 3280, 3300, 3310, 3270

### Review (Answers)

To view the Review answers, open this PDF file and look for section 5.8.