Standard Deviation Formulas
Standard Deviation Formulas
Standard Deviation
The Standard Deviation is a measure of how spread out numbers are.
The formula actually says all of that, and I will show you how.
9+2+5+4+12+7+8+11+9+3+7+4+12+5+4+10+9+6+9+420
= 14020 = 7
And so μ = 7
Step 2. Then for each number: subtract the Mean and square the
result
So it says "for each value, subtract the mean and square the result", like
this
Example (continued):
(9 - 7)2 = (2)2 = 4
(2 - 7)2 = (-5)2 = 25
(5 - 7)2 = (-2)2 = 4
(4 - 7)2 = (-3)2 = 9
(7 - 7)2 = (0)2 = 0
(8 - 7)2 = (1)2 = 1
But how do we say "add them all up" in mathematics? We use "Sigma": Σ
We want to add up all the values from 1 to N, where N=20 in our case
because there are 20 values:
Example (continued):
We already calculated (x1-7)2=4 etc. in the previous step, so just sum them
up:
= 4+25+4+9+25+0+1+16+4+16+0+9+25+4+9+9+4+1+4+9 = 178
But that isn't the mean yet, we need to divide by how many, which is
done by multiplying by 1/N (the same as dividing by N):
Example (continued):
Example (concluded):
σ = √(8.9) = 2.983...
DONE!
and the "sample" is the 6 bushes that Sam counted the flowers of.
9, 2, 5, 4, 12, 7
But when we use the sample as an estimate of the whole population, the
Standard Deviation formula changes to this:
The symbols also change to reflect that we are working on a sample instead
of the whole population:
So:
x = 6.5
Step 2. Then for each number: subtract the Mean and square the
result
Example 2 (continued):
Example 2 (continued):
Example 2 (concluded):
s = √(13.1) = 3.619...
DONE!
Comparing
Using the whole population we got: Mean = 7, Standard Deviation
= 2.983...
Our Sample Mean was wrong by 7%, and our Sample Standard Deviation
was wrong by 21%.
Why Take a Sample?
Mostly because it is easier and cheaper.
Imagine you want to know what the whole country thinks ... you can't ask
millions of people, so instead you ask maybe 1,000 people.
"You don't have to eat the whole animal to know that the meat is tough."
This is the essential idea of sampling. To find out information about the
population (such as mean and standard deviation), we do not need to look
at all members of the population; we only need a sample.
Summary
The Population Standard Deviation:
The Sample Standard Deviation: