Density discontinuity test (a.k.a. manipulation test) is commonly employed in regression discontinuity designs and other program evaluation settings to detect whether there is evidence of perfect self-selection (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 data-driven bandwidth selection, and rdplotdensity
to construct density plot near the cutoff.
For a review on manipulation testing see McCrary (2008).
For more details, and related Stata
and R
packages
useful for analysis of RD designs, visit https://sites.google.com/site/rdpackages.
M.D. Cattaneo, B. Frandsen, and R. Titiunik. (2015). Randomization Inference in the Regression Discontinuity Design: An Application to the Study of Party Advantages in the U.S. Senate. Journal of Causal Inference 3(1): 1-24.
M.D. Cattaneo, M. Jansson and X. Ma. (2018). Manipulation Testing based on Density Discontinuity. Stata Journal 18(1): 234-261.
M.D. Cattaneo, M. Jansson and X. Ma. (2019). Simple Local Polynomial Density Estimators. Journal of the American Statistical Association, forthcoming.
J. McCrary. (2008). Manipulation of the Running Variable in the Regression Discontinuity Design: A Density Test. Journal of Econometrics 142(2): 698-714.