Standard Deviation and Variance
Standard Deviation and Variance
Standard Deviation and Variance
html#WhySquare
Advanced
The Standard Deviation is a measure of how spread out numbers are.
The formula is easy: it is the square root of the Variance. So now you ask, "What is the
Variance?"
Then for each number: subtract the Mean and square the result (the squared difference).
Then work out the average of those squared differences. (Why Square?)
You and your friends have just measured the heights of your dogs (in millimeters):
1 of 6 9/19/2019, 12:23 PM
Standard Deviation and Variance https://www.mathsisfun.com/data/standard-deviation.html#WhySquare
The heights (at the shoulders) are: 600mm, 470mm, 170mm, 430mm and 300mm.
Find out the Mean, the Variance, and the Standard Deviation.
Answer:
so the mean (average) height is 394 mm. Let's plot this on the chart:
2 of 6 9/19/2019, 12:23 PM
Standard Deviation and Variance https://www.mathsisfun.com/data/standard-deviation.html#WhySquare
To calculate the Variance, take each difference, square it, and then average the result:
Variance
2062 + 762 + (−224)2 + 362 + (−94)2
σ2 =
5
42436 + 5776 + 50176 + 1296 + 8836
=
5
108520
=
5
= 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 ... but don't tell them!
3 of 6 9/19/2019, 12:23 PM
Standard Deviation and Variance https://www.mathsisfun.com/data/standard-deviation.html#WhySquare
68%
−3 −2 −1 +1 +2 +3
Our example has been for a Population (the 5 dogs are the only dogs we are interested in).
But if the data is a Sample (a selection taken from a bigger Population), then the calculation
changes!
All other calculations stay the same, including how we calculated the mean.
Here are the two formulas, explained at Standard Deviation Formulas if you want to know more:
4 of 6 9/19/2019, 12:23 PM
Standard Deviation and Variance https://www.mathsisfun.com/data/standard-deviation.html#WhySquare
4 + 4 − 4 − 4
= 0
4
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):
2 + 42 + 42 + 42
√( 4 ) = √( 64 ) = 4
4 4
2 + 12 + 62 + 22
√( 7 ) = √( 90 ) = 4.74...
4 4
That is nice! The Standard Deviation is bigger when the differences are more spread
5 of 6 9/19/2019, 12:23 PM
Standard Deviation and Variance https://www.mathsisfun.com/data/standard-deviation.html#WhySquare
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.
Return to Top
6 of 6 9/19/2019, 12:23 PM