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 other related features. This work was supported by the National Science Foundation through grant SES-1357561 and SES-1459931.

This package was first released in 2014, and had a major upgrade in 2016. New features available in the 2016 upgraded version include: (i) major speed improvements, (ii) covariate-adjusted bandwidth selection, point estimation and robust inference, (iii) cluster-robust bandwidth selection, point estimation and robust inference, (iv) weighted global polynomial fits and pointwise confidence bands for RD plots, and (v) several new bandwidths selectors (e.g., different bandwidths for control and treatment groups, coverage error optimal bandwidths, and optimal bandwidth for fuzzy designs).

Upgrades coming in Summer 2019:
  1. Bandwidth selection adjustments for few mass points in the running variable.
  2. RD Plots with additional covariates plotted at their mean. For now, the package sets additional covariates at zero.
  3. Automatic removal of co-linear additional covariates.
  4. RD Plots with ggplot2 in R.

For technical and methodological details see: For software and implementation details see:
Implementation in Stata:
  • To install/update in Stata type:
net install rdrobust, from( replace
Implementation in R:
  • To install/update in R type:
Last update: September 25, 2018.