The 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.

Stata Implementation

To install/update in Stata type:

net install rdlocrand, from(https://raw.githubusercontent.com/rdpackages/rdlocrand/master/stata) replace

R Implementation

To install/update in R type:



For source code and related files, visit rdlocrand repository.


For overviews and introductions, see rdpackages website.

Software and Implementation

Technical and Methodological