TOPICS
Search

Two-Sample t-Test


The two-sample t-test compares the means of two independent populations using two independent random samples. Welch's form of the test uses

 t=(X^__1-X^__2-Delta_0)/(sqrt(s_1^2/n_1+s_2^2/n_2)),

where Delta_0 is the difference under the null hypothesis, and approximates the null distribution using the Welch-Satterthwaite degrees of freedom.

When the two population variances are assumed equal, the pooled two-sample t-test replaces the denominator by one formed from the pooled variance. The paired t-test is different: it applies a one-sample test to paired differences rather than treating the two samples as independent.


See also

Paired t-Test, Pooled Standard Deviation, Pooled Variance

Explore with Wolfram|Alpha

References

Casella, G. and Berger, R. L. Statistical Inference, 2nd ed. Pacific Grove, CA: Duxbury, 2002.

Cite this as:

Weisstein, Eric W. "Two-Sample t-Test." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Two-Samplet-Test.html

Subject classifications