Tutorials › Introduction to Statistics › Choose Between Welch and Pooled T Procedures

Choosing the Right Procedure · Tutorial 783 of 996

Choose Between Welch and Pooled T Procedures

Learn how sample sizes, group variances, and study context guide the choice between Welch’s and pooled two-sample t procedures.

Intermediate 10 min read

What You'll Learn

  • Identify the common-variance assumption required by a pooled two-sample t procedure.
  • Calculate the pooled standard deviation, standard error, and degrees of freedom.
  • Calculate Welch’s standard error and approximate degrees of freedom.
  • Explain why unequal sample sizes can make a variance mismatch consequential.
  • Choose a procedure using the study context rather than a preliminary variance test.

Why Two Two-Sample t Procedures?

When comparing the means of two independent groups, the estimated difference in sample means is \(\bar{x}_1-\bar{x}_2\). The groups may, however, have different amounts of variability. The choice between a pooled procedure and Welch’s procedure determines how that variability is used to estimate the standard error of the difference.

The pooled procedure combines the two sample variances into one estimate of a shared population variance. Welch’s procedure keeps the variance estimates separate. The distinction matters most when the population variances differ and the sample sizes are unequal: in that setting, pooling can give a misleading standard error, while Welch’s method allows each group’s variance to contribute according to its own sample size.

Definition: The pooled two-sample t procedure estimates one common population variance from both groups and uses \(n_1+n_2-2\) degrees of freedom. Welch’s two-sample t procedure estimates the variance of the difference using each group’s sample variance separately and uses an approximate degrees-of-freedom formula. Both procedures concern the difference between two independent population means.

Models and Formulas

Let group 1 and group 2 be independent samples from two populations. Their sample sizes are \(n_1\) and \(n_2\), their sample means are \(\bar{x}_1\) and \(\bar{x}_2\), and their sample standard deviations are \(s_1\) and \(s_2\). The parameter of interest is \(\mu_1-\mu_2\). The observations should be independent within and between groups, and the quantitative outcome should support a two-sample t analysis—for example, through reasonably well-behaved group distributions or sufficiently large samples. The study design and distributional conditions must be considered before either procedure is used.

The pooled method requires the additional model assumption that the two population variances are equal: \(\sigma_1^2=\sigma_2^2=\sigma^2\). Under that model, the pooled variance estimate is a degrees-of-freedom-weighted average of the two sample variances.

$$ s_p^2=\frac{(n_1-1)s_1^2+(n_2-1)s_2^2}{n_1+n_2-2}, \qquad SE_P=s_p\sqrt{\frac{1}{n_1}+\frac{1}{n_2}}, \qquad t_P=\frac{(\bar{x}_1-\bar{x}_2)-(\mu_1-\mu_2)_0}{SE_P}, \qquad df_P=n_1+n_2-2 $$

Here \((\mu_1-\mu_2)_0\) is the difference specified by a null hypothesis; for a test of equal means it is zero. For an interval estimate, the same standard error and degrees of freedom are used with the appropriate t critical value.

Welch’s method does not impose equal population variances. It estimates the variance of the difference by adding the estimated variance contributions from the two independent groups.

$$ SE_W=\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}, \qquad t_W=\frac{(\bar{x}_1-\bar{x}_2)-(\mu_1-\mu_2)_0}{SE_W} $$

Because the standard error is built from two estimated variances, Welch’s degrees of freedom are generally not an integer and are approximated using the Welch–Satterthwaite formula:

$$ df_W= \frac{\left(\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}\right)^2} {\frac{(s_1^2/n_1)^2}{n_1-1}+\frac{(s_2^2/n_2)^2}{n_2-1}} $$

How Unequal Sample Sizes Affect Pooling

The key issue is not simply that the sample standard deviations differ. It is how the two variance estimates enter the standard error. Welch’s estimated variance for the difference is \(s_1^2/n_1+s_2^2/n_2\). By contrast, the pooled method first averages the sample variances and then multiplies that common estimate by \(1/n_1+1/n_2\).

