Compute pooled variance, pooled standard deviation, standard error, and Cohen's d effect size for two independent samples. Interactive visualization of overlapping distributions.
Pooled variance is a weighted average of the variances from two independent samples, assuming the populations share a common variance (homogeneity of variance assumption). It is the cornerstone of the independent two-sample t-test (equal variance version) and is used to calculate the pooled standard deviation, standard error of the mean difference, and Cohen's d effect size. By pooling information, we obtain a more stable estimate of the population variance than using either sample alone.
Pooled Variance Formula (sₚ²):
sₚ² = [ (n₁ - 1) s₁² + (n₂ - 1) s₂² ] / (n₁ + n₂ - 2)
Pooled Standard Deviation: sₚ = √(sₚ²)
Standard Error: SE = sₚ · √(1/n₁ + 1/n₂)
Cohen's d = (x̄₂ - x̄₁) / sₚ
The formula resembles a weighted average that accounts for sample size and degrees of freedom. Instead of simply averaging variances, we give more weight to larger samples because they provide more reliable estimates. The denominator (n₁ + n₂ - 2) reflects the total degrees of freedom (each variance loses one degree of freedom). The resulting pooled variance is then used to calculate the standard error of the difference between sample means, forming the basis of the t-statistic: t = (x̄₁ - x̄₂) / SE. This calculator also computes Cohen's d, a standardized effect size that expresses the magnitude of the mean difference in pooled standard deviation units: thresholds |0.2| small, |0.5| medium, |0.8| large (Cohen, 1988).
An agronomist tests two fertilizers on crop yield (kg/plot). Group1 (n₁=30, mean=54.2, sd=4.1); Group2 (n₂=28, mean=58.6, sd=5.2). The pooled variance = ((29*16.81)+(27*27.04))/56 = (487.49+730.08)/56 = 21.74, pooled SD = 4.66. Standard error = 4.66 * sqrt(1/30+1/28)=1.23. Cohen's d = (58.6 - 54.2) / 4.66 = 0.94 (large effect). This magnitude shows that Fertilizer B substantially outperforms A. Our interactive graph reveals the overlap in yield distributions and supports the decision.
Our calculator automatically checks for valid inputs (n>1, positive SDs) and warns about potential issues. Use this tool as part of comprehensive statistical analysis.