Difference in difference for nonbinary treatments in Stata
Jeffrey Wooldridge
2025 Stata Conference from Stata Users Group
Abstract:
I will show how an extended two-way fixed-effects estimator can be applied when an intervention variable has more than two levels. The intervention measure may have quantitative meaning—say, a continuous treatment—or it may be discrete and take on more than two levels. Estimation and inference, and aggregating effects across a treatment cohort, can be done using standard regression commands in Stata. The regression framework allows testing for pretrends and modeling heterogeneous trends. An application to the effects of Walmart openings at the county level to retail employment will be used for illustration.
Date: 2025-08-08
References: Add references at CitEc
Citations:
Downloads: (external link)
http://repec.org/usug2025/US25_Wooldridge.pdf
Related works:
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:usug25:14
Access Statistics for this paper
More papers in 2025 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().