If the groups have equal sample sizes, these two estimated variances are equal, even if the observed sample variances differ. To see why, set \(n_1=n_2=m\). The pooled variance is \((s_1^2+s_2^2)/2\), so the pooled estimated variance of the difference is \(((s_1^2+s_2^2)/2)(2/m)=(s_1^2+s_2^2)/m\), which is exactly the Welch estimated variance. The degrees of freedom can still differ, but the standard errors match.

When the sample sizes are unequal, the standard errors need not match. The pooled estimate gives each sample variance a weight based on its degrees of freedom, then treats the result as if it applied to both groups. If the smaller group has the larger variance, that common estimate can understate the uncertainty contributed by the small, variable group. If the larger group has the larger variance, pooling can instead overstate the uncertainty. Welch’s method avoids requiring one variance to stand in for both.

$$ \operatorname{Var}(\bar{X}_1-\bar{X}_2) =\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2} $$

This variance identity follows from independence: the variance of a difference of independent random variables is the sum of their variances, and the variance of a sample mean from group \(i\) is \(\sigma_i^2/n_i\). Under the equal-variance model, substituting the common \(\sigma^2\) gives \(\sigma^2(1/n_1+1/n_2)\), the structure used by pooling. If the variances are not equal, that common-variance expression is not the general variance of the difference.

Worked Examples

Worked Example: Similar Variability and Equal Sample Sizes

Suppose two independent groups of 12 hypothetical patients receive different exercise programs. The outcome is change in a fitness score, measured in points. Group 1 has \(\bar{x}_1=8\) points and \(s_1=6\) points; group 2 has \(\bar{x}_2=4\) points and \(s_2=7\) points. Assume the sampling and distributional conditions for a two-sample t analysis are reasonable. The observed standard deviations are fairly similar, and equal sample sizes make the standard-error estimates coincide.

For the pooled method, the variance estimate is

$$ s_p^2=\frac{11(6^2)+11(7^2)}{22} =\frac{396+539}{22} =42.5\ \text{points}^2 $$

Thus \(s_p=\sqrt{42.5}\approx6.519\) points, and

$$ SE_P=6.519\sqrt{\frac{1}{12}+\frac{1}{12}} =6.519\sqrt{\frac{1}{6}} \approx2.661\ \text{points} $$

Welch’s standard error is

$$ SE_W=\sqrt{\frac{36}{12}+\frac{49}{12}} =\sqrt{\frac{85}{12}} \approx2.661\ \text{points} $$

The observed difference is \(8-4=4\) points. For a null difference of zero, either t statistic is \(4/2.661\approx1.503\). The pooled degrees of freedom are \(12+12-2=22\). Welch’s degrees of freedom are approximately \(21.50\). This example shows that with equal sample sizes the standard errors match, while the degrees of freedom may be slightly different.

Worked Example: A Small, High-Variance Group

In a hypothetical comparison of two independent training programs, group 1 has \(n_1=8\), mean score 75 points, and standard deviation \(s_1=12\) points. Group 2 has \(n_2=32\), mean score 70 points, and \(s_2=4\) points. Suppose the within-group distributions are reasonably well behaved for t inference. The smaller group is much more variable, so the equal-variance assumption needed for pooling is not credible from the study context and observed summaries.

Welch’s standard error is

$$ SE_W=\sqrt{\frac{12^2}{8}+\frac{4^2}{32}} =\sqrt{18+0.5} =\sqrt{18.5} \approx4.301\ \text{points} $$

The observed difference is 5 points, so \(t_W=5/4.301\approx1.162\). The approximate degrees of freedom are

$$ df_W= \frac{(18+0.5)^2}{18^2/7+0.5^2/31} =\frac{342.25}{46.294} \approx7.393 $$

For comparison, pooling gives

