IDEAS home Printed from https://ideas.repec.org/p/boc/cand25/12.html
   My bibliography  Save this paper

Jackknife inference for multiway clustering and CS-DiD in Stata: twowayjack and csdidjack

Author

Listed:
  • Matthew Webb

    (Carleton University)

Abstract

This presentation introduces two Stata packages: twowayjack and csdidjack, which implement jackknife-based inference for models with clustered data. The twowayjack command provides robust inference for OLS regression models with two-way clustering, such as by unit and time. It implements the CV3 standard errors from MacKinnon, Nielsen, and Webb (2024), which are designed to remain valid even with few clusters in one or both dimensions. These estimators omit one-cluster resampling to account for dependence across both clustering dimensions. The csdidjack command applies these ideas to the csdid estimator of Callaway and Sant'Anna (2021), providing improved inference for average treatment effects on the treated (ATET) in staggered adoption settings. It also supports jackknife-based CV3 inference for calendar-time, cohort-based, and ATET_gt effects. The underlying methodology is described in MacKinnon, Nielsen, Webb, and Karim (2025), which extends jackknife and bootstrap inference to this setting. Both tools offer practical solutions for empirical researchers facing clustered data and limited numbers of clusters. The packages are freely available on GitHub as community-contributed Stata commands: twowayjack and csdidjack.

Suggested Citation

Handle: RePEc:boc:cand25:12
as

Download full text from publisher

File URL: http://repec.org/cand2025/
Download Restriction: no
---><---

More about this item

Statistics

Access and download statistics

Corrections

All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:cand25:12. See general information about how to correct material in RePEc.

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

We have no bibliographic references for this item. You can help adding them by using this form .

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.