Factorial Difference-in-Differences

56 Pages Posted: 19 Jul 2024 Last revised: 8 Feb 2026

See all articles by Yiqing Xu

Yiqing Xu

Stanford University

Anqi Zhao

Duke University

Peng Ding

University of California, Berkeley

Date Written: July 16, 2024

Abstract

We formulate factorial difference-in-differences (FDID) as a research design that extends the canonical difference-in-differences (DID) to settings without clean controls. Such situations often arise when researchers exploit cross-sectional variation in a baseline factor and temporal variation in an event affecting all units. In these applications, the exact estimand is often unspecified, and justification for using the DID estimator is unclear. We formalize FDID by characterizing its data structure, target parameters, and identifying assumptions. Framing FDID as a factorial design with two factors -- the baseline factor G and the exposure level Z, we define effect modification and causal moderation as the associative and causal effects of G on the effect of Z. Under standard DID assumptions, including no anticipation and parallel trends, the DID estimator identifies effect modification but not causal moderation. To identify the latter, we propose an additional factorial parallel trends assumption. We also show that the canonical DID is a special case of FDID under an exclusion restriction. We extend the framework to conditionally valid assumptions and clarify regression-based implementations. We then discuss extensions to repeated cross-sectional data and continuous G. We illustrate the approach with an empirical example on the role of social capital in famine relief in China.

Keywords: causal inference, panel data, parallel trends, factorial design, difference-in-differences

Suggested Citation

Xu, Yiqing and Zhao, Anqi and Ding, Peng, Factorial Difference-in-Differences (July 16, 2024). Available at SSRN: https://ssrn.com/abstract=4896691 or http://dx.doi.org/10.2139/ssrn.4896691

Yiqing Xu (Contact Author)

Stanford University ( email )

367 Panama St
Stanford, CA 94305
United States

HOME PAGE: http://yiqingxu.org

Anqi Zhao

Duke University ( email )

Peng Ding

University of California, Berkeley ( email )

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

Paper statistics

Downloads
365
Abstract Views
1,553
Rank
205,787
PlumX Metrics