Welch's t-Test — Definition, Formula & Example
Welch's t-test is a two-sample t-test that checks whether two independent groups have different population means. Unlike the pooled version, it does not require the two groups to have the same spread.
Given independent random samples of sizes and from two approximately normal populations, Welch's t-test tests using the statistic . Under , this statistic approximately follows a t-distribution whose degrees of freedom come from the Welch–Satterthwaite equation. The population variances and may differ.
Key Formula
Where:
- = Sample means of groups 1 and 2
- = Sample standard deviations of groups 1 and 2
- = Sample sizes of groups 1 and 2
- = Approximate degrees of freedom (usually not a whole number)
Worked Example
Problem: Two pizza shops time their deliveries. Shop A: 16 deliveries, mean 38 minutes, standard deviation 12 minutes. Shop B: 25 deliveries, mean 26 minutes, standard deviation 20 minutes. The spreads clearly differ. At the 0.05 level (two-tailed), is there evidence that the mean delivery times differ?
Step 1: Use and . Find the standard error. Each group keeps its own variance, with nothing pooled.
Step 2: Compute the t-statistic.
Step 3: Find the Welch degrees of freedom with the formula below. It gives about 38.9, and the two-tailed critical value for 38.9 degrees of freedom is about 2.02. Since , reject (the p-value is about 0.021). The conservative choice gives a critical value of 2.131, and 2.4 still exceeds it.
Answer: Reject the null hypothesis. With and about 38.9 degrees of freedom, there is significant evidence at the 0.05 level that the mean delivery times differ. Shop A's sample mean is 12 minutes longer.
Why It Matters
On the AP Statistics exam, two-sample t-tests and two-sample t-intervals for means are unpooled. That is Welch's method, and calculators run it when you choose "Pooled: No." Many statisticians recommend it as the default two-sample t-test, because it stays reliable when the variances differ and loses little when they are equal.
Common Mistakes
Mistake: Pooling the two variances into one estimate when the groups have clearly different spreads.
Correction: Pooling assumes the two population variances are equal. In the example, pooling gives instead of 2.4, because it lets the larger, more spread-out sample dominate. Unless you have a strong reason to believe the variances are equal, use Welch's unpooled standard error.
