Skip to content
← All questions

How to calculate the standard deviation of a set of population data?

To calculate the standard deviation of population data, first find the mean of the dataset. Next, compute the population variance by taking the average of the squared differences between each data point and the mean (dividing by the total number of data points, nn). Finally, take the non-negative square root of the variance to obtain the standard deviation.

Conditions

  • The dataset represents a full population, not a sample.
  • The number of data points nn is finite and non-empty.
  • The data values are real numbers.

Reasoning, step by step

  1. Calculate the mean of the data: xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}.
  2. Subtract the mean from each data point and square the result: (xi−xˉ)2(x_i - \bar{x})^2.
  3. Sum all the squared deviations: ∑(xi−xˉ)2\sum (x_i - \bar{x})^2.
  4. Divide the sum of squared deviations by the number of data points nn to find the population variance: σ2=∑(xi−xˉ)2n\sigma^2 = \frac{\sum (x_i - \bar{x})^2}{n}.
  5. Take the non-negative square root of the variance to find the standard deviation: σ=σ2\sigma = \sqrt{\sigma^2}.

Example

For the population data 6, 7, 8, 9, 10, the mean is 8. The population variance is σ12=(6−8)2+(7−8)2+(8−8)2+(9−8)2+(10−8)25=105=2\sigma_1^2 = \frac{(6-8)^2+(7-8)^2+(8-8)^2+(9-8)^2+(10-8)^2}{5} = \frac{10}{5} = 2. The standard deviation is σ1=2≈1.41\sigma_1 = \sqrt{2} \approx 1.41.

Common misconceptions

  • Using n−1n-1 in the denominator instead of nn; this applies to sample variance, not population variance.
  • Forgetting to take the square root of the variance, leaving the answer as the variance itself.
  • Calculating the absolute differences instead of the squared differences.

Watch the explanation

Connected concepts

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.