rdhte: Heterogeneous Treatment Effects in Regression Discontinuity Designs

Understanding heterogeneous causal effects based on pretreatment covariates is a crucial step in modern empirical work in data science. Building on the recent developments in Calonico et al (2025) <doi:10.48550/arXiv.2503.13696>, this package provides tools for estimation and inference of heterogeneous treatment effects in Regression Discontinuity (RD) Designs. The package includes two main commands: 'rdhte' to conduct estimation and robust bias-corrected inference for conditional RD treatment effects (given choice of bandwidth parameter); 'rdbwhte', which implements automatic bandwidth selection methods; and 'rdhte_lincom' to test linear combinations of parameters.

Version: 0.2.0
Depends: R (≥ 3.5)
Imports: rdrobust (≥ 4.0.0), sandwich, multcomp
Suggests: broom, ggplot2, knitr, rmarkdown, testthat (≥ 3.0.0), xtable
Published: 2026-05-26
DOI: 10.32614/CRAN.package.rdhte
Author: Sebastian Calonico [aut, cre], Matias D. Cattaneo [aut], Max H. Farrell [aut], Filippo Palomba [aut], Rocio Titiunik [aut]
Maintainer: Sebastian Calonico <scalonico at ucdavis.edu>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: rdhte results

Documentation:

Reference manual: rdhte.html , rdhte.pdf
Vignettes: rdhte-illustration (source, R code)

Downloads:

Package source: rdhte_0.2.0.tar.gz
Windows binaries: r-devel: rdhte_0.2.0.zip, r-release: rdhte_0.1.0.zip, r-oldrel: rdhte_0.1.0.zip
macOS binaries: r-release (arm64): rdhte_0.2.0.tgz, r-oldrel (arm64): rdhte_0.2.0.tgz, r-release (x86_64): rdhte_0.2.0.tgz, r-oldrel (x86_64): rdhte_0.2.0.tgz
Old sources: rdhte archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rdhte to link to this page.