IDEAS home Printed from https://ideas.repec.org/p/tse/wpaper/127362.html

Robustness of Two-Way Fixed Effects Estimators to Heterogeneous Treatment Effects

Author

Listed:
  • Fabre, Anaïs

Abstract

This paper studies the Two-Way Fixed Effects (TWFE) estimator in a general setting where multiple groups can enter and exit a binary treatment over time. It establishes necessary and sufficient conditions for this estimator to correspond to a convex combination of Average Treatment Effects (ATEs). I show that the TWFE estimator is a weighted sum of five different types of two-by-two comparisons, with positive weights. Parallel trends assumptions on either the untreated or treated potential outcomes must hold for each comparison to identify the ATE of the group switching treatment status. When treatment effects are contemporaneous but can be heterogeneous across groups and over time, both parallel trends assumptions are thus necessary and sufficient for the TWFE estimator to be a weighted sum of ATEs, with positive weights. Under parallel trends on the untreated potential outcomes and on the first exposure to treatment, the presence of dynamic treatment effects is necessary — but not sufficient — for this result to break.

Suggested Citation

  • Fabre, Anaïs, 2022. "Robustness of Two-Way Fixed Effects Estimators to Heterogeneous Treatment Effects," TSE Working Papers 22-1362, Toulouse School of Economics (TSE), revised Jul 2025.
  • Handle: RePEc:tse:wpaper:127362
    as

    Download full text from publisher

    File URL: https://www.tse-fr.eu/sites/default/files/TSE/documents/doc/wp/2022/wp_tse_1362.pdf
    File Function: Full Text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Clément de Chaisemartin & Xavier D'Haultfœuille, 2020. "Two-Way Fixed Effects Estimators with Heterogeneous Treatment Effects," American Economic Review, American Economic Association, vol. 110(9), pages 2964-2996, September.
    2. Rossi, Pauline & Villar, Paola, 2020. "Private health investments under competing risks: Evidence from malaria control in Senegal," Journal of Health Economics, Elsevier, vol. 73(C).
    3. Goodman-Bacon, Andrew, 2021. "Difference-in-differences with variation in treatment timing," Journal of Econometrics, Elsevier, vol. 225(2), pages 254-277.
    4. Chabé-Ferret, Sylvain & Voia, Anca, 2019. "Are Grassland Conservation Programs a Cost-Effective Way to Fight Climate Change? Evidence from France," SocArXiv cx8j6, Center for Open Science.
    5. Brantly Callaway & Andrew Goodman-Bacon & Pedro H. C. Sant'Anna, 2021. "Difference-in-Differences with a Continuous Treatment," Papers 2107.02637, arXiv.org, revised Dec 2025.
    6. Kirill Borusyak & Xavier Jaravel & Jann Spiess, 2024. "Revisiting Event-Study Designs: Robust and Efficient Estimation," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 91(6), pages 3253-3285.
    7. Kimin Kim & Myoung-jae Lee, 2019. "Difference in differences in reverse," Empirical Economics, Springer, vol. 57(3), pages 705-725, September.
    8. Sun, Liyang & Abraham, Sarah, 2021. "Estimating dynamic treatment effects in event studies with heterogeneous treatment effects," Journal of Econometrics, Elsevier, vol. 225(2), pages 175-199.
    9. Jonathan Roth, 2022. "Pretest with Caution: Event-Study Estimates after Testing for Parallel Trends," American Economic Review: Insights, American Economic Association, vol. 4(3), pages 305-322, September.
    10. Roth, Jonathan & Sant’Anna, Pedro H.C. & Bilinski, Alyssa & Poe, John, 2023. "What’s trending in difference-in-differences? A synthesis of the recent econometrics literature," Journal of Econometrics, Elsevier, vol. 235(2), pages 2218-2244.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Arne Henningsen & Guy Low & David Wuepper & Tobias Dalhaus & Hugo Storm & Dagim Belay & Stefan Hirsch, 2026. "Estimating Causal Effects With Observational Data: Guidelines for Agricultural and Applied Economists," Journal of Agricultural Economics, Wiley Blackwell, vol. 77(2), pages 356-382, June.
    2. Gregory Faletto, 2023. "Fused Extended Two-Way Fixed Effects for Difference-in-Differences With Staggered Adoptions," Papers 2312.05985, arXiv.org, revised Apr 2025.
    3. Hadah, Hussain & Compta, Gael & Saffouri, Ali, 2026. "The Effects of Waiting Periods on Firearm Suicides in the U.S," IZA Discussion Papers 18624, IZA Network @ LISER.
    4. Burton, Anne M. & Churchill, Brandyn F., 2025. "Supply-side opioid restrictions and the retail pharmacy market," Journal of Health Economics, Elsevier, vol. 104(C).
    5. Martin Huber & Sarina Joy Oberhansli, 2026. "Difference-in-differences for mediation analysis using double machine learning," Papers 2602.23877, arXiv.org.
    6. Luc Jacolin & Quentin Dufresne & Marin Ferry, 2025. "From Debt Reset to Growth Onset? Sovereign Debt Restructuring and Firm Performance in Developing Countries," Working papers 991, Banque de France.
    7. Mark Kattenberg & Bas Scheer & Jurre Thiel, 2023. "Causal forests with fixed effects for treatment effect heterogeneity in difference-in-differences," CPB Discussion Paper 452, CPB Netherlands Bureau for Economic Policy Analysis.
    8. Kim, Yoonjung, 2025. "The effects of universal free lunch provision on student achievement: Evidence from South Korea," Journal of Economic Behavior & Organization, Elsevier, vol. 238(C).
    9. Roth, Jonathan & Sant’Anna, Pedro H.C. & Bilinski, Alyssa & Poe, John, 2023. "What’s trending in difference-in-differences? A synthesis of the recent econometrics literature," Journal of Econometrics, Elsevier, vol. 235(2), pages 2218-2244.
    10. Joakim A. Weill & Matthieu Stigler & Olivier Deschenes & Michael R. Springborn, 2025. "Researchers' degrees of flexibility: Revisiting COVID‐19 policy evaluations," Economic Inquiry, Western Economic Association International, vol. 63(2), pages 441-462, April.
    11. Bjørkås, Eivind & Rickertsen, Kyrre, 2026. "Cross-border shopping of alcoholic beverages: Evidence from a natural experiment," Food Policy, Elsevier, vol. 138(C).
    12. Chen, Xing & Huang, Zhijian (James) & Li, Zhuo & Wen, Fenghua, 2025. "Impact from a distance: Emotionally attached-place disasters and corporate risk-taking," Journal of Corporate Finance, Elsevier, vol. 93(C).
    13. Isaac Gerber, 2026. "Design-Based Variance Estimation for Modern Heterogeneity-Robust Difference-in-Differences Estimators," Papers 2605.04124, arXiv.org, revised May 2026.
    14. Jihee Ann & Myoung-jae Lee & Hyung Joon Chung, 2026. "Finding Effects of Sequential Housing Price Control Policies Using Various Forms of Difference in Differences," Evaluation Review, , vol. 50(3), pages 482-515, June.
    15. Angelo Leogrande & Mauro Di Molfetta & Valeria Notarnicola & Maria Giovanna Trotta, 2026. "Picking Winners or Marking Them? Timing-Based Evaluation of Innovation Certification," Working Papers hal-05662584, HAL.
    16. Hadah, Hussain, 2026. "Immigration Enforcement, Sanctuary Cities, and Rising Hispanic Suicide Rates," IZA Discussion Papers 18613, IZA Network @ LISER.
    17. Philipp Bach & Sven Klaassen & Jannis Kueck & Mara Mattes & Martin Spindler, 2025. "Sensitivity Analysis for Treatment Effects in Difference-in-Differences Models using Riesz Representation," Papers 2510.09064, arXiv.org.
    18. Kihwan Bae & Edward Timmons, 2023. "Now You Can Take It with You: Effects of Occupational Credential Recognition on Labor Market Outcomes," Working Papers 23-03, Department of Economics, West Virginia University.
    19. Rüttenauer, Tobias & Kapelle, Nicole, 2024. "Panel Data Analysis," SocArXiv 3mfzq, Center for Open Science.
    20. Ai, Hongshan & Tan, Xiaoqing, 2025. "The impact of exposure to pipeline gas connection during pregnancy on child development: Evidence from China," Journal of Environmental Economics and Management, Elsevier, vol. 133(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:tse:wpaper:127362. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/tsetofr.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.