Skip to content

HonestDiD

0.2.8

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

2packages depend
45.6Kdownloads / year
0.1%test coverage
13/13checks pass

Overview

About
Maintained by Ashesh RambachanFirst published 2024-07-143 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.11
0.1%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-12
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • WARNING2026-03-10
    6 OK · 0 NOTE · 8 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
29%
Documented parameters
90%
Return-value docs
100%
References docs
81%

Downloads

45.6K
CRAN downloads in the past year
Rank #2,195 · ~125/day · ~3.8K/mo
Daily download trend is not available in this view yet.
2.8K30 days
9.2K90 days
45.6K1 year
Compare downloads with other packages →
Also on736 r2u2 autocran

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Copyright holder, Maintainer
Authors (2)
Author, Copyright holder, Maintainer
Author, Copyright holder
Copyright holders (2)
Author, Copyright holder, Maintainer
Author, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.8Latest
    2026-04-12 · current release · diff ↗
  • 0.2.7
    2026-04-01 · diff ↗
  • 0.2.6
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2024-07-14
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Bundled data
7.4 KB / 2 files
Download size
597 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("HonestDiD")
Rambachan, A., & Roth, J. (2026). HonestDiD: Robust Inference in Difference-in-Differences and Event Study Designs (Version 0.2.8) [Computer software]. https://doi.org/10.32614/CRAN.package.HonestDiD

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for HonestDiD version 0.2.8 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy