Variance and standard deviation
Calculate variance and standard deviation with an explicit choice of population or sample.
Calculate the result
Worked example
Problem
For the sample 2, 4, 6, calculate the mean, sample variance, and standard deviation. Explain why we divide by n−1.
The sample 2, 4, 6 has mean 4, sample variance 4 and sample standard deviation 2.
Find the mean
Find the sample variance
Take the square root
Common mistake
For the whole population we divide by n. For the usual sample variance we divide by n−1, so we need at least two values.
