The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.

rd2d: Estimation and Inference for Boundary Discontinuity Designs

Provides pointwise and uniform estimation and inference methods for boundary discontinuity (BD) designs, a causal inference design that generalizes univariate regression discontinuity (RD) designs to settings with bivariate scores. Implements local polynomial methods for location-based and distance-based analyses, including sharp and fuzzy designs, data-driven bandwidth selection, pointwise confidence intervals, and uniform confidence bands. Methodology is developed in Cattaneo, Titiunik, and Yu (2026) <doi:10.48550/arXiv.2505.05670> for location-based methods and Cattaneo, Titiunik, and Yu (2026) <doi:10.48550/arXiv.2510.26051> for distance-based methods. For an overview and empirical guidance, see Cattaneo, Titiunik, and Yu (2026) <doi:10.48550/arXiv.2511.06474>. The companion software article is Cattaneo, Titiunik, and Yu (2025) <doi:10.48550/arXiv.2505.07989>.

Version: 0.1.0
Imports: MASS, expm, ggplot2
Suggests: testthat (≥ 3.0.0)
Published: 2026-05-14
DOI: 10.32614/CRAN.package.rd2d
Author: Matias D. Cattaneo [aut, cre], Rocio Titiunik [aut], Ruiqi Rae Yu [aut]
Maintainer: Matias D. Cattaneo <matias.d.cattaneo at gmail.com>
BugReports: https://github.com/rdpackages/rd2d/issues
License: GPL-2
URL: https://rdpackages.github.io/, https://github.com/rdpackages/rd2d
NeedsCompilation: no
Materials: NEWS
CRAN checks: rd2d results

Documentation:

Reference manual: rd2d.html , rd2d.pdf

Downloads:

Package source: rd2d_0.1.0.tar.gz
Windows binaries: r-devel: rd2d_0.1.0.zip, r-release: rd2d_0.1.0.zip, r-oldrel: rd2d_0.1.0.zip
macOS binaries: r-release (arm64): rd2d_0.1.0.tgz, r-oldrel (arm64): rd2d_0.1.0.tgz, r-release (x86_64): rd2d_0.1.0.tgz, r-oldrel (x86_64): rd2d_0.1.0.tgz
Old sources: rd2d archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rd2d 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.