Skip to content

rddapp: Regression Discontinuity Design Application

Notifications You must be signed in to change notification settings

wliao229/rddapp

 
 

Repository files navigation

rddapp

Travis-CI Build Status Downloads Cran Build R-CMD-check

Overview

rddapp provides a set of functions for the analysis of the regression-discontinuity design (RDD).

The three main parts are:

  • estimation of effects of interest
  • power analysis
  • assumption checks

Estimation

The package estimates treatment effects from RDDs, for the following designs and approaches:

  • parametric RDD with single assignment variables, both sharp and fuzzy designs
  • non-parametric RDD with single assignment variables, both sharp and fuzzy designs
  • parametric RDDs with two assignment variables, both sharp and fuzzy designs, using univariate, centering, and frontier approaches

Power analysis

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:

  • single assignment RDDs (both sharp and fuzzy) using both parametric and non-parametric estimation
  • multiple-assignment RDDs (both sharp and fuzzy) using various parametric models

Assumption checks

The package allows the user to perform a variety of assumption and sensitivity checks.

  • McCrary's sorting test on the assignment variable
  • Sensitivity to the chosen bandwidth in non-parametric estimation
  • Placebo tests to examine treatment effects at values away from the cut-off
  • Discontinuities in the treatment probability at cut-off
  • Discontinuities for baseline covariates

Installation

# Install the released version from CRAN
install.packages("rddapp")

# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("felixthoemmes/rddapp")

About

rddapp: Regression Discontinuity Design Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.9%
  • R 22.2%
  • Stata 2.8%
  • Other 0.1%