Robust Data-Driven Statistical Inference in Regression-Discontinuity Designs
Overview
Regression-discontinuity (RD) designs are quasi-experimental research designs popular in social, behavioral and natural sciences. The RD design is usually employed to study the (local) causal effect of a treatment, intervention or policy. This package provides tools for data-driven graphical and analytical statistical inference in RD designs: rdrobust() to construct local-polynomial point estimators and robust confidence intervals for average treatment effects at the cutoff in Sharp, Fuzzy and Kink RD settings, rdbwselect() to perform bandwidth selection for the different procedures implemented, and rdplot() to conduct exploratory data analysis (RD plots).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 6includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 83%
Downloads
Repository
- PRs merged (all time)
- 57%
- Median days to close, 50 most recently updated closed issues
- 75
- Median days to close, 50 most recently updated closed PRs
- 5
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/rdpackages/rdrobust on 2026-10-22.
The R CMD check workflow runs on Linux
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-27Pull request it wrote: opened by a project memberCommits: at least 23 crediting it in the message
- Claude Opus 58 commits · Aug 2026
- Claude Opus 5.58 commits · Oct 2026
- Claude Fable 54 commits · Aug 2026
- Claude Opus 4.72 commits · May 2026
- Claude Fable 5.11 commit · Oct 2026
Dependencies
Installing rdrobust adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Show all 13 packagesHide all 13 packages
Code & Tests
Datasets
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- 4.1.1Latest
- 4.0.0
- RR 4.6.0 released · 2026-04-24
- 3.0.02025-07-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.22023-11-03 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.1.12022-12-05 · diff ↗
- 2.1.02022-10-28 · diff ↗
- 2.0.32022-09-30 · diff ↗
- 2.0.22022-06-16 · diff ↗
- 2.0.12022-06-07 · diff ↗
- 2.0.02022-06-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.82021-12-02 · diff ↗
Show 39 earlier eventsHide 39 earlier events
- 1.0.72021-11-05 · diff ↗
- 1.0.62021-09-02 · diff ↗
- 1.0.52021-08-12 · diff ↗
- 1.0.42021-07-13 · diff ↗
- 1.0.32021-07-05 · diff ↗
- 1.0.22021-05-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-02-24 · diff ↗
- 0.99.92020-08-26 · diff ↗
- 0.99.82020-06-05 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.99.72020-04-21 · diff ↗
- 0.99.62020-04-02 · diff ↗
- 0.99.52020-01-10 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.99.42018-09-27 · diff ↗
- 0.99.32018-07-12 · diff ↗
- 0.99.22018-07-09 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.99.12018-03-21 · diff ↗
- 0.992018-01-04 · diff ↗
- 0.982017-06-09 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 4 exports
rdbwselect, rdrobust, rdplot, rdbwselect_2014 - RR 3.4.0 released · 2017-04-21
- 0.972017-04-11 · diff ↗
- 0.962017-03-08 · diff ↗
- 0.952016-12-13 · diff ↗
- 0.942016-09-20 · diff ↗
- 0.932016-08-15 · diff ↗
- 0.922016-08-09 · diff ↗
- 0.912016-05-28 · diff ↗
- 0.902016-05-08 · diff ↗
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.802015-03-19 · diff ↗
- 0.702014-10-26 · diff ↗
- 0.612014-09-04 · diff ↗
- 0.62014-06-18 · diff ↗
- 0.52014-06-08
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-06-08
- Total releases
- 42 / 12 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 35 KB / 1 file
- Download size
- 102 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rdrobust")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.