The rdrobust package provides Python, R and Stata 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.

Queries and Requests

Please email: rdpackages@googlegroups.com

Major Upgrades

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

Python Implementation

To install/update in Python type:

pip install rdrobust

R Implementation

To install/update in R type:


Stata Implementation

To install/update in Stata type:

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


For source code and related files, visit rdrobust repository.


For overviews and introductions, see rdpackages website.

Software and Implementation

Technical and Methodological