Learn R Programming

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.

Copy Link

Version

Install

install.packages('eqtesting')

Version

0.1.1

License

CC BY 4.0

Issues

Pull Requests

Stars

Forks

Maintainer

Jack Fitzgerald

Last Published

July 28th, 2025

Functions in eqtesting (0.1.1)

lddtest

Logarithmic density discontinuity equivalence tests for regression discontinuity designs
tst

Function to perform the three-sided testing (TST) procedure (Goeman, Solari, and Stijnen 2010) for a given estimate, and compute relevant confidence intervals for that estimate.