Skip to contents

Package and web application

rddapp-package rddapp
Regression Discontinuity Design Application
shiny_run()
Launch the R Shiny App for "rddapp"

Estimation

Functions to estimate treatment effects for RDDs

rd_est()
Regression Discontinuity Estimation
summary(<rd>)
Summarize the Regression Discontinuity
plot(<rd>)
Plot the Regression Discontinuity
predict(<rd>)
Predict the Regression Discontinuity
print(<rd>)
Print the Regression Discontinuity
rd_impute()
Multiple Imputation of Regression Discontinuity Estimation
mrd_est()
Multivariate Regression Discontinuity Estimation
summary(<mrd>)
Summarize the Multivariate Regression Discontinuity
mfrd_est()
Multivariate Frontier Regression Discontinuity Estimation
summary(<mfrd>)
Summarize the Multivariate Frontier Regression Discontinuity
print(<mfrd>)
Print the Multivariate Frontier Regression Discontinuity
plot(<mfrd>)
Plot the Multivariate Frontier Regression Discontinuity
mrd_impute()
Multiple Imputation of Multivariate Regression Discontinuity Estimation
summary(<mrdi>)
Summarize the Multiple Imputation of Multivariate Regression Discontinuity

Power analysis

Functions to estimate power for RDDs

rd_power()
Power Analysis of Regression Discontinuity
summary(<rdp>)
Summarize the Power Analysis of Regression Discontinuity
mrd_power()
Power Analysis of Multivariate Regression Discontinuity
summary(<mrdp>)
Summarize the Power Analysis of Regression Discontinuity

Assumption checks

Functions for assumption and sensitivity checks

dc_test()
McCrary Sorting Test
rd_sens_bw()
Bandwidth Sensitivity Simulation for Regression Discontinuity
rd_sens_cutoff()
Cutoff Sensitivity Simulation for Regression Discontinuity
mrd_sens_bw()
Bandwidth Sensitivity Simulation for Multivariate Regression Discontinuity
mrd_sens_cutoff()
Cutoff Sensitivity Simulation for Multivariate Regression Discontinuity
sens_plot()
Plot the Simulated Estimates for Sensitivity Analyses

Data

Example data sets

CARE
Carolina Abecedarian Project and the Carolina Approach to Responsive Education (CARE), 1972-1992

Internals

Internal functions and helpers

attr_check()
Attrition Checks
bw_ik09()
Imbens-Kalyanaraman 2009 Optimal Bandwidth Calculation
bw_ik12()
Imbens-Kalyanaraman 2012 Optimal Bandwidth Calculation
rd_type()
Determine Type of Regression Discontinuity Design
treat_assign()
Treatment Assignment for Regression Discontinuity
var_center()
Assignment Centering for Multivariate Frontier Regression Discontinuity
wt_kern()
Kernel Weight Calculation
wt_kern_bivariate()
Bivariate Kernel Weight Calculation