Mathwords logoMathwords

Pooled Variance — Definition, Formula & Example

Pooled variance is a single estimate of spread that combines the sample variances from two groups. You use it when you believe both populations have the same variance, so each sample is measuring that same variance.

For independent samples of sizes n1n_1 and n2n_2 with sample variances s12s_1^2 and s22s_2^2, the pooled variance sp2s_p^2 is the average of s12s_1^2 and s22s_2^2 weighted by their degrees of freedom, n1−1n_1 - 1 and n2−1n_2 - 1. If the population variances are equal (σ12=σ22=σ2\sigma_1^2 = \sigma_2^2 = \sigma^2), then sp2s_p^2 is an unbiased estimator of σ2\sigma^2 with n1+n2−2n_1 + n_2 - 2 degrees of freedom. It is measured in squared units. Its square root, sps_p, is the pooled standard deviation, which is in the original units of the data.

Key Formula

sp2=(n1−1)s12+(n2−1)s22n1+n2−2s_p^2 = \frac{(n_1 - 1)s_1^2 + (n_2 - 1)s_2^2}{n_1 + n_2 - 2}
Where:
  • sp2s_p^2 = Pooled variance, the combined estimate of the common population variance
  • n1,n2n_1, n_2 = Sizes of the two independent samples
  • s12,s22s_1^2, s_2^2 = Sample variances of the two samples, each computed with its own n − 1 divisor
  • n1+n2−2n_1 + n_2 - 2 = Total degrees of freedom: one is lost for each sample mean

Worked Example

Problem: Two pizza shops record delivery times. Shop A has 11 deliveries with a sample variance of 20 square minutes. Shop B has 21 deliveries with a sample variance of 35 square minutes. Assume the two shops have equal population variances. Find the pooled variance and compare it with the simple average of the two variances.
Step 1: Find the total degrees of freedom. Each sample loses one degree of freedom for its own mean.
n1+n2−2=11+21−2=30n_1 + n_2 - 2 = 11 + 21 - 2 = 30
Step 2: Weight each sample variance by its degrees of freedom and add. Shop B gets twice the weight of Shop A because it has twice as many degrees of freedom.
(11−1)(20)+(21−1)(35)=200+700=900(11-1)(20) + (21-1)(35) = 200 + 700 = 900
Step 3: Divide by the total degrees of freedom. The simple average of the two variances would be 27.5, but the pooled value lands closer to 35 because the larger sample carries more information.
sp2=90030=30vs.20+352=27.5s_p^2 = \frac{900}{30} = 30 \qquad \text{vs.} \qquad \frac{20 + 35}{2} = 27.5
Answer: The pooled variance is sp2=30s_p^2 = 30 square minutes, with 30 degrees of freedom. It is larger than the simple average of 27.5 because Shop B's bigger sample counts more. The pooled standard deviation is 30≈5.48\sqrt{30} \approx 5.48 minutes.

Why It Matters

In statistics courses, pooled variance is the spread estimate inside the pooled (equal-variance) two-sample t test and t interval, where the standard error is sp2(1n1+1n2)\sqrt{s_p^2\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}. The same idea extends to more than two groups. In ANOVA, the mean square error is a pooled variance across all groups. You pool variances, not standard deviations, because variances are what average correctly. You then take the square root at the end to get the pooled standard deviation.

Common Mistakes

Mistake: Using the pooled two-sample t procedure by default for every two-sample problem.
Correction: Pooling is valid only if the population variances are truly equal, and that is rarely known. AP Statistics recommends the unpooled two-sample t procedure unless you have a strong reason to assume equal variances. When the sample spreads differ noticeably, a pooled estimate can give a misleading standard error.

Related Terms