$$ s_p^2=\frac{7(144)+31(16)}{38} =\frac{1504}{38} \approx39.579\ \text{points}^2, \qquad SE_P=\sqrt{39.579\left(\frac{1}{8}+\frac{1}{32}\right)} \approx2.487\ \text{points} $$

The pooled statistic is \(5/2.487\approx2.011\), with \(df_P=38\). Pooling yields a much smaller standard error here because its common variance estimate is applied to both groups, including the small, highly variable group. The Welch calculation retains that group’s large variance contribution, \(12^2/8=18\), and is the more defensible choice when equal population variances are not plausible.

Worked Example: A Large, High-Variance Group

Consider another hypothetical comparison, this time of two independent classes’ scores in points. Class 1 has \(n_1=8\), mean 82, and \(s_1=4\); class 2 has \(n_2=32\), mean 77, and \(s_2=12\). Assume the outcome distributions are suitable for t inference. Here the larger group has the larger observed variability, again making a shared population variance questionable.

Welch’s standard error and statistic are

$$ SE_W=\sqrt{\frac{4^2}{8}+\frac{12^2}{32}} =\sqrt{2+4.5} =\sqrt{6.5} \approx2.550\ \text{points}, \qquad t_W=\frac{5}{2.550}\approx1.961 $$

Its degrees of freedom are

$$ df_W= \frac{6.5^2}{2^2/7+4.5^2/31} =\frac{42.25}{1.225} \approx34.50 $$

The pooled variance estimate is

$$ s_p^2=\frac{7(16)+31(144)}{38} =\frac{4576}{38} \approx120.421\ \text{points}^2 $$

Therefore \(SE_P=\sqrt{120.421(1/8+1/32)}\approx4.338\) points, and the pooled statistic is \(5/4.338\approx1.153\), with 38 degrees of freedom. In this example pooling gives a larger standard error than Welch’s method. The direction of the discrepancy depends on which group has the larger variance; unequal sample sizes make that relationship important.

A Practical Choice

Welch’s procedure is generally a sound default when comparing two independent means because it does not require equal population variances. Choose the pooled procedure when a common variance is well justified by the scientific setting and the analysis model, not merely because two sample standard deviations look similar. Similar sample standard deviations do not prove equal population variances, especially with small samples.

A preliminary test of whether the variances differ is not a dependable procedure-selection rule. Such a test can have little ability to detect a meaningful variance difference in small samples, and choosing the mean procedure based on that preliminary result can make the overall analysis behave unpredictably. Consider the design, subject-matter knowledge, sample sizes, and observed variability instead.

FeaturePooled procedureWelch procedure
Population variance assumptionRequires equal variancesDoes not require equal variances
Standard errorUses one pooled variance estimateAdds the two separate variance contributions
Degrees of freedom\(n_1+n_2-2\)Approximate; may be non-integer
Unequal sample sizes and variancesCan give a misleading standard errorAccounts for group-specific variance and sample size

Common Mistake

A common mistake is to pool whenever the sample standard deviations are close, or to assume the two procedures are interchangeable because they both use a t statistic. The correction is to state the model assumption explicitly: pooling treats the two population variances as equal. If that assumption is not defensible, especially with unequal sample sizes, use Welch’s method. Also avoid deciding solely from whether a variance test is statistically significant; failure to detect a difference is not evidence that the variances are equal.

Key takeaway: Both procedures compare independent population means, but only pooling assumes a shared population variance. Unequal sample sizes can make a variance mismatch distort the pooled standard error, so Welch’s method is the practical default when equal variances are not well supported.

Check Your Understanding

Use the assumptions and formulas in this tutorial to answer the following questions.

  1. What additional population assumption does the pooled two-sample t procedure make that Welch’s procedure does not?
  2. Why do the pooled and Welch standard errors match when the two sample sizes are equal?
  3. A study has a small group with a much larger standard deviation than a large group. Explain why pooling could underestimate the standard error of the mean difference.
  4. Why does Welch’s procedure usually have a non-integer degrees-of-freedom value?
  5. Why is “the variance test was not significant” not enough by itself to justify pooling?