Equivalence Test for One Proportion (TOST)
Tests whether a proportion x/n lies within the equivalence limits around p₀ – two exact one-sided binomial tests (TOST).
Description
Limits are differences from p₀ (lower < 0 < upper). Lower null hypothesis p ≤ p₀ + lower limit: p = P(X ≥ x | p₀ + lower limit); upper null hypothesis p ≥ p₀ + upper limit: p = P(X ≤ x | p₀ + upper limit). A limit at or beyond 0 or 1 gives a p-value of 0. Overall p = the larger of both; equivalent if p < α. The (Clopper-Pearson) confidence interval has level 1 − 2α. Reference: statsmodels binom_tost; Minitab offers equivalence tests for means only.
Formulas
Assumptions
- Independent Bernoulli trials with constant probability
Limitations
- Equivalence limits are differences; only a passed TOST shows equivalence, a failed one does not.
- Minitab offers equivalence tests for means only; reference is statsmodels
References
- statsmodels 0.14.6: statsmodels.stats.proportion.binom_tost