HonestDiD
Robust Inference in Difference-in-Differences and Event Study Designs
Description
Provides functions to conduct robust inference in difference-in-differences and event study designs by implementing the methods developed in Rambachan & Roth (2023) <doi:10.1093/restud/rdad018>, "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.
Downloads
3K
Last 30 days
2416th
30.7K
Last 90 days
40.8K
Last year
Trend: -57.6% (30d vs prior 30d)
16
Last 30 days
69
Last 90 days
597
Last year
Trend: -59% (30d vs prior 30d)
r2u: no daily series yet
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
tests
Running ‘test_base.R’ [1s/2s]
Running ‘test_syntax.R’ [1s/2s]
Running the tests in ‘tests/test_base.R’ failed.
Complete output:
> # remove.packages("HonestDiD")
> # install.packages(".", repos=NULL, type="source")
> # testthat::test_dir("tests")
>
> library(lfe)
Loading required package: Matrix
> library(haven)
Error in library(haven) : there is no package called 'haven'
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 12, 2026
WARNING 6 OK · 0 NOTE · 8 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: 'CVXR::solve'
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: 'CVXR::solve'
dependencies in R code
Missing or unexported object: 'CVXR::solve'
Reverse Dependencies (2)
imports
suggests
Dependency Network
Version History
3 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Jul 14, 2024. Releases before tracking aren’t shown.