Robust Inference in Difference-in-Differences and Event Study Designs

Provides functions to conduct robust inference in difference-in-differences and event study designs by implementing the methods developed in Rambachan & Roth (2023) , "A More Credible Approach to Parallel Trends" [Previously titled "An Honest Approach..."]. Inference is conducted under a weaker version of the parallel trends assumption. Uniformly valid confidence sets are constructed based upon conditional confidence sets, fixed-length confidence sets and hybridized confidence sets.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("HonestDiD")

0.2.8 by Ashesh Rambachan, 6 months ago


Browse source code at https://github.com/cran/HonestDiD


Authors: Ashesh Rambachan [aut, cph, cre] , Jonathan Roth [aut, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats, rlang, foreach, matrixStats, CVXR, ECOSolveR, latex2exp, lpSolveAPI, Matrix, pracma, purrr, tibble, dplyr, ggplot2, Rglpk, mvtnorm, TruncatedNormal

Suggests knitr, testthat, haven, lfe, rmarkdown


Imported by did2s.

Suggested by fixes.


See at CRAN