Density discontinuity test (a.k.a. manipulation test) is commonly employed in regression discontinuity designs and other treatment effect settings to detect whether there is evidence suggesting perfect selfselection (manipulation) around a cutoff where a treatment/policy assignment changes. This package provides tools for conducting the aforementioned statistical test: rddensity() to construct local polynomial based density discontinuity test given a prespecified cutoff, rdbwdensity() to perform bandwidth selection, and rdplotdensity() to construct density plot near the cutoff.
Package details 


Author  Matias D. Cattaneo, Michael Jansson, Xinwei Ma 
Maintainer  Xinwei Ma <[email protected]> 
License  GPL2 
Version  0.2.2 
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.