Variance
First taught in High school statistics
Definition
The variance of a data set is the average of the squared distances of the values from the mean. It measures how spread out the data is.
Advertisement
For a population with mean :
For a sample, divide by instead, and write .
Example: 2, 4, 4, 4, 5, 5, 7, 9 (mean 5)
| 2 | 4 | 4 | 4 | 5 | 5 | 7 | 9 | |
|---|---|---|---|---|---|---|---|---|
| 9 | 1 | 1 | 1 | 0 | 0 | 4 | 16 |
The variance is in squared units (if the data is in cm, the variance is in cm²), which is hard to picture. Taking the square root gives the standard deviation, back in the original units: .