# Select the analysis options for 2-Sample t (Options tab)

On the Options tab of the 2-Sample t dialog box, specify the confidence level for the confidence interval, define the alternative hypothesis, or specify whether you can assume equal variances.

## Alternative hypothesis

From Alternative hypothesis, select the hypothesis that you want to test:
Difference < 0

Use this one-sided test to determine whether the difference between the population means of sample 1 and sample 2 is less than 0, and to get an upper bound. This one-sided test has greater power than a two-sided test, but it cannot determine whether the difference is greater than 0.

For example, an engineer uses this one-sided test to determine whether the mean difference in strength of plastic sheeting from two suppliers is less than 0. This one-sided test has greater power to detect whether the difference in strength is less than 0, but it cannot determine whether the difference is greater than 0.

Difference ≠ 0

Use this two-sided test to determine whether the population means differ, and to get a two-sided confidence interval. This two-sided test can detect differences that are less than or greater than 0, but it has less power than a one-sided test.

For example, a bank manager wants to know whether the mean customer satisfaction ratings at two banks differ. Because any difference in the ratings is important, the manager uses this two-sided test to determine whether the rating at one bank is greater than or less than the rating of the other bank.

Difference > 0

Use this one-sided test to determine whether the difference between the population means of sample 1 and sample 2 is greater than 0, and to get a lower bound. This one-sided test has greater power than a two-sided test, but it cannot detect whether the difference is less than 0.

For example, a technician uses a one-sided test to determine whether the mean difference between the speeds of two filling machines is greater than 0 seconds per box. This one-sided test has greater power to detect whether the difference in speed is greater than 0, but it cannot determine whether the difference is less than 0.

For more information on selecting a one-sided or two-sided alternative hypothesis, go to About the null and alternative hypotheses.

## Confidence level

From Confidence level, select the level of confidence for the confidence interval.

Usually, a confidence level of 95% works well. A 95% confidence level indicates that, if you take 100 random samples from the population, the confidence intervals for approximately 95 of the samples will contain the population difference.

For a given set of data, a lower confidence level produces a narrower confidence interval, and a higher confidence level produces a wider confidence interval. The width of the interval also tends to decrease with larger sample sizes. Therefore, you may want to use a confidence level other than 95%, depending on your sample size, as follows:
• If your sample size is small, a 95% confidence interval may be too wide to be useful. Using a lower confidence level, such as 90%, produces a narrower interval. However, the likelihood that the interval contains the population difference decreases.
• If your sample size is large, consider using a higher confidence level, such as 99%. With a large sample, a 99% confidence level may still produce a reasonably narrow interval, while also increasing the likelihood that the interval contains the population difference.

## Assume equal variances

Select Assume equal variances when the variances of the two populations are equal or when the samples are about the same size. If the two population variances are truly equal, then the 2-sample t-test with the assumption of equal variances is slightly more powerful than the 2-sample t-test without the assumption of equal variances. If you assume equal variances when the variances are not equal or when the sample sizes are very different, serious error can occur.

When you assume equal variances, Minitab uses the pooled estimate of the sample standard deviations.

By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy