Two One-Sided Tests (TOST) Equivalence Testing

Two one-sided tests (TOST) procedure to test equivalence for t-tests, correlations, differences between proportions, and meta-analyses, including power analysis for t-tests and correlations. Allows you to specify equivalence bounds in raw scale units or in terms of effect sizes. See: Lakens (2017) .


============== TOSTER v0.3.4 (Release date: 2018-08-05)


  • Added a verbose = FALSE option to all functions.
  • Added Fisher's z transformed CI to output of TOSTr.
  • Cleaned up the text and numeric output of the functions.
  • Renamed some variable names in the TOSTtwo.prop function for similarity with TOSTmeta.
  • Added warnings and error messages for possible incorrect input when using the functions.

============== TOSTER v0.3.3 (Release date: 2018-05-08)


  • Error in order in which p-value 1 and p-value 2 were reported for TOSTr due to incorrect use of abs(r) in function. (thanks to Nils Kroemer and Dan Quintana)
  • Fixed error in powerTOSTr function - instead of based on conversion to d, new function calculates directly from r and is more accurate.
  • Added testthat folder and initial unit tests.

============== TOSTER v0.3.2 (Release date: 2018-04-14)


  • Error in sensitivity analyses of powerTOSTpaired.raw, powerTOSTone.raw, powerTOSTtwo.raw where output was in Cohen's d - now changed to output in raw scores, added sd to examples. (thanks to Lisa DeBruine)
  • Raw power functions still output ceiling N in message, but exact N in output value

============== TOSTER v0.3.1 (Release date: 2018-04-06)


  • Error in TOSTpaired.raw where t-test for TOST multiplied by sdiff (copied from TOSTpaired function) removed. CI were correct, but p-values did not match. Now tests are correct. (thanks to ontogenerator)
  • Changed text in TOSTr function (text copied from t-test script now changed to correlation)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.4 by Daniel Lakens, 3 years ago

Browse source code at

Authors: Daniel Lakens <[email protected]>

Documentation:   PDF Manual  

GPL-3 license

Imports stats, graphics, jmvcore, ggplot2, R6

Suggests knitr, rmarkdown

See at CRAN