# Variance

The variance is a measure of the extent of variation in a set of numbers. Where all the numbers are the same, the variance is 0. The greater the variation in the numbers, the greater the variance.

The variance has three roles in survey research:

• As a way of describing the variation in data. For various technical reasons, the variation is a generally a very poor way of describing the degree of variation in the data, and alternative statistics such as the Interquartile Range and the Standard Deviation are generally superior.[note 1]
• As an input into other computations, such as the R-Square.
• As a useful theoretical concept in mathematical statistics, which greatly helps in the development of new statistical tools and in testing the properties of existing tools and techniques.

## Calculation

The most widely used formula is the formula for the sample variance: $\displaystyle{ s^2 = \frac 1n \sum_{i=1}^n \left(x_i - \overline{x} \right)^ 2 }$ where $\displaystyle{ s^2 }$ is the estimated variance in the sample, $\displaystyle{ x_i }$ is the observed value of the $\displaystyle{ i }$ of [/itex]n[/itex] values and $\displaystyle{ \overline{x} }$ is the average value.

Where data is weighted this needs to be reflected in the calculation of the variance.

## References

Template:Reflist
Cite error: <ref> tags exist for a group named "note", but no corresponding <references group="note"/> tag was found