Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Equivalence by two one-sided t tests, or non-inferiority by one, on a difference of means or a ratio of geometric means

stats-equivalence is a method that Drybench's tools and apps run. This page gives each version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, what was not checked, and what changed.

What this page can and cannot show

Level: Checked against a reference; statsmodels and SciPy; NIST StRD for the pooled SD and F only; Lakens' example matched only to its printed rounding. Reference kind: an outside program, statsmodels; NIST StRD AtmWtAg; SciPy, statsmodels 0.15.0; StRD (data content 2003); scipy 1.18.1; certified values, statsmodels; NIST StRD AtmWtAg; SciPy, statsmodels 0.15.0; StRD (data content 2003); scipy 1.18.1; the source's own worked example, Lakens 2017 worked example; SciPy for the bound, Soc Psychol Personal Sci 8:355-362; scipy 1.18.1; a reference program this project wrote itself, second implementation (Python 3.13; NumPy, SciPy distribution functions and mpmath only), 2026-11-14, double precision; t tails from SciPy 1.18.1; the interval's t quantile from SciPy's isf at alpha 1e-9 and from mpmath at 60 digits at alpha 0.4999999; not an outside program.

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

Every method · What the levels mean · How cases are checked

Versions

  • Version 2.0.1 · stats-equivalence@2.0.1 · Checked against a reference

Tools that use it