Skip to content

rdlocrand

Local Randomization Methods for RD Designs

v1.1 · May 22, 2025 · GPL-2

Description

The regression discontinuity (RD) design is a popular quasi-experimental design for causal inference and policy evaluation. Under the local randomization approach, RD designs can be interpreted as randomized experiments inside a window around the cutoff. This package 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.

Downloads

861

Last 30 days

4184th

3K

Last 90 days

11.8K

Last year

Trend: -10.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies AER sandwich rdlocrand

Version History

new 1.1 Mar 10, 2026
updated 1.1 ← 1.0 diff May 22, 2025
updated 1.0 ← 0.9 diff Jun 21, 2022
updated 0.9 ← 0.8 diff Jul 7, 2021
updated 0.8 ← 0.7.1 diff Jun 14, 2021
updated 0.7.1 ← 0.7 diff Aug 25, 2020
updated 0.7 ← 0.6 diff Jul 31, 2020
updated 0.6 ← 0.5 diff May 11, 2020
updated 0.5 ← 0.4 diff Aug 21, 2019
updated 0.4 ← 0.3 diff Mar 12, 2019
updated 0.3 ← 0.2 diff Mar 14, 2018
updated 0.2 ← 0.1 diff Apr 21, 2017
new 0.1 Apr 6, 2017