What t-test to use: Student’s or Welch’s?

Imagine we are interested in whether female undergraduate students with blonde or brown hair have different heights, on average. To investigate this, we randomly sample blonde and brown haired female undergraduate students and measure their height. 

Our hypothesis test

H0:μblonde = μbrown

H0:μblonde ≠ μbrown

Test assumptions

Assumptions Student’s t-test Welch’s t-test
Two independent, random samples
alt text
alt text
The two populations have Normal distributions
alt text
alt text
The variances of the two populations are equal
alt text
alt text

Sample size consideration

If the sample sizes are unequal between the two groups, Welch’s t-test performs better than Student’s t-test.

What test to use?

If you have Use
Unequal sample variances and/or unequal sample sizes  Welch’s t-test (also known as the unequal variances t-test) performs better (i.e., is more reliable) than Student’s t-test
Equal population variances and equal sample sizes Student’s t-test has more power than Welch’s t-test 

Performing the test in Genstat

Performing a Student’s t-test or Welch’s t-test in Genstat is straightforward. 

From the menu bar, select Stats | Statistical tests | One- and two-sample t-tests. Then, in the T-Tests menu, set the type of test to Two-sample.

alt text

Running a Student’s t-test in Genstat

We can run a Student’s t-test by clicking the Options button, then selecting Pooled as the method used to estimate the variances for the test. 

alt text

Running a Welch’s t-test in Genstat

To run a Welch’s t-test, in the T-Test Options menu select Separate as the method used to estimate the variances for the test.  

alt text

Picture of The VSNi Team
The VSNi Team

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related articles

How much of the variation in your field trial comes from the treatments, and how much comes from...
What should you do when count data are more variable than your model expects? Vanessa Cave and David...
Precision breeding can deliver scientifically impressive traits, but practical value depends on more than technical success. Owen McIntosh...