rddensity
3.0Manipulation Testing Based on Density Discontinuity
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 17%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rdpackages/rddensity on 2026-08-16.
Dependencies
Code & Tests
Datasets
People & History
13 releases. Pick two to compare their code metrics. R releases are shown for context.
- 3.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.62024-10-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.52024-01-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.42023-01-22 · diff ↗
- 2.32022-11-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.22021-03-04 · diff ↗
- 2.12020-09-02 · diff ↗
- 2.02020-08-05 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.02019-07-13 · diff ↗
Package metadata
- First published
- 2017-03-16
- Total releases
- 13 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.1.0
- Bundled data
- 10 KB / 1 file
- Download size
- 45 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rddensity")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.