Use population variance for entire populations, sample variance for data subsets.
Variance is a statistical measurement of the spread between numbers in a data set. It measures how far each number in the set is from the mean (average) and thus from every other number in the set. Variance is the square of standard deviation.
Used when you have data for the entire population:
Variance = sum((xi - mean)^2) / N
Where N is the total number of values in the population.
Used when you have data from a sample of the population:
Variance = sum((xi - mean)^2) / (n - 1)
Where (n - 1) is called Bessel's correction for unbiased estimation.
For data set: 4, 8, 6, 5, 3
Step 1: Mean = (4 + 8 + 6 + 5 + 3) / 5 = 5.2 Step 2: Deviations from mean: 4 - 5.2 = -1.2 8 - 5.2 = 2.8 6 - 5.2 = 0.8 5 - 5.2 = -0.2 3 - 5.2 = -2.2 Step 3: Squared deviations: (-1.2)^2 = 1.44 (2.8)^2 = 7.84 (0.8)^2 = 0.64 (-0.2)^2 = 0.04 (-2.2)^2 = 4.84 Step 4: Sum = 1.44 + 7.84 + 0.64 + 0.04 + 4.84 = 14.8 Step 5: Population Variance = 14.8 / 5 = 2.96 Sample Variance = 14.8 / 4 = 3.7
Measuring investment risk, portfolio volatility, and price fluctuations.
Assessing manufacturing consistency and product uniformity.
Statistical analysis, ANOVA tests, and hypothesis testing.