Why this answer
- Mean. Add the 8 values and divide by 8: 40 ÷ 8 = 5.
- Distances from the mean, squared. −3² = 9, −1² = 1, −1² = 1, −1² = 1, 0² = 0, 0² = 0, 2² = 4, 4² = 16. Squaring makes every distance positive and weights far values more.
- Add them. Sum of squares = 32.
- Average them. Divide by n − 1 = 7: 32 ÷ 7 = 4.571429. Dividing by n − 1 corrects for a sample's mean sitting closer to its own data than the true mean does.
- Standard deviation is the square root: √4.571429 = 2.13809, back in the data's own units.