Package: rd2d
Type: Package
Title: Estimation and Inference for Boundary Discontinuity Designs
Version: 0.1.0
Authors@R: c(
    person(given = "Matias D.", family = "Cattaneo", email = "matias.d.cattaneo@gmail.com", role = c("aut", "cre")),
    person(given = "Rocio", family = "Titiunik", email = "rocio.titiunik@gmail.com", role = "aut"),
    person(given = "Ruiqi Rae", family = "Yu", email = "raeyuuuu@gmail.com", role = "aut"))
URL: https://rdpackages.github.io/, https://github.com/rdpackages/rd2d
BugReports: https://github.com/rdpackages/rd2d/issues
Description: 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>.
Imports: MASS, expm, ggplot2
Suggests: testthat (>= 3.0.0)
License: GPL-2
Encoding: UTF-8
Maintainer: Matias D. Cattaneo <matias.d.cattaneo@gmail.com>
NeedsCompilation: no
Author: Matias D. Cattaneo [aut, cre],
  Rocio Titiunik [aut],
  Ruiqi Rae Yu [aut]
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
Packaged: 2026-05-13 14:22:26 UTC; cattaneo
Repository: CRAN
Date/Publication: 2026-05-14 08:40:02 UTC
Built: R 4.5.2; ; 2026-05-14 09:45:38 UTC; unix
