Standard Deviation
Measures spread of data around the mean.
Variables
- s
- Sample standard deviation
- x̄
- Mean
Explanation
For an entire population divide by instead of (giving ). About 68% of normally distributed data lie within one standard deviation of the mean.
Example
Data 2, 4, 4, 4, 5, 5, 7, 9 has .
How to use it
- Find the mean .
- Subtract the mean from each value to get the deviations.
- Square each deviation.
- Add the squares.
- Divide by for a sample, or by for a whole population. This is the variance.
- Take the square root.
Another worked example
Sample: 4, 8, 6, 5, 7. The mean is 6. The deviations are and their squares are , totalling 10.
Why ?
A sample's values sit closer to their own mean than to the true population mean, so dividing by underestimates the spread. Dividing by (Bessel's correction) fixes this on average. The difference matters for small samples and fades for large ones.
Interpreting it
- A small standard deviation means values cluster near the mean. A large one means they're spread out.
- It has the same units as the data.
- For roughly normal data, about 68% of values lie within 1 standard deviation of the mean, 95% within 2 and 99.7% within 3.
- Adding a constant to every value doesn't change it. Multiplying every value by multiplies it by .
Shortcut formula
avoids computing each deviation, which is handy on a calculator.
Common mistakes
- Forgetting the square root, which leaves the variance.
- Using when the data are a sample.
- Squaring the sum of deviations instead of summing the squares. The plain deviations always add to zero.
Where it's used
- Finance: the volatility of a stock is the standard deviation of its returns.
- Manufacturing: quality control checks that parts stay within a few standard deviations of target.
- Education: test scores are often reported relative to the mean in standard deviations.
- Science: error bars show the standard deviation or standard error of measurements.
Key takeaways
- It measures typical distance from the mean.
- Use for samples and for populations.
- For normal data, the 68-95-99.7 rule describes the spread.
Try it: Standard Deviation Calculator
Compute sample and population standard deviation and variance step by step.
Practice problems
Try each one first, then open the answer to check your work.
1.Find the population standard deviation of 2, 4, 6.
Show answer
.
2.Find the sample standard deviation of 2, 4, 6.
Show answer
.
3.What is the standard deviation of 5, 5, 5, 5?
Show answer
0. There's no spread.
4.Data have SD 3. Every value is multiplied by 4. Find the new SD.
Show answer
12.
5.Heights have mean 160 and SD 6. Roughly what range holds the middle 95%?
Show answer
148 to 172.
Key terms
- Deviation
- How far a value is from the mean.
- Variance
- The average squared deviation.
- Sample
- A subset of a population.
- Bessel's correction
- Dividing by for a sample.
- Empirical rule
- The 68-95-99.7 rule for normal data.