Tutorials › Introduction to Statistics › Comparing Pooled and Welch Standard Errors

Two-Sample t Inference · Tutorial 737 of 996

Comparing Pooled and Welch Standard Errors

Learn how pooled and Welch methods calculate uncertainty differently, and compare their consequences for tests of two population means.

Intermediate 9 min read

What You'll Learn

  • Identify the assumptions behind pooled and Welch standard errors.
  • Calculate each method’s standard error and degrees of freedom from the same summaries.
  • Explain why equal sample sizes can give matching standard errors but different degrees of freedom.
  • Compare test statistics and conclusions using a common significance level.
  • Recognize when treating the pooled calculation as appropriate requires an equal-variance assumption.

Why Compare the Two Methods?

When comparing two population means, the observed difference between sample means is only part of the analysis. We also need to quantify its uncertainty. The pooled and Welch two-sample t methods both do this for two independent groups, but they use the sample standard deviations differently. As a result, their standard errors, degrees of freedom, and sometimes their conclusions can differ.

The pooled method is based on the assumption that the two populations have the same variance. Welch’s method does not require that assumption. Comparing the calculations helps reveal what the equal-variance assumption changes; it does not, by itself, establish which model is appropriate for a particular study.

Definition: For independent samples from two populations, let \(\bar{x}_1\) and \(\bar{x}_2\) be the sample means, \(s_1\) and \(s_2\) the sample standard deviations, and \(n_1\) and \(n_2\) the sample sizes. The estimated difference is \(\bar{x}_1-\bar{x}_2\), which estimates the population mean difference \(\mu_1-\mu_2\). The pooled method combines the sample variances under an equal-population-variance assumption. The Welch method estimates the variance of the difference without assuming equal population variances.

What Each Method Calculates

Both methods use the same observed difference, \(\bar{x}_1-\bar{x}_2\). They differ in how they estimate its standard error and in the degrees of freedom used with the resulting t statistic. Under the pooled model, the two populations are assumed to have a common variance, and that variance is estimated by combining the two sample variances.

Pooled calculations: When the population variances are assumed equal, the pooled variance estimate, standard error, degrees of freedom, and t statistic are
$$ s_p^2= \frac{(n_1-1)s_1^2+(n_2-1)s_2^2}{n_1+n_2-2}, \qquad SE_{\text{pooled}}=s_p\sqrt{\frac{1}{n_1}+\frac{1}{n_2}}, \qquad df_{\text{pooled}}=n_1+n_2-2, \qquad t_{\text{pooled}}=\frac{\bar{x}_1-\bar{x}_2}{SE_{\text{pooled}}}. $$

The pooled variance is a weighted average of the two sample variances, with weights based on their degrees of freedom. The calculation treats the resulting common variance estimate as applying to both populations. Welch instead estimates the variance of each sample mean separately and adds those estimates.

Welch calculations: The standard error, approximate degrees of freedom, and t statistic are
$$ SE_{\text{Welch}}= \sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}, \qquad df_{\text{Welch}}= \frac{\left(\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}\right)^2} {\frac{\left(\frac{s_1^2}{n_1}\right)^2}{n_1-1} +\frac{\left(\frac{s_2^2}{n_2}\right)^2}{n_2-1}}, \qquad t_{\text{Welch}}= \frac{\bar{x}_1-\bar{x}_2}{SE_{\text{Welch}}}. $$

Welch’s degrees of freedom are generally not an integer. They approximate the degrees of freedom of a t reference distribution that accounts for the two variance estimates. A smaller degrees of freedom value usually corresponds to a heavier-tailed reference distribution, which can affect a p-value or a critical value.

Conditions Before Comparing the Calculations

Both procedures concern two independent samples and a difference between population means. The observations within each sample should come from a suitable random or representative sampling process, or from a design that supports the intended inference. The two samples must be independent of one another; paired or matched observations require a different analysis. For reliable t inference, each group’s distribution should be reasonably well behaved, particularly when sample sizes are small: strong skewness or extreme outliers can make the t procedures unreliable.

The pooled method has the additional assumption that the two population variances are equal. Welch’s method does not require equal population variances. Neither method makes unequal sample variances proof that the population variances differ: sample variances vary from sample to sample. The decision to pool should rest on whether the equal-variance model is substantively reasonable, not merely on whether the sample standard deviations look similar.

Worked Comparisons

Worked Example: Different Standard Errors and Different Test Conclusions

Suppose two independent hypothetical samples have \(n_1=8\), \(\bar{x}_1=12.65\), and \(s_1=1\), while the second has \(n_2=12\), \(\bar{x}_2=10.00\), and \(s_2=4\). Assume for this example that the sampling and distributional conditions for t inference are reasonable. Compare two-sided tests of \(H_0:\mu_1-\mu_2=0\) with \(H_a:\mu_1-\mu_2\ne 0\), using \(\alpha=0.05\).

The observed difference is \(12.65-10.00=2.65\). First calculate the pooled variance:

$$ s_p^2= \frac{(8-1)(1^2)+(12-1)(4^2)}{8+12-2} = \frac{7+176}{18} = 10.1667. $$

Thus the pooled standard error and test statistic are

$$ SE_{\text{pooled}} = \sqrt{10.1667\left(\frac{1}{8}+\frac{1}{12}\right)} = \sqrt{2.11806} = 1.4554, \qquad t_{\text{pooled}} = \frac{2.65}{1.4554} = 1.821. $$

The pooled degrees of freedom are \(8+12-2=18\). For a two-sided test at the 0.05 level, the critical value is about 2.101. Since \(|1.821|<2.101\), this pooled calculation does not reject \(H_0\) at the 0.05 level.

Now use Welch’s standard error:

$$ SE_{\text{Welch}} = \sqrt{\frac{1^2}{8}+\frac{4^2}{12}} = \sqrt{0.125+1.33333} = \sqrt{1.45833} = 1.2076. $$

The Welch degrees of freedom are

$$ df_{\text{Welch}} = \frac{(1.45833)^2}{\frac{(0.125)^2}{7}+\frac{(1.33333)^2}{11}} \approx 12.98. $$

So \(t_{\text{Welch}}=2.65/1.2076\approx2.195\). The two-sided 0.05 critical value for about 12.98 degrees of freedom is approximately 2.16. Since \(|2.195|>2.16\), Welch’s method rejects \(H_0\) at the 0.05 level. The two calculations lead to different test decisions for these summaries. The group standard deviations are quite different, so the equal-variance assumption behind pooling deserves particular scrutiny. The summaries alone, however, do not prove that the population variances differ.

Worked Example: Equal Sample Sizes, Equal Standard Errors, Different Degrees of Freedom

Consider two independent hypothetical samples, each of size 10, with \(s_1^2=0.4776\), \(s_2^2=1\), and sample means differing by 0.7982. Assume the sampling and distributional conditions are reasonable. Compare the standard errors and degrees of freedom from the two methods.

Welch’s standard error is

$$ SE_{\text{Welch}} = \sqrt{\frac{0.4776}{10}+\frac{1}{10}} = \sqrt{0.14776} = 0.3844. $$

The pooled variance is \(\{9(0.4776)+9(1)\}/18=0.7388\). Therefore,

$$ SE_{\text{pooled}} = \sqrt{0.7388\left(\frac{1}{10}+\frac{1}{10}\right)} = \sqrt{0.14776} = 0.3844. $$

Both methods give \(t\approx0.7982/0.3844=2.077\). But their degrees of freedom differ: the pooled method gives \(10+10-2=18\), whereas Welch’s formula gives approximately 16.00. With 16 degrees of freedom, the two-sided p-value for \(t=2.077\) is \(2P(T_{16}\ge 2.077)\approx0.05427\). It exceeds 0.05, so this Welch test does not reject \(H_0\) at the 0.05 level. The pooled reference distribution also gives a p-value above 0.05 here.

Why Equal Sample Sizes Make the Standard Errors Match

The matching standard errors in the second example are not a coincidence. If both samples have size \(n\), the pooled variance simplifies because both weights are \(n-1\):

$$ s_p^2 = \frac{(n-1)s_1^2+(n-1)s_2^2}{2n-2} = \frac{s_1^2+s_2^2}{2}. $$

Substituting this result into the pooled standard error gives

$$ SE_{\text{pooled}}^2 = \frac{s_1^2+s_2^2}{2}\left(\frac{2}{n}\right) = \frac{s_1^2+s_2^2}{n} = SE_{\text{Welch}}^2. $$

Both standard errors are nonnegative, so equality of their squares means the standard errors themselves are equal. The degrees of freedom need not match: the pooled method always gives \(2n-2\), while Welch’s formula depends on the relative sizes of the two variance contributions. Thus equal sample sizes can make the test statistics identical while still leaving different reference distributions and p-values.

Worked Example: Similar Variability Gives Similar Calculations

Suppose two independent hypothetical samples each have size 12, with standard deviations 3 and 3.2 and sample means differing by 1.5. Assume the sampling and distributional conditions are reasonable. The pooled variance is

$$ s_p^2 = \frac{11(3^2)+11(3.2^2)}{22} = \frac{99+112.64}{22} = 9.62. $$

The pooled standard error is \(\sqrt{9.62(1/12+1/12)}=\sqrt{1.60333}=1.2662\). Welch’s standard error is \(\sqrt{9/12+10.24/12}=\sqrt{1.60333}=1.2662\) as well. Each method therefore gives \(t\approx1.5/1.2662=1.185\). Pooled degrees of freedom are 22; Welch’s are approximately 21.91. The t statistic is well below the two-sided 0.05 critical value for either reference distribution, so both methods lead to the same decision not to reject the null hypothesis. Agreement in this example does not remove the equal-variance assumption from the pooled method.

Interpreting Differences and Avoiding a Common Mistake

A standard error describes the estimated sampling variability of the difference in sample means. If the standard errors differ, the same observed mean difference produces different t statistics: a smaller standard error gives a larger absolute t statistic. Degrees of freedom then affect how that statistic is compared with a t reference distribution. These changes can alter a p-value or confidence interval, and occasionally change a decision at a chosen significance level.

A common mistake is to say, “The pooled and Welch standard errors are close, so the pooled method is valid.” Similar numerical answers do not establish the pooled method’s equal-population-variance assumption. The reverse mistake is to treat different sample standard deviations as proof that the assumption is false. Sample variation can produce different observed standard deviations even when population variances are equal. Choose the method based on the design and whether equal population variances are a defensible model; Welch avoids requiring that assumption.

Key takeaway: Compare both the standard error and degrees of freedom, not just the observed difference. Equal sample sizes guarantee matching pooled and Welch standard errors, but not matching degrees of freedom. When the sample sizes or sample variances differ, the calculations may diverge; pooled inference additionally depends on equal population variances.

Check Your Understanding

Try these questions without looking back.

  1. Which additional population assumption does the pooled method make that Welch’s method does not?
  2. If two samples have equal sizes, what can be concluded about their pooled and Welch standard errors? Does the same conclusion necessarily hold for their degrees of freedom?
  3. Why can the pooled and Welch methods produce different test statistics when their standard errors differ, even though they use the same observed mean difference?
  4. In a two-sided test, a Welch statistic has absolute value 2.195 with about 13 degrees of freedom. If the 0.05 critical value is about 2.16, what is the test decision?
  5. Why is a larger sample standard deviation in one group not, by itself, proof that the two population variances differ?