Top Qs
Timeline
Chat
Perspective

Welch's t-test

Statistical test of whether two populations have equal means From Wikipedia, the free encyclopedia

Remove ads
Remove ads

In statistics, Welch's t-test, or unequal variances t-test, is a two-sample location test which is used to test the (null) hypothesis that two populations have equal means. It is named for its creator, Bernard Lewis Welch, and is an adaptation of Student's t-test,[1] and is more reliable when the two samples have unequal variances and possibly unequal sample sizes.[2][3] 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. Given that Welch's t-test has been less popular than Student's t-test[2] and may be less familiar to readers, a more informative name is "Welch's unequal variances t-test" — or "unequal variances t-test" for brevity.[3] Sometimes, it is referred as Satterthwaite or Welch–Satterthwaite test.

Remove ads

Assumptions

Student's t-test assumes that the sample means being compared for two populations are normally distributed, and that the populations have equal variances. Welch's t-test is designed for unequal population variances, but the assumption of normality is maintained.[1] Welch's t-test is an approximate solution to the Behrens–Fisher problem.

Calculations

Summarize
Perspective

Welch's t-test defines the statistic t by the following formula:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle s_{\bar{X}_i} = \frac{s_i}{\sqrt{N_i}},}

where and are the -th sample mean and its standard error, with denoting the corrected sample standard deviation, and sample size . Unlike in Student's t-test, the denominator is not based on a pooled variance estimate.

The degrees of freedom associated with this variance estimate is approximated using the Welch–Satterthwaite equation:[4]

This expression can be simplified when :

where is the degrees of freedom associated with the i-th variance estimate.

The statistic is approximately from the t-distribution, since we have an approximation of the chi-square distribution. This approximation is better done when both and are larger than 5.[5][6]

Remove ads

Statistical test

Once t and have been computed, these statistics can be used with the t-distribution to test one of two possible null hypotheses:

  • A two-tailed test, in which the two population means are equal; or
  • A one-tailed test, in which one of the population means is greater than or equal to the other.

The approximate degrees of freedom are real numbers and used as such in statistics-oriented software, whereas they are rounded down to the nearest integer in spreadsheets.

Confidence intervals

Based on Welch's t-test, it's possible to also construct a two sided confidence interval for the difference in means (while not having to assume equal variances). This will be by taking:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://localhost:6011/en.wikipedia.org/v1/":): {\displaystyle CI(\mu_1-\mu_2): \overline{X}_1 - \overline{X}_2 \pm \sqrt{ {s_{\bar{X}_1}^2} + {s_{\bar{X}_2}^2} } \times t_{\nu, 1-\alpha/2}}

Based on the above definitions of and .

Remove ads

Advantages and limitations

Welch's t-test is more robust than Student's t-test and maintains type I error rates close to nominal for unequal variances and for unequal sample sizes under normality. Furthermore, the power of Welch's t-test comes close to that of Student's t-test, even when the population variances are equal and sample sizes are balanced.[2] Welch's t-test can be generalized to more than 2-samples,[7] which is more robust than one-way analysis of variance (ANOVA).

It is not recommended to pre-test for equal variances and then choose between Student's t-test or Welch's t-test.[8] Rather, Welch's t-test can be applied directly and without any substantial disadvantages to Student's t-test as noted above. Welch's t-test remains robust for skewed distributions and large sample sizes.[9] Reliability decreases for skewed distributions and smaller samples, where one could possibly perform Welch's t-test.[10]

Remove ads

Software implementations

More information Language/Program, Function ...
Remove ads

See also

References

Loading content...
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads