rddapp provides a set of functions for the analysis of the regression-discontinuity design (RDD).
The three main parts are:
The package estimates treatment effects from RDDs for the following designs and approaches:
Given input from the user about desired Type I error rate and assumptions about the population, the package allows estimation of power for the following designs:
The package allows the user to perform a variety of assumption and sensitivity checks, including:
# Install the released version from CRAN
install.packages("rddapp")
# Or the development version from GitHub:
# install.packages("devtools")
# devtools::install_github("felixthoemmes/rddapp")
install.packages("rddapp", repos = c('https://felixthoemmes.r-universe.dev', 'https://cloud.r-project.org'))