A commonly made mistake when interpreting p-values is to accept the null hypothesis when the resulting p-value isn’t deemed small enough. This not only leads to poor decision making but also to potentially very dangerous consequences: Think of deciding that the unwanted side-effects of a new drug are, on average, the same as the standard drug based on a p-value viewed as “not significant”. As explained in my earlier blog, Never Accept the Null Hypothesis: It’s both Wrong and Dangerous!, failing to demonstrate a difference is not the same as proving no difference.
But sometimes we do want to prove that there’s no difference. For example, in a medical trial when the aim is to demonstrate that a newly developed drug treatment gives the same average treatment response as the generic drug. In such circumstances, equivalence tests come into play.
Equivalence tests are extremely useful when the aim of the study is to demonstrate that two treatment means are effectively the same. Under an equivalence test, the null hypothesis is that the means are different, and the alternative is that they are effectively the same. i.e.,
H0 the means are different
Ha the means are effectively the same
The word “effectively” is key here. We can never prove that two means are exactly the same. So instead, we define a range of values under which the two means are deemed to be, for all intents and purposes, equivalent.
Equivalence tests can be performed using the two one-sided t-tests (TOST) method (assuming that the usual t-test assumptions are valid).
The TOST Method
The TOST method works as follows:
Step 1
Specify the range of differences over which the two means can be regarded as equivalent: [L, U]
Step 2
Calculate the difference between the two means: Δ
Step 3
Perform a one-sided t-test with H0 Δ < L
Step 4
Perform a one-sided t-test with H0 Δ > U
Step 5
Take as the overall p-value the larger of the two p-values. Thus, if both tests are significant, we can conclude that the treatment means are equivalent.
The one-sided alternatives to the equivalence test are known as non-inferiority and non-superiority tests.
A non-inferiority test is used when the aim is to demonstrate that one mean is not unacceptably lower than another. For example, in a plant trial when the aim is to demonstrate that the yield of a crop fed a new, but cheaper, fertilizer is at least as good (i.e., not lower) than the industry standard. With a non-inferiority test, we have the following null and alternative hypotheses:
H0 Δ < L versus Ha Δ ≥ L
Conversely, a non-superiority test is used when the aim is to demonstrate that one mean is not unacceptably higher than another. For example, if a car manufacturer wants to confirm that the greenhouse gas emissions from their new model is no worse (i.e., not higher) than their best-selling low-emission model. For a non-superiority test, the null and alternative hypotheses are:
H0 Δ > U versus Ha Δ ≤ U
Example of an equivalence test using Genstat
Equivalence, non-inferiority and non-superiority tests are readily conducted in Genstat through the T-test and ANOVA menus, or by using the TEQUIVALENCE procedure directly. Let’s see an example.
Endophytes are fungi that naturally live within many grass species. They produce bioactive compounds with beneficial properties for the grass, such as resistance to drought and protection from insects. Unfortunately though, some endophytes are toxic to livestock, so before a new endophyte is used commercially, we must make sure it is safe.
A randomised complete block experiment was conducted to assess the toxicity response of five novel endophytes against the industry standard. The aim of this experiment was to identify novel endophytes with effectively the same mean toxicity measure as the industry standard. Prior to the experiment, experts defined equivalence as the means being within +/- 2.5 units.
In Genstat, after analysing the toxicity measure data using a one-way ANOVA of Endophyte (a factor with six levels) with randomized blocks, we can perform the required equivalence tests, as shown below.

From the output, we see that the p-values associated with two of the novel endophytes are less than 0.05: Novel 1 and Novel 5. Therefore, at the 5% significance level, we can reject the null hypothesis for these two novel endophytes and conclude that they have mean toxicity measures equivalent to that of the industry standard.
Note, there is weak evidence of equivalence to the industry standard for endophyte Novel 2 (p = 0.074) and Novel 3 (p = 0.052).

This conclusion is also evident from looking at the graph of confidence intervals. These lie completely within the equivalence limits for endophytes Novel 1 and 5. Whereas, for both endophytes Novel 2 and 3, the upper confidence limit falls just outside the equivalence range.

As is the case for many statistical analyses, in the example above we have performed multiple comparisons. In particular, we have made five equivalence tests. To reduce the risk of rejecting one or more of our null hypotheses by chance, we might want to correct our testing procedure for multiple comparisons, say by using a Bonferroni correction. In practice, how you should deal with the problem of multiple comparisons really depends on the objectives of your study. You can read more about this topic in the blog: The multiple comparison problem.