Package: rd2d 1.0.0
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>.
Authors:
rd2d_1.0.0.tar.gz
rd2d_1.0.0.zip(r-4.7)rd2d_1.0.0.zip(r-4.6)rd2d_1.0.0.zip(r-4.5)
rd2d_1.0.0.tgz(r-4.6-any)rd2d_1.0.0.tgz(r-4.5-any)
rd2d_1.0.0.tar.gz(r-4.7-any)rd2d_1.0.0.tar.gz(r-4.6-any)
rd2d_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rd2d/json (API)
NEWS
| # Install 'rd2d' in R: |
| install.packages('rd2d', repos = c('https://mdcattaneo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rdpackages/rd2d/issues
Last updated from:fb40a3b778. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 319 | ||
| source / vignettes | OK | 160 | ||
| linux-release-x86_64 | OK | 154 | ||
| macos-release-arm64 | OK | 110 | ||
| macos-oldrel-arm64 | OK | 136 | ||
| windows-devel | OK | 122 | ||
| windows-release | OK | 130 | ||
| windows-oldrel | OK | 121 | ||
| wasm-release | OK | 95 |
Exports:rd2drd2d.distancerdbw2drdbw2d.distance
Dependencies:clicpp11expmfarverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
