Statistics
Sample variance with Bessel's correction
Use when the data is a sample drawn from a larger population. Dividing by n - 1 corrects the downward bias caused by measuring deviations around an estimated mean.
Last updated
The Formula
s^2 = Sum(xi - x-bar)^2 / (n - 1)
Use when the data is a sample drawn from a larger population. Dividing by n - 1 corrects the downward bias caused by measuring deviations around an estimated mean.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| s^2 | Sample variance | squared units | An unbiased estimate of the population variance; 10.0 for the worked values. |
| x-bar | Sample mean | same as data | The average of the sampled observations, computed from those same values. |
| n | Sample size | count | The number of observations; four is used as the divisor when n is five. |
What Each Symbol Means
s^2squared units
Sample variance
An unbiased estimate of the population variance; 10.0 for the worked values.
x-barsame as data
Sample mean
The average of the sampled observations, computed from those same values.
ncount
Sample size
The number of observations; four is used as the divisor when n is five.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate variance page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Variance, filed under Math. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Sample variance with Bessel's correction?
The formula for Sample variance with Bessel's correction is s^2 = Sum(xi - x-bar)^2 / (n - 1). Use when the data is a sample drawn from a larger population. Dividing by n - 1 corrects the downward bias caused by measuring deviations around an estimated mean.
What does each symbol in Sample variance with Bessel's correction stand for?
s^2 is sample variance; x-bar is sample mean; n is sample size.
What units should I use with Sample variance with Bessel's correction?
Substitute s^2 in squared units, x-bar in same as data, n as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Sample variance with Bessel's correction?
Forgetting to square the deviations. The signed deviations from the mean always add to zero, so summing them directly gives a meaningless answer of 0. Squaring removes the signs and is what makes the measure of spread possible in the first place.