Enter a set of numbers to calculate population or sample variance.
Variance is a measure of variability in statistics that quantifies how far a set of numbers are spread out from their average value. It's an essential concept in data analysis, providing insights into the dispersion of data points.
The formula for variance depends on whether you're calculating for a population or a sample:
1. Population Variance:
2. Sample Variance:
Where:
Let's calculate the sample variance for the dataset: 2, 4, 4, 4, 5, 5, 7, 9
The sample variance is approximately 4.57.
This diagram illustrates the distribution of the example dataset. Each blue dot represents a data point, and the red line represents the mean. The vertical spread of the points from the mean line visually represents the variance in the data.