What is Standard Deviation?
In statistics and probability theory, Standard Deviation (symbolized as σ for population or s for sample) measures the extent of dispersion or variability within a set of data values relative to their arithmetic mean.
A low standard deviation indicates that the data points tend to cluster closely around the average (mean), whereas a high standard deviation indicates that data points are spread out across a wide range of values.
Population vs. Sample Standard Deviation Equations
The primary mathematical distinction lies in whether your dataset includes the entire universe of interest (Population) or a subset sample selected to represent that universe (Sample):
1. Population Standard Deviation (σ)
Applied when every member of the population is measured. Uses full count N as the denominator.
Where μ = Population Mean, N = Population Count
2. Sample Standard Deviation (s)
Applied when estimating population parameters from a sample. Uses Bessel's correction (N − 1) to eliminate bias.
Where x̄ = Sample Mean, N - 1 = Degrees of Freedom
Step-by-Step Calculation Example
Let's calculate the Sample Standard Deviation for the dataset: 10, 12, 23, 23, 16, 23, 21, 16 (N = 8):
| Step | Operation | Resulting Value |
|---|---|---|
| Step 1 | Calculate the Mean (x̄ = Σx / N) | 144 / 8 = 18.0 |
| Step 2 | Subtract Mean from each data point (x - x̄) | -8, -6, 5, 5, -2, 5, 3, -2 |
| Step 3 | Square each difference (x - x̄)² | 64, 36, 25, 25, 4, 25, 9, 4 |
| Step 4 | Sum the squared differences Σ(x - x̄)² | Sum = 192 |
| Step 5 | Divide by N - 1 (8 - 1 = 7) for Sample Variance (s²) | 192 / 7 = 27.42857 |
| Step 6 | Take Square Root for Sample SD (s) | √27.42857 = 5.237229 |
Real-World Applications of Standard Deviation
- Industrial Quality Control: Manufacturers track process variation to ensure machined parts, liquid volumes, and component dimensions remain within tight engineering tolerances.
- Meteorology & Climate Analysis: Meteorologists evaluate temperature variations and rainfall dispersion to characterize seasonal stability versus extreme climate volatility.
- Investment Risk Management: In financial portfolio theory, standard deviation quantifies asset price volatility. Comparing historical returns helps investors evaluate risk-adjusted performance (e.g. Sharpe ratio).