Two-Way Fixed Effects, the Two-Way Mundlak Regression, and Difference-in-Differences Estimators

77 Pages Posted: 18 Aug 2021

See all articles by Jeffrey M. Wooldridge

Jeffrey M. Wooldridge

Michigan State University - Department of Economics

Date Written: August 17, 2021

Abstract

I establish the equivalence between the two-way fixed effects (TWFE) estimator and an estimator obtained from a pooled ordinary least squares regression that includes unit-specific time averages and time-period specific cross-sectional averages, which I call the two-way Mundlak (TWM) regression. This equivalence furthers our understanding of the anatomy of TWFE, and has several applications. The equivalence between TWFE and TWM implies that various estimators used for intervention analysis – with a common entry time into treatment or staggered entry, with or without covariates – can be computed using TWFE or pooled OLS regressions that control for time-constant treatment intensities, covariates, and interactions between them. The approach allows considerable heterogeneity in treatment effects across treatment intensity, calendar time, and covariates. The equivalence implies that standard strategies for heterogeneous trends are available to relax the common trends assumption. Further, the two-way Mundlak regression is easily adapted to nonlinear models such as exponential models and logit and probit models.

Keywords: panel data, fixed effects, difference-in-differences, correlated random effects

JEL Classification: C21, C23

Suggested Citation

Wooldridge, Jeffrey M., Two-Way Fixed Effects, the Two-Way Mundlak Regression, and Difference-in-Differences Estimators (August 17, 2021). Available at SSRN: https://ssrn.com/abstract=3906345 or http://dx.doi.org/10.2139/ssrn.3906345

Jeffrey M. Wooldridge (Contact Author)

Michigan State University - Department of Economics ( email )

#211 Marshall Hall
East Lansing, MI 48824-1038
United States
517+353-5972 (Phone)

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
10,913
Abstract Views
27,457
Rank
967
PlumX Metrics