Mathwords logoMathwords

Sample Variance Distribution — Definition, Formula & Example

The sample variance distribution is the spread of values that the sample variance S2S^2 takes when you draw many random samples of the same size nn. It is centered at the population variance σ2\sigma^2, and it is skewed to the right, so occasional samples show much more spread than the population really has.

Let X1,…,XnX_1, \dots, X_n be independent and identically distributed N(μ,σ2)N(\mu, \sigma^2), and let S2=1n−1∑i=1n(Xi−Xˉ)2S^2 = \frac{1}{n-1}\sum_{i=1}^{n}(X_i - \bar{X})^2. Then (n−1)S2σ2\frac{(n-1)S^2}{\sigma^2} has a chi-squared distribution with n−1n-1 degrees of freedom, and S2S^2 is independent of Xˉ\bar{X}. Equivalently, S2∼Gamma(shape n−12, scale 2σ2n−1)S^2 \sim \text{Gamma}\left(\text{shape } \frac{n-1}{2},\ \text{scale } \frac{2\sigma^2}{n-1}\right). These exact results require a normal population. One degree of freedom is lost because the deviations are measured from Xˉ\bar{X}, which is estimated from the same data.

Key Formula

If X1,…,Xn∼iidN(μ,σ2):(n−1)S2σ2∼χn−12,E[S2]=σ2,Var⁡(S2)=2σ4n−1\text{If } X_1,\dots,X_n \overset{\text{iid}}{\sim} N(\mu,\sigma^2): \quad \frac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1}, \qquad E[S^2] = \sigma^2, \qquad \operatorname{Var}(S^2) = \frac{2\sigma^4}{n-1}
Where:
  • S2S^2 = Sample variance, computed with divisor n − 1
  • σ2\sigma^2 = Population variance (the true variance being estimated)
  • nn = Sample size; n − 1 is the degrees of freedom
  • χn−12\chi^2_{n-1} = Chi-squared distribution with n − 1 degrees of freedom
  • normality\text{normality} = The chi-square result and the formula Var(S²) = 2σ⁴/(n − 1) hold only for a normal population. E[S²] = σ² holds for any population with finite variance. For non-normal data, Var(S²) depends on the fourth central moment and can be much larger.

Worked Example

Problem: A lathe cuts steel rods. Rod lengths are normally distributed with standard deviation σ=2\sigma = 2 millimeters, so σ2=4\sigma^2 = 4 square millimeters. An inspector measures a random sample of n=11n = 11 rods and computes S2S^2. Above what value of S2S^2 will only 5% of such samples fall?
Step 1: Convert S2S^2 to a chi-square variable with n−1=10n - 1 = 10 degrees of freedom. For reference, S2S^2 has mean 4 and variance 3.2 (in millimeters to the fourth power).
(n−1)S2σ2=10 S24=2.5 S2∼χ102,Var⁡(S2)=2(2)410=3.2\frac{(n-1)S^2}{\sigma^2} = \frac{10\,S^2}{4} = 2.5\,S^2 \sim \chi^2_{10}, \qquad \operatorname{Var}(S^2) = \frac{2(2)^4}{10} = 3.2
Step 2: A chi-square table gives the value with right-tail area 0.05 for 10 degrees of freedom.
P(χ102>18.307)=0.05P\left(\chi^2_{10} > 18.307\right) = 0.05
Step 3: Set 2.5 S2=18.3072.5\,S^2 = 18.307 and solve for S2S^2. Take the square root to express the cutoff as a sample standard deviation.
S2=18.3072.5=7.3228,S=7.3228≈2.706S^2 = \frac{18.307}{2.5} = 7.3228, \qquad S = \sqrt{7.3228} \approx 2.706
Answer: Only 5% of samples of 11 rods will have S2>7.32S^2 > 7.32 square millimeters (equivalently S>2.71S > 2.71 millimeters). The cutoff is nearly double the true variance of 4, which shows how right-skewed the sample variance distribution is for small samples.

Why It Matters

This distribution is the basis for confidence intervals and hypothesis tests about a population variance. Quality-control engineers use it to decide whether a production line's variability has drifted. In a first mathematical statistics course, it is also a building block for the t-distribution and for the F-test, which compares two sample variances.

Common Mistakes

Mistake: Using the chi-square interval for σ2\sigma^2, or the formula Var⁡(S2)=2σ4/(n−1)\operatorname{Var}(S^2) = 2\sigma^4/(n-1), on clearly skewed or heavy-tailed data.
Correction: Both results depend on normality, and unlike t-procedures for means they do not become reliable as nn grows. Check a histogram or normal probability plot first. For non-normal data, use a bootstrap interval or a robust test such as Levene's test.

Related Terms