Sample vs. Population Standard Deviation With a Worked Example
Learn when to divide by n or n − 1 and work through both calculations with the same three values.
Choose the group your result describes
If you measured every item in the group you want to describe, use population standard deviation. For example, use it for all three delivery times on a particular day if that day is your full scope.
If those three deliveries are observations used to estimate the spread across a larger set of deliveries, use sample standard deviation. A sample calculation requires at least two observations.
Work through the values 2, 4 and 6
The mean is 4. The differences from the mean are −2, 0 and 2. The squared differences are 4, 0 and 4, which add to 8.
For the population, divide 8 by 3. The variance is about 2.667 and its square root is about 1.633. For the sample, divide 8 by 2. The variance is 4 and the standard deviation is 2.
Read the result in the original units
If the data values are minutes, the standard deviation is in minutes and the variance is in square minutes. Identical values give a standard deviation of zero.