The rdrobust package provides Stata and R implementations of statistical inference and graphical procedures for Regression Discontinuity designs employing local polynomial and partitioning methods. It provides point estimators, confidence intervals estimators, bandwidth selectors, automatic RD plots, and many other features.

This work was supported in part by the National Science Foundation through grants SES-1357561, SES-1459931, SES-1947805 and SES-2019432.

Major Upgrades

This package was first released in Spring 2014, and had two major upgrades in Fall 2016 and in Winter 2020.

Stata Implementation

To install/update in Stata type:

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

R Implementation

To install/update in R type:



For source code and related files, visit rdrobust repository.


For overviews and introductions, see rdpackages website.

Software and Implementation

Technical and Methodological