Author
Listed:
- Sunny Karim
(Carleton University)
Abstract
I introduce didint, a Stata wrapper for the Julia-based DiDInt.jl package, which implements a recent extension of the interaction difference-in-differences estimator to account for covariates. The method, proposed by Karim and Webb (2024), addresses bias that can arise when adjusting for covariates in staggered adoption settings—especially when the common causal covariates (CCC) assumption is violated. didint estimates the average treatment effect on the treated (ATET) by applying a regression-based residualization approach that allows for state-level, time-level, or fully interacted (state-by-time) varying controls. The command supports multiple specifications via the ccc() option, enabling researchers to flexibly compare assumptions about the role of covariates in the data-generating process. In addition to covariate handling, didint implements both a cluster jackknife and a randomization inference procedure, allowing users to construct cluster–robust p-values, especially when few units are treated or treatment timing is concentrated. The interface is designed for flexibility in applied research: users specify outcome, time, and state variables, treatment timing, and optional control variables. Additional options include custom time frequencies, automatic cohort length adjustment, and full compatibility with panel data. Estimates and inference results (ATETs, standard errors, and p-values) are returned directly to the active Stata dataset for immediate use. This presentation will briefly describe the underlying methodology and demonstrate its application to empirical examples. didint equips Stata users with a robust and principled framework for conducting difference-in-differences analyses with covariates in staggered treatment designs.
Suggested Citation
Handle:
RePEc:boc:cand25:08
Download full text from publisher
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:08. 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.