# Two One-Sided Test (TOST) in Excel

## QI Macros Add-in Makes it Easy to Conduct a TOST Test in Excel

### When to use a Two One-Sided Test for Equivalence

While measurements at different times or using different formulations can vary, it's often useful to determine if the two measurements produce equivalent results. Traditional hypothesis testing seeks to determine if means are the same or different, but it can have false positives. Equivalence testing determines an interval where the means can be considered equivalent.

The Two One-Sided Test uses two t-tests assuming equal variances with a hypothesized mean difference (u1-u2 = interval).

Note: Excel does not do equivalence tests; QI Macros adds this functionality.

### Two One-Sided Test Excel Using QI Macros

Adhesive tape is measured immediately after production and 24 hours later. Are the measurements equivalent at these two different points in time? If they are, one measurement can be eliminated, saving time and money.

Define the two null and alternate Hypotheses for equivalence:

• The null hypothesis H01 is that the mean difference (x1-x2) <= 0.8
• The alternative hypothesis H11a is that the mean difference > 0.8
• The null hypothesis H02 is that the mean difference (x1-x2) >= 0.8
• The alternative hypothesis H12a is that the mean difference < 0.8

#### Conduct the Test

Now, conduct a test using S1 and S2 (in that order, E1:F13). Then copy sample 1 in column G:

### Run a t-Test Assuming Equal Variances of Sample 1 and 2

Now, select the data and click on QI Macros Menu -> Statistical Tools -> T test two sample Assuming Equal Variances:

QI Macros will prompt for a significance level (default = 0.05 or 0.95 depending on the order of S1 and S2) and hypothesized difference in the means(.8):

The t test two-sample assuming equal variances macro will perform the calculations and interpret the results for you (one-tailed p value, 0.028 < 0.05):

### Repeat the t-Test, but reverse the order of S1 and S2 (F1:G13):

The one-tailed p-value, 0.004 < 0.05, so the means are different:

Now here's where it gets interesting...because the one-tailed p-values are both less than 0.05...
the means can be declared equivalent. So, we can eliminate one of the tests.

### Affordable

• Only \$279 USD - less with quantity discounts
• No annual fees
• Free Technical Support

### Easy to Use

• Works Right in Excel
• Interprets Results for You
• Accurate Results Without Worry

### Proven and Trusted

• 100,000 Users in 80 Countries
• Celebrating 20th Anniversary
• Five Star CNET Rating - Virus Free