Description
Equivalence Testing Functions.
Description
Contains several functions for equivalence testing and practical significance testing. First, the tsti() command provides an automatic computation of three-sided testing results for a given estimate, standard error, and region of practical equivalence. For details, see Goeman, Solari, & Stijnen (2010) <doi:10.1002/sim.4002> and Isager & Fitzgerald (2024) <doi:10.31234/osf.io/8y925>. Second, the lddtest() command performs logarithmic density discontinuity equivalence testing for regression discontinuity designs. For reference, see Fitzgerald (2025) <doi:10.31222/osf.io/2dgrp_v1>.
README.md
eqtesting: Equivalence testing in R
You can install this package directly into R with the following code:
install.packages("devtools")
library(devtools)
install_github("jack-fitzgerald/eqtesting")
lddtest also relies on the data.table and rdd packages. You can install these dependencies directly into R with the following code:
install.packages("data.table")
install.packages("rdd")
Please cite the papers underlying this package:
Fitzgerald, J. (2025). "The Need for Equivalence Testing in Economics". MetaArXiv, https://doi.org/10.31222/osf.io/d7sqr_v1.
Fitzgerald, J. (2025). "Manipulation Tests in Regression Discontinuity Design: The Need for Equivalence Testing". MetaArXiv, https://doi.org/10.31222/osf.io/2dgrp_v1.
Isager, P., & Fitzgerald, J. (2024). "Three-Sided Testing to Establish Practical Significance: A Tutorial". PsyArXiv, https://doi.org/10.31234/osf.io/8y925.