English

rd2d: Causal Inference in Boundary Discontinuity Designs

Methodology 2026-05-29 v3 Econometrics Computation

Abstract

Boundary Discontinuity (BD) designs are used in empirical research to learn about causal treatment effects along a continuous assignment boundary defined by a bivariate score. These designs are also known as multi-score regression discontinuity (RD) designs, and include geographic RD designs as a prominent example. This article introduces \pkg{rd2d}, a statistical software package for \proglang{R}, \proglang{Python}, and \proglang{Stata} that implements local polynomial estimation and inference for BD designs using either the bivariate score or a univariate signed distance-to-boundary score. The software covers sharp and fuzzy BD designs, providing automatic bandwidth selection, robust bias-corrected pointwise inference, uniform confidence bands, cluster-robust inference with joint or separate fitting conventions, covariate-adjusted efficiency improvements, mass-point checks, and covariance regularization, among other features. We illustrate the package with an empirical application to Opportunity Zones, where eligibility has a strong first-stage effect on designation but no significant effects on early workplace-job growth.

Keywords

Cite

@article{arxiv.2505.07989,
  title  = {rd2d: Causal Inference in Boundary Discontinuity Designs},
  author = {Matias D. Cattaneo and Rocio Titiunik and Ruiqi Rae Yu},
  journal= {arXiv preprint arXiv:2505.07989},
  year   = {2026}
}
R2 v1 2026-06-28T23:30:24.876Z