Welch's t test
In statistics, Welch's t-test (or Welch-Aspin Test) is a two-sample location test, and is used to check the hypothesis that two populations have equal means. Welch's t-test is an adaptation of Student's t-test, and is intended for use when the two samples have possibly unequal variances. These tests are often referred to as "unpaired" or "independent samples" t-tests, as they are typically applied when the statistical units underlying the two samples being compared are non-overlapping. Welch's t-test is an approximate solution to the Behrens–Fisher problem. It is sometimes referred to as the "Two-sample unpooled t-test for unequal variances" but "Welch's t-test" is preferred for brevity.
Welch's t-test defines the statistic t by the following formula:
Here = , the degrees of freedom associated with the th variance estimate.
Once t and have been computed, these statistics can be used with the t-distribution to test the null hypothesis that the two population means are equal (using a two-tailed test), or the alternative hypothesis that one of the population means is greater than or equal to the other (using a one-tailed test). In particular, the test will yield a p-value which might or might not give evidence sufficient to reject the null hypothesis.
This method also does not give exactly the nominal rate, but is generally not too far off. However, if the population variances are equal, or if the samples are rather small and the population variances can be assumed to be approximately equal, it is more accurate to use Student's t-test.
As this is a widely used method, there are implementations in common statistical packages.
- Welch, B. L. (1947). "The generalization of "Student's" problem when several different population variances are involved". Biometrika 34 (1–2): 28–35. doi:10.1093/biomet/34.1-2.28. MR 19277.
- Daniel Borcard, Lecture Note Appendix: t-test with Welch correction, excerpt from Legendre, P. and D. Borcard. Statistical comparison of univariate tests of homogeneity of variances.
- Sawilowsky, Shlomo S. (2002). "Fermat, Schubert, Einstein, and Behrens–Fisher: The Probable Difference Between Two Means When σ1 ≠ σ2" (PDF). Journal of Modern Applied Statistical Methods 1 (2): 461–472. Retrieved 2014-05-08.