Density discontinuity testing (a.k.a. manipulation testing) is commonly employed in regression discontinuity designs and other program evaluation settings to detect perfect selfselection (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 pvalues given a prespecified cutoff, rdbwdensity() to perform datadriven bandwidth selection, and rdplotdensity() to construct density plots.
Package details 


Author  Matias D. Cattaneo, Michael Jansson, Xinwei Ma 
Maintainer  Xinwei Ma <x1ma@ucsd.edu> 
License  GPL2 
Version  2.4 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.