Equivalence Testing and TOST
Why failing to reject 'no difference' in an ordinary hypothesis test is not proof of equivalence, and how the two one-sided tests (TOST) procedure lets you actually test for it.
Prerequisites: Hypothesis Testing
An ordinary hypothesis test is built to detect a difference, not to confirm equivalence — "we failed to reject the null of no difference" just as often means the test was underpowered as it means the two things really are the same. If a backtest wants to claim that a faster, cheaper execution algorithm produces essentially the same fill quality as the current one, a standard t-test that fails to find a significant difference is weak evidence at best, since a small or noisy sample would produce that same non-result even if a meaningful difference existed.
Equivalence testing flips the logic: instead of a null hypothesis of "no difference," it sets the null as "the difference is at least as large as some pre-specified margin," and requires you to actively reject that null to conclude equivalence. The standard way to run this is TOST — two one-sided tests: you separately test whether the difference is significantly above the negative margin and significantly below the positive margin; only if both one-sided tests reject do you conclude the true difference falls inside the equivalence margin with the desired confidence.
Comparing two execution algorithms' average slippage, you might pre-specify an equivalence margin of $0.01 per share as "practically indistinguishable." TOST would test whether the observed slippage difference is significantly less than $0.01 in each direction; passing both sides supports genuine equivalence within that margin, whereas an ordinary t-test's non-significant result alone would not.
"Not statistically significant" is not the same as "equivalent" — TOST tests equivalence directly by requiring the observed difference to be significantly inside a pre-specified margin on both sides, which is the correct tool whenever the actual claim you want to make is "these two things perform about the same," not "we couldn't detect a difference."
Related concepts
Practice in interviews
Further reading
- Schuirmann, A Comparison of the Two One-Sided Tests Procedure, 1987