Standard Deviation and Variance
Standard Deviation and Variance
Standard Deviation
The formula is easy: it is the square root of the Variance. So now you ask,
"What is the Variance?"
Variance
Example
You and your friends have just measured the heights of your dogs (in
millimeters):
The heights (at the shoulders) are: 600mm, 470mm, 170mm, 430mm and
300mm.
Find out the Mean, the Variance, and the Standard Deviation.
Answer:
Mean = 600 + 470 + 170 + 430 + 3005
= 19705
= 394
so the mean (average) height is 394 mm. Let's plot this on the chart:
To calculate the Variance, take each difference, square it, and then average
the result:
Variance
σ2 = 2062 + 762 + (−224)2 + 362 + (−94)25
= 42436 + 5776 + 50176 + 1296 + 88365
= 1085205
= 21704
And the Standard Deviation is just the square root of Variance, so:
Standard Deviation
σ = √21704
= 147.32...
= 147 (to the nearest mm)
And the good thing about the Standard Deviation is that it is useful. Now we
can show which heights are within one Standard Deviation (147mm) of the
Mean:
So, using the Standard Deviation we have a "standard" way of knowing what
is normal, and what is extra large or extra small.
Rottweilers are tall dogs. And Dachshunds are a bit short, right?
Using
We can expect about 68% of values to be within plus-or-minus 1 standard
deviation.
Our example has been for a Population (the 5 dogs are the only dogs we
are interested in).
All other calculations stay the same, including how we calculated the mean.
Formulas
Here are the two formulas, explained at Standard Deviation Formulas if you
want to know more:
If we just add up the differences from the mean ... the negatives cancel the
positives:
4 + 4 − 4 − 44 = 0
That looks good (and is the Mean Deviation), but what about this case:
Oh No! It also gives a value of 4, Even though the differences are more
spread out.
So let us try squaring each difference (and taking the square root at the
end):
√(4 2
) √(644) = 4
+ 42 + (-4)2 + (-4)24 =
√(7 2
) √(904) = 4.74...
+ 12 + (-6)2 + (-2)24 =
That is nice! The Standard Deviation is bigger when the differences are more
spread out ... just what we want.
In fact this method is a similar idea to distance between points, just applied
in a different way.
And it is easier to use algebra on squares and square roots than absolute
values, which makes the standard deviation easy to use in other areas of
mathematics.