descriptive statistics
Variance and Standard Deviation
You should know: descriptive statistics
Overview
Variance measures how spread out a set of numbers is by averaging the squared deviations from the mean. The standard deviation is the square root of the variance, which brings the measure back to the original units of the data, making it easier to interpret. A population's variance is denoted σ², and its standard deviation σ; sample statistics use s² and s, with the sample variance dividing by n − 1 (Bessel's correction) rather than n to give an unbiased estimate of the population variance. Both measures are foundational to statistics: larger values indicate data spread widely around the mean, while values near zero indicate data clustered tightly around it.
Intuition
Squaring each deviation from the mean before averaging serves two purposes: it makes negative and positive deviations both contribute positively (so they don't cancel out), and it penalizes large deviations more heavily than small ones. Taking the square root at the end (to get the standard deviation) undoes the squaring's distortion of units — variance of a data set measured in meters is in square meters, but the standard deviation is back in meters, so it can be compared directly to the data and the mean.
Formal Definition
For a population of size N with mean μ, and for a sample of size n with mean x̄:
Worked Examples
Compute the mean.
Compute squared deviations from the mean: (2-5)²=9, (4-5)²=1, (6-5)²=1, (8-5)²=9.
Divide by N=4 for population variance, then take the square root.
Answer: σ² = 5, σ ≈ 2.236.
Practice Problems
Find the population variance and standard deviation of {1, 3, 5, 7, 9}.
A sample of 4 test scores is {70, 80, 90, 100}. Find the sample variance.
Two machines fill bottles with mean volume 500 mL each. Machine A has σ = 2 mL, machine B has σ = 8 mL. Which machine is more consistent, and why?
Quiz
Summary
- Variance averages squared deviations from the mean; standard deviation is its square root, restoring the original units.
- Population variance divides by N; sample variance divides by n − 1 (Bessel's correction) to give an unbiased estimator.
- Larger standard deviation means data is more spread out around the mean; smaller means data clusters tightly around it.
References
- WebsiteWikipedia — Variance
Mathematics