rdlocrand package provides Stata and R implementations of statistical inference and graphical procedures for Regression Discontinuity designs employing local randomization methods. It provides point estimators, confidence intervals estimators, binomial manipulation testing, windows selectors, automatic plots, sensitivity analysis, and other related features.
This work was supported in part by the National Science Foundation through grants SES-1357561.
This package was first released in Spring 2016, and had one major upgrade in Spring 2021.
To install/update in Stata type:
net install rdlocrand, from(https://raw.githubusercontent.com/rdpackages/rdlocrand/master/stata) replace
To install/update in R type:
For source code and related files, visit
For overviews and introductions, see rdpackages website.
Cattaneo, Frandsen and Titiunik (2015): Randomization Inference in the Regression Discontinuity Design: An Application to Party Advantages in the U.S. Senate.
Journal of Causal Inference 3(1): 1-24.
Cattaneo, Titiunik and Vazquez-Bare (2017): Comparing Inference Approaches for RD Designs: A Reexamination of the Effect of Head Start on Child Mortality.
Journal of Policy Analysis and Management 36(3): 643-681.