rdlocrand: Local Randomization Methods for RD Designs

Provides tools to perform randomization inference for RD designs under local randomization: rdrandinf() to perform hypothesis testing using randomization inference, rdwinselect() to select a window around the cutoff in which randomization is likely to hold, rdsensitivity() to assess the sensitivity of the results to different window lengths and null hypotheses and rdrbounds() to construct Rosenbaum bounds for sensitivity to unobserved confounders. See Cattaneo, Titiunik and Vazquez-Bare (2016) <https://rdpackages.github.io/references/Cattaneo-Titiunik-VazquezBare_2016_Stata.pdf> for further methodological details, and references.

Version: 2.0
Depends: R (≥ 3.1)
Imports: AER, sandwich
Published: 2026-05-14
DOI: 10.32614/CRAN.package.rdlocrand
Author: Matias D. Cattaneo [aut, cre], Rocio Titiunik [aut], Gonzalo Vazquez-Bare [aut]
Maintainer: Matias D. Cattaneo <matias.d.cattaneo at gmail.com>
BugReports: https://github.com/rdpackages/rdlocrand/issues
License: GPL-3
URL: https://rdpackages.github.io/, https://github.com/rdpackages/rdlocrand
NeedsCompilation: no
In views: Econometrics
CRAN checks: rdlocrand results

Documentation:

Reference manual: rdlocrand.html , rdlocrand.pdf

Downloads:

Package source: rdlocrand_2.0.tar.gz
Windows binaries: r-devel: rdlocrand_1.1.zip, r-release: rdlocrand_1.1.zip, r-oldrel: rdlocrand_1.1.zip
macOS binaries: r-release (arm64): rdlocrand_1.1.tgz, r-oldrel (arm64): rdlocrand_1.1.tgz, r-release (x86_64): rdlocrand_1.1.tgz, r-oldrel (x86_64): rdlocrand_1.1.tgz
Old sources: rdlocrand archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rdlocrand to link to this page.