Rdrobust: An R package for robust nonparametric inference in regression-discontinuity designs

Sebastian Calonico, Matias D. Cattaneo, Rocío Titiunik

Research output: Contribution to journalArticlepeer-review

79 Scopus citations


This article describes the R package rdrobust, which provides data-driven graphical and inference procedures for RD designs. The package includes three main functions: rdrobust, rdbwselect and rdplot. The first function (rdrobust) implements conventional local-polynomial RD treatment effect point estimators and confidence intervals, as well as robust bias-corrected confidence intervals, for average treatment effects at the cutoff. This function covers sharp RD, sharp kink RD, fuzzy RD and fuzzy kink RD designs, among other possibilities. The second function (rdbwselect) implements several bandwidth selectors proposed in the RD literature. The third function (rdplot) provides data-driven optimal choices of evenly-spaced and quantile-spaced partition sizes, which are used to implement several data-driven RD plots.

Original languageEnglish (US)
Pages (from-to)38-51
Number of pages14
JournalR Journal
Issue number1
StatePublished - 2015
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • Statistics and Probability
  • Numerical Analysis
  • Statistics, Probability and Uncertainty


Dive into the research topics of 'Rdrobust: An R package for robust nonparametric inference in regression-discontinuity designs'. Together they form a unique fingerprint.

Cite this