Local Randomization Methods for RD Designs
Overview
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.
Install
Health
- OK13 OKNow
- OK12 OK, 1 FAILURE2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 5includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rdpackages/rdlocrand on 2026-10-22.
The R CMD check workflow runs on Linux
An outside contributor's pull request to this repository was written with an AI coding tool.
- Claude CodePull requests: 1 from outside contributors, first on 2026-03-11, 1 from forks
Dependencies
Code & Tests
People & History
Previously maintained by Gonzalo Vazquez-Bare (0.1 to 1.1).
Pick two releases to compare their code metrics.
- 3.0Latest
- 2.02026-05-14 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.12025-05-23 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.02022-06-22 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.92021-07-08 · diff ↗
- 0.82021-06-15 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.7.12020-08-26 · diff ↗
- 0.72020-08-01 · diff ↗
- 0.62020-05-12 · diff ↗
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2017-04-07
- Total releases
- 14 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.1
- Download size
- 33 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rdlocrand")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.