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 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 bandwidth selection, and rdplotdensity() to construct density plot near the cutoff.

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 bandwidth selection, and rdplotdensity() to construct density plot near the cutoff.

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 the local polynomial density estimators: rddensity() to construct test statistics and p-values given a prespecified cutoff, rdbwdensity() to perform data-driven bandwidth selection, and rdplotdensity() to construct density plots.

c(person(
given = "Patrick",
family = "Anker",
role = "aut",
email = "psanker@nyu.edu",
comment = c(ORCID = "0000-0003-2302-0445")),
person(
given = "Daniel",
family = "Woulfin",
role = c("aut", "cre"),
email = "dw2896@nyu.edu",
comment = c(ORCID = "0000-0001-5502-9861")),
person(
given = "Global TIES for Children",
role = "cph",
comment = "https://steinhardt.nyu.edu/ihdsc/global-ties"))
A direct interface to the underlying XML representation of DDI Codebook 2.5 with flexible API creation.
testthat, covr, knitr, rmarkdown, magrittr
Patrick Anker [aut] (<https://orcid.org/0000-0003-2302-0445>),
Daniel Woulfin [aut, cre] (<https://orcid.org/0000-0001-5502-9861>),
Global TIES for Children [cph]
(https://steinhardt.nyu.edu/ihdsc/global-ties)