rddensity: Manipulation Testing Based on Density Discontinuity

Density discontinuity testing (a.k.a. manipulation testing) is commonly employed in regression discontinuity designs and other program evaluation settings to detect perfect self-selection (manipulation) around a cutoff where treatment/policy assignment changes. This package implements manipulation testing procedures using the local polynomial density estimators: rddensity() to construct test statistics and p-values given a prespecified cutoff, rdbwdensity() to perform data-driven bandwidth selection, and rdplotdensity() to construct density plots.

Version: 2.2
Depends: R (≥ 3.1.0)
Imports: ggplot2, lpdensity (≥ 2.2)
Published: 2021-03-04
Author: Matias D. Cattaneo, Michael Jansson, Xinwei Ma
Maintainer: Xinwei Ma <x1ma at ucsd.edu>
License: GPL-2
NeedsCompilation: no
In views: Econometrics
CRAN checks: rddensity results

Documentation:

Reference manual: rddensity.pdf

Downloads:

Package source: rddensity_2.2.tar.gz
Windows binaries: r-devel: rddensity_2.2.zip, r-release: rddensity_2.2.zip, r-oldrel: rddensity_2.2.zip
macOS binaries: r-release (arm64): rddensity_2.2.tgz, r-oldrel (arm64): rddensity_2.2.tgz, r-release (x86_64): rddensity_2.2.tgz, r-oldrel (x86_64): rddensity_2.2.tgz
Old sources: rddensity archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rddensity to link to this page.