Skip to content
← All questions

How do you compute the sample variance using the divisor n-1?

To compute the sample variance using the divisor n-1, you calculate the sum of the squared deviations of each observation from the sample mean. Then, you divide this squared-deviation total by n-1, where n is the sample size.

Conditions

  • You have a sample of observations.
  • You are calculating the variance with divisor n-1.

Reasoning, step by step

  1. Calculate the sample mean.
  2. Compute the squared deviation of each observation from the sample mean.
  3. Sum all the squared deviations.
  4. Divide the sum of squared deviations by n-1.

Example

For the six observations here, the mean is 2 and the squared deviations sum to 6.5. Dividing by n−1n-1 gives 1.3.

Common misconceptions

  • Dividing by n instead of n-1.
  • Using the population mean instead of the sample mean to calculate the deviations.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Find a method

↗

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