

comparing the acidity of a liquid to a neutral pH of 7), perform a one-sample t-test. If there is one group being compared against a standard value (e.g.two different species, or people from two separate cities), perform a two-sample t-test (a.k.a. If the groups come from two different populations (e.g.measuring before and after an experimental treatment), perform a paired t-test. If the groups come from a single population (e.g.

One-sample, two-sample, or paired t-test? When choosing a t-test, you will need to consider two things: whether the groups being compared come from a single population or two different populations, and whether you want to test the difference in a specific direction. If your data do not fit these assumptions, you can try a nonparametric alternative to the t-test, such as the Wilcoxon Signed-Rank test for data with unequal variances.

