top of page
  • Writer's pictureYe Wang

A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional

Updated: Feb 6, 2022

This paper has been conditionally accepted by American Journal of Political Science.


This paper is collaborated with Yiqing Xu at Stanford and Licheng Liu at MIT.


This paper introduces a unified framework of counterfactual estimation for time-series cross-sectional data, which estimates the average treatment effect on the treated by directly imputing treated counterfactuals. Its special cases include several newly developed methods, such as the fixed effects counterfactual estimator, interactive fixed effects counterfactual estimator, and matrix completion estimator. These estimators provide more reliable causal estimates than conventional two-way fixed effects models when the treatment effects are heterogeneous or unobserved time-varying confounders exist. Under this framework, we propose two sets of diagnostic tests, tests for (no) pre-trend and placebo tests, accompanied by visualization tools, to help researchers gauge the validity of the no-time-varying-confounder assumption. We illustrate these methods with two political economy examples and develop an open-source package, fect, in both R and Stata to facilitate implementation. Download here.

605 views0 comments
bottom of page