The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
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.
| Version: | 3.0 |
| Depends: | R (≥ 3.1.0) |
| Imports: | ggplot2, lpdensity (≥ 2.2) |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-05-21 |
| DOI: | 10.32614/CRAN.package.rddensity |
| Author: | Matias D. Cattaneo [aut, cre], Michael Jansson [aut], Xinwei Ma [aut] |
| Maintainer: | Matias D. Cattaneo <matias.d.cattaneo at gmail.com> |
| BugReports: | https://github.com/rdpackages/rddensity/issues |
| License: | GPL-3 |
| URL: | https://rdpackages.github.io/, https://github.com/rdpackages/rddensity |
| NeedsCompilation: | no |
| In views: | Econometrics |
| CRAN checks: | rddensity results |
| Reference manual: | rddensity.html , rddensity.pdf |
| Package source: | rddensity_3.0.tar.gz |
| Windows binaries: | r-devel: rddensity_3.0.zip, r-release: rddensity_3.0.zip, r-oldrel: rddensity_3.0.zip |
| macOS binaries: | r-release (arm64): rddensity_3.0.tgz, r-oldrel (arm64): rddensity_3.0.tgz, r-release (x86_64): rddensity_3.0.tgz, r-oldrel (x86_64): rddensity_3.0.tgz |
| Old sources: | rddensity archive |
| Reverse suggests: | artma |
Please use the canonical form https://CRAN.R-project.org/package=rddensity to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.