EconPapers    
Economics at your fingertips  
 

A flexible, heterogeneous treatment-effects difference-in-differences estimator for repeated cross-sections

Jeffrey Zabel, Partha Deb and Edward Norton

2026 Stata Conference from Stata Users Group

Abstract: The difference-in-differences (DID) study design is an important tool for causal inference. A commonly observed special case involves a staggered entry into treatment. In this context, the observation that the standard two-way fixed-effects estimator that assumes a constant treatment effect across cohorts and time can produce a biased estimate of the overall treatment effect has led to several new approaches for dealing with both staggered timing and heterogeneous treatment effects (for example, Callaway and Sant’Anna 2021). In Deb et al. (https://www.nber.org/papers/w33026, 2025), we show that an appropriate regression specification using a pooled repeated cross-sectional sample can provide consistent treatment effects in a DID design with staggered entry under the usual DID assumptions. Our flexible linear model estimated by ordinary least squares with covariates (X)—FLEX—allows the covariates to enter the model in a flexible way. To be precise, we prove that FLEX is equivalent to an imputation estimator derived in Borusyak et al. (2024). In this presentation, we will describe FLEX and the associated Stata command, flexdid. We will illustrate the use of FLEX with an empirical example and provide comparisons with some benchmark estimators.

Date: 2026-10-03
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2026/US26_Deb.pdf

Related works:
Working Paper: A Flexible, Heterogeneous Treatment Effects Difference-in-Differences Estimator for Repeated Cross-Sections (2024) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:usug26:06

Access Statistics for this paper

More papers in 2026 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-10-07
Handle: RePEc:boc:usug26:06