Difference between revisions of "Variance"

(Created page with "The <b> variance </b> of a data set is a measure of how "spread out" the data points are in general. ==Formula== ===Population=== For a dataset <math>X = \{ x_1, x_2, x_3, \d...")
 
 
Line 7: Line 7:
 
===Sample===
 
===Sample===
 
Because of <b>Bessel's correction</b> the variance if <math>X</math> is a [[sample]] is calculated according to the slightly different formula <cmath>V = \frac{1}{n-1}\sum_{i=1}^n (x_i - \overline{x})^2.</cmath>
 
Because of <b>Bessel's correction</b> the variance if <math>X</math> is a [[sample]] is calculated according to the slightly different formula <cmath>V = \frac{1}{n-1}\sum_{i=1}^n (x_i - \overline{x})^2.</cmath>
 +
 
{{stub}}
 
{{stub}}
 +
[[Category:Statistics]]

Latest revision as of 18:16, 3 March 2022

The variance of a data set is a measure of how "spread out" the data points are in general.

Formula

Population

For a dataset $X = \{ x_1, x_2, x_3, \dots, x_n \}$ with mean $\overline{x}$ the formula for variance if $X$ is a population is \[V = \frac{1}{n}\sum_{i=1}^n (x_i - \overline{x})^2.\] Additionally, $V = \sigma^2$ where $\sigma$ is the population standard deviation.

Sample

Because of Bessel's correction the variance if $X$ is a sample is calculated according to the slightly different formula \[V = \frac{1}{n-1}\sum_{i=1}^n (x_i - \overline{x})^2.\]

This article is a stub. Help us out by expanding it.