IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2402.09928.html

When Can We Use Two-Way Fixed-Effects (TWFE): A Comparison of TWFE and Novel Dynamic Difference-in-Differences Estimators

Author

Listed:
  • Tobias Ruttenauer
  • Ozan Aksoy

Abstract

The conventional Two-Way Fixed-Effects (TWFE) estimator has come under scrutiny lately. Recent literature has revealed potential shortcomings of TWFE when the treatment effects are heterogeneous. Scholars have developed new advanced dynamic Difference-in-Differences (DiD) estimators to tackle these potential shortcomings. However, confusion remains in applied research as to when the conventional TWFE is biased and what issues the novel estimators can and cannot address. In this study, we first provide an intuitive explanation of the problems of TWFE and elucidate the key features of the novel alternative DiD estimators. We then systematically demonstrate the conditions under which the conventional TWFE is inconsistent. We employ Monte Carlo simulations to assess the performance of dynamic DiD estimators under violations of key assumptions, which likely happens in applied cases. While the new dynamic DiD estimators offer notable advantages in capturing heterogeneous treatment effects, we show that the conventional TWFE performs generally well if the model specifies an event-time function. All estimators are equally sensitive to violations of the parallel trends assumption, anticipation effects or violations of time-varying exogeneity. Despite their advantages, the new dynamic DiD estimators tackle a very specific problem and they do not serve as a universal remedy for violations of the most critical assumptions. We finally derive, based on our simulations, recommendations for how and when to use TWFE and the new DiD estimators in applied research.

Suggested Citation

  • Tobias Ruttenauer & Ozan Aksoy, 2024. "When Can We Use Two-Way Fixed-Effects (TWFE): A Comparison of TWFE and Novel Dynamic Difference-in-Differences Estimators," Papers 2402.09928, arXiv.org, revised Jun 2025.
  • Handle: RePEc:arx:papers:2402.09928
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2402.09928
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. repec:hal:pseose:halshs-00846456 is not listed on IDEAS
    2. Seth M. Freedman & Alex Hollingsworth & Kosali I. Simon & Coady Wing & Madeline Yozwiak, 2023. "Designing Difference in Difference Studies With Staggered Treatment Adoption: Key Concepts and Practical Guidelines," NBER Working Papers 31842, National Bureau of Economic Research, Inc.
    3. Xu, Yiqing, 2017. "Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models," Political Analysis, Cambridge University Press, vol. 25(1), pages 57-76, January.
    4. Janet Currie & Lucas Davis & Michael Greenstone & Reed Walker, 2015. "Environmental Health Risks and Housing Values: Evidence from 1,600 Toxic Plant Openings and Closings," American Economic Review, American Economic Association, vol. 105(2), pages 678-709, February.
    5. Susan Athey & Mohsen Bayati & Nikolay Doudchenko & Guido Imbens & Khashayar Khosravi, 2021. "Matrix Completion Methods for Causal Panel Data Models," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 116(536), pages 1716-1730, October.
    6. Janet Currie & John Voorheis & Reed Walker, 2023. "What Caused Racial Disparities in Particulate Exposure to Fall? New Evidence from the Clean Air Act and Satellite-Based Measures of Air Quality," American Economic Review, American Economic Association, vol. 113(1), pages 71-97, January.
    7. Albert Chiu & Xingchen Lan & Ziyi Liu & Yiqing Xu, 2023. "Causal Panel Analysis under Parallel Trends: Lessons from a Large Reanalysis Study," Papers 2309.15983, arXiv.org, revised Jan 2026.
    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. Jeffrey M Wooldridge, 2010. "Econometric Analysis of Cross Section and Panel Data," MIT Press Books, The MIT Press, edition 2, volume 1, number 0262232588, December.
    10. Joshua D. Angrist & Jörn-Steffen Pischke, 2015. "The path from cause to effect: mastering 'metrics," CentrePiece - The magazine for economic performance 442, Centre for Economic Performance, LSE.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Philipp Dierker & Mine Kühn & Sanna Kailaheimo-Lönnqvist & Mikko Myrskylä, 2025. "Enduring links: mental health effects of ex-partner’s life events among separated parents," MPIDR Working Papers WP-2025-014, Max Planck Institute for Demographic Research, Rostock, Germany.
    2. Sanna Bergvall & Nuria Rodriguez-Planas, 2024. "Motherhood and domestic violence: A longitudinal study using population - wide administrative data," Working Papers 2024/09, Institut d'Economia de Barcelona (IEB).
    3. repec:osf:socarx:3mfzq_v1 is not listed on IDEAS
    4. Rüttenauer, Tobias & Kapelle, Nicole, 2024. "Panel Data Analysis," SocArXiv 3mfzq, Center for Open Science.

    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. Rüttenauer, Tobias & Kapelle, Nicole, 2024. "Panel Data Analysis," SocArXiv 3mfzq, Center for Open Science.
    2. repec:osf:socarx:3mfzq_v1 is not listed on IDEAS
    3. Dmitry Arkhangelsky & Guido Imbens, 2023. "Causal Models for Longitudinal and Panel Data: A Survey," Papers 2311.15458, arXiv.org, revised Jun 2024.
    4. Arne Henningsen & Guy Low & David Wuepper & Tobias Dalhaus & Hugo Storm & Dagim Belay & Stefan Hirsch, 2024. "Estimating Causal Effects with Observational Data: Guidelines for Agricultural and Applied Economists," IFRO Working Paper 2024/03, University of Copenhagen, Department of Food and Resource Economics.
    5. Davide Viviano & Jelena Bradic, 2019. "Synthetic learner: model-free inference on treatments over time," Papers 1904.01490, arXiv.org, revised Aug 2022.
    6. Wu, Libo & Zhou, Yang, 2025. "Social norms and energy conservation in China," Resource and Energy Economics, Elsevier, vol. 82(C).
    7. Michał Marcin Kobierecki & Michał Pierzgalski, 2022. "Sports Mega-Events and Economic Growth: A Synthetic Control Approach," Journal of Sports Economics, , vol. 23(5), pages 567-597, June.
    8. Goodman-Bacon, Andrew, 2021. "Difference-in-differences with variation in treatment timing," Journal of Econometrics, Elsevier, vol. 225(2), pages 254-277.
    9. Dmitry Arkhangelsky & Guido Imbens, 2018. "Fixed Effects and the Generalized Mundlak Estimator," Papers 1807.02099, arXiv.org, revised Aug 2023.
    10. Dalia Ghanem & Pedro H. C. Sant'Anna & Kaspar Wüthrich, 2022. "Selection and Parallel Trends," CESifo Working Paper Series 9910, CESifo.
    11. Hasan, Iftekhar & Krause, Thomas & Manfredonia, Stefano & Noth, Felix, 2022. "Banking market deregulation and mortality inequality," Bank of Finland Research Discussion Papers 14/2022, Bank of Finland.
    12. Eli Ben‐Michael & Avi Feller & Jesse Rothstein, 2022. "Synthetic controls with staggered adoption," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 84(2), pages 351-381, April.
    13. Bogatyrev, Konstantin & Stoetzer, Lukas, 2024. "Synthetic Control Methods for Proportions," OSF Preprints brhd3, Center for Open Science.
    14. Park, Minchul, 2025. "A selection correction method for heterogeneous treatment effects in staggered adoption settings," Economics Letters, Elsevier, vol. 254(C).
    15. Angelos Alexopoulos & Ilias Kostarakos & Christos Mylonakis & Petros Varthalitis, 2025. "The heterogeneous causal effects of the EU's Cohesion Fund," Papers 2504.13223, arXiv.org, revised Jan 2026.
    16. Guido Imbens & Nathan Kallus & Xiaojie Mao, 2021. "Controlling for Unmeasured Confounding in Panel Data Using Minimal Bridge Functions: From Two-Way Fixed Effects to Factor Models," Papers 2108.03849, arXiv.org.
    17. Guanhao Zhou & Yuefeng Han & Xiufan Yu, 2025. "Covariate-Adjusted Deep Causal Learning for Heterogeneous Panel Data Models," Papers 2505.20536, arXiv.org.
    18. Yang Pan & Liangfei Qiu, 2022. "How Ride‐Sharing Is Shaping Public Transit System: A Counterfactual Estimator Approach," Production and Operations Management, Production and Operations Management Society, vol. 31(3), pages 906-927, March.
    19. Coury, Michael & Falconer, Liam & La Nauze, Andrea, 2024. "Wildfire smoke and private provision of public air-quality monitoring," Journal of Environmental Economics and Management, Elsevier, vol. 127(C).
    20. Guignet, Dennis & Jenkins, Robin R. & Belke, James & Mason, Henry, 2023. "The property value impacts of industrial chemical accidents," Journal of Environmental Economics and Management, Elsevier, vol. 120(C).
    21. Chang, Hung-Hao & Lee, Brian & Hsieh, Yi-Ting, 2021. "Participation in afforestation programs and the distribution of forest farm income," Forest Policy and Economics, Elsevier, vol. 129(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:arx:papers:2402.09928. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.