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 local polynomial density estimators: rddensity() constructs test statistics and p-values given a prespecified cutoff, rdbwdensity() performs data-driven bandwidth selection, and rdplotdensity() constructs density plots.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rddensity")

3.0 by Matias D. Cattaneo, 5 months ago


https://rdpackages.github.io/, https://github.com/rdpackages/rddensity


Report a bug at https://github.com/rdpackages/rddensity/issues


Browse source code at https://github.com/cran/rddensity


Authors: Matias D. Cattaneo [aut, cre] , Michael Jansson [aut] , Xinwei Ma [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports ggplot2, lpdensity

Suggests testthat


Suggested by artma.


See at CRAN