Pooled Standard Deviation Calculator

Calculate pooled SD for two groups.

Enter sample sizes and standard deviations for at least 2 groups

Try an example above to get started

What Is Pooled Standard Deviation?

Pooled standard deviation combines the variability from two samples into a single estimate of the common population standard deviation. It's used when we assume both populations have the same variance but different means.

The formula:

Sp=(n1βˆ’1)s12+(n2βˆ’1)s22n1+n2βˆ’2S_p = \sqrt{\frac{(n_1-1)s_1^2 + (n_2-1)s_2^2}{n_1 + n_2 - 2}}

This is a weighted average of the two sample variances, with larger samples contributing more to the estimate.

When to Use Pooled SD

Pooled standard deviation is required for:

  1. Two-sample t-tests (pooled variance method)
  2. Confidence intervals for the difference in means
  3. Cohen's d effect size calculation
  4. Analysis of variance (ANOVA)

The key assumption: both populations have equal variance (homoscedasticity).

The Logic Behind Pooling

If two populations have the same variability (σ₁ = Οƒβ‚‚ = Οƒ), why estimate Οƒ twice? Pooling combines information from both samples for a more precise estimate.

Think of it as averaging two estimates, where each estimate's weight depends on its sample size minus one (the degrees of freedom).

Example:

Group 1: n₁ = 30, s₁ = 10 Group 2: nβ‚‚ = 20, sβ‚‚ = 12

SpΒ² = [(29)(100) + (19)(144)] / (30 + 20 - 2) SpΒ² = [2900 + 2736] / 48 SpΒ² = 117.4 Sp = 10.83

The pooled SD (10.83) is between the two sample SDs (10 and 12), closer to the larger sample's value.

Equal Variance Assumption

Pooling requires assuming σ₁ = Οƒβ‚‚. When is this reasonable?

Generally safe:

  • Sample SDs within 2:1 ratio (e.g., s₁ = 10, sβ‚‚ = 15)
  • Similar sample sizes
  • Theoretical reason to expect equal variance

Questionable:

  • SD ratio exceeds 2:1
  • Very different sample sizes AND different SDs
  • Inherently different populations

When equal variance is doubtful, use Welch's t-test instead, which doesn't require pooling.

Applications

Two-Sample T-Test

The pooled t-test statistic:

t=xΛ‰1βˆ’xΛ‰2SpΓ—1n1+1n2t = \frac{\bar{x}_1 - \bar{x}_2}{S_p \times \sqrt{\frac{1}{n_1} + \frac{1}{n_2}}}

The denominator is the standard error of the difference in means, calculated using pooled SD.

Cohen's d Effect Size

Cohen's d standardizes the mean difference:

d=xΛ‰1βˆ’xΛ‰2Spd = \frac{\bar{x}_1 - \bar{x}_2}{S_p}

This enables comparison across studies with different scales.

Confidence Intervals

The CI for difference in means uses:

CI=(xΛ‰1βˆ’xΛ‰2)Β±tβˆ—Γ—SpΓ—1n1+1n2CI = (\bar{x}_1 - \bar{x}_2) \pm t^* \times S_p \times \sqrt{\frac{1}{n_1} + \frac{1}{n_2}}

Power Analysis

Sample size planning for comparing means often uses pooled SD from pilot data or similar studies.

The Formula Explained

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}

Numerator: Sum of squared deviations from each group

  • (n₁-1)s₁² = Sum of squared deviations in group 1
  • (nβ‚‚-1)sβ‚‚Β² = Sum of squared deviations in group 2
  • Adding them combines all squared deviations

Denominator: Total degrees of freedom

  • Each sample loses 1 df for estimating its mean
  • Total: (n₁-1) + (nβ‚‚-1) = n₁ + nβ‚‚ - 2

Result: Average squared deviation (variance), then square root for SD

Special Cases

Equal Sample Sizes

When n1=n2=nn_1 = n_2 = n:

Sp=s12+s222S_p = \sqrt{\frac{s_1^2 + s_2^2}{2}}

Simple average of the variances (then square root).

One Sample Much Larger

When n₁ >> nβ‚‚:

Sp β‰ˆ s₁

The larger sample dominates the estimate.

Identical Sample SDs

When s₁ = sβ‚‚ = s:

Sp = s

Pooling doesn't change the estimate.

Historical Context

The pooled variance approach was developed as part of the two-sample t-test framework in the early 20th century.

Ronald Fisher formalized the analysis of variance (ANOVA), which generalizes pooled variance to multiple groups. His work established the equal variance assumption and methods for testing it.

George Snedecor and William Cochran popularized the methods in their influential textbook "Statistical Methods" (1937), which trained generations of researchers.

B.L. Welch (1947) developed the alternative approach for unequal variances, recognizing that the pooled method could be misleading when the assumption was violated.

Testing the Equal Variance Assumption

Levene's test: Tests whether variances are significantly different. Sensitive to non-normality.

F-test for equality of variances: Ratio of larger to smaller variance. Assumes normality.

Rule of thumb: If the ratio of larger to smaller SD is less than 2, pooling is usually acceptable.

Modern advice: Many statisticians recommend always using Welch's method (which doesn't assume equal variances), since it performs nearly as well as the pooled method when variances are equal and much better when they're not.

Extending to Multiple Groups

For k groups (ANOVA context):

Sp2=βˆ‘i=1k(niβˆ’1)si2βˆ‘i=1k(niβˆ’1)S_p^2 = \frac{\sum_{i=1}^{k}(n_i-1)s_i^2}{\sum_{i=1}^{k}(n_i-1)}

This extends the pooled variance to combine multiple samples, used in the denominator of the F-statistic.

Related Calculations

Summary

Pooled standard deviation combines two sample standard deviations into a single estimate of common population variability. It's a weighted average where each sample's contribution depends on its size. Required for the pooled two-sample t-test, Cohen's d, and related analyses, the pooled SD assumes equal population variances. When this assumption is questionable, Welch's t-test provides a robust alternative that doesn't require pooling. The pooled SD is larger than both sample SDs only if they're equal; otherwise, it falls between them, closer to the larger sample's value.