statistics

Standard Deviation

Standard deviation measures how spread out a data set is around its mean. A small standard deviation means values cluster tightly; a large one means they are scattered.

For a population of NN values x1,,xNx_1, \ldots, x_N with mean μ\mu, the population standard deviation σ\sigma is

σ=1Ni=1N(xiμ)2.\sigma = \sqrt{\frac{1}{N}\sum_{i=1}^{N}(x_i - \mu)^2}.

For a sample of nn values with sample mean xˉ\bar{x}, divide by n1n - 1 instead of nn — Bessel's correction, an unbiased estimator of population variance.

Standard deviation is in the same units as the original data (unlike variance, which is in squared units), making it directly interpretable. It is the natural "ruler" for normal distributions: roughly 68% of values fall within one standard deviation of the mean, 95% within two, 99.7% within three.

Related resources