The compare means t-test is used to compare the mean of a variable in one group to the mean of the same variable in one, or more, other groups. ... We use one-tailed tests to evaluate if the available data provide evidence that the difference in sample means between groups is less than (or greater than ) zero.