<?xml version='1.0' encoding='UTF-8'?><metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns="http://dublincore.org/documents/dcmi-terms/"><dcterms:title>Replication Data for: A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data</dcterms:title><dcterms:identifier>https://doi.org/10.7910/DVN/ZVC9W5</dcterms:identifier><dcterms:creator>Liu, Licheng</dcterms:creator><dcterms:creator>Wang, Ye</dcterms:creator><dcterms:creator>Xu, Yiqing</dcterms:creator><dcterms:publisher>Harvard Dataverse</dcterms:publisher><dcterms:issued>2022-05-02</dcterms:issued><dcterms:modified>2022-05-02T18:27:07Z</dcterms:modified><dcterms:description>This paper introduces a simple framework of counterfactual estimation for causal inference with time-series cross-sectional data, in which we estimate the average treatment effect on the treated by directly imputing counterfactual outcomes for treated observations. We discuss several novel estimators under this framework, including the fixed effects counterfactual estimator, interactive fixed effects counterfactual estimator, and matrix completion estimator. They provide more reliable causal estimates than conventional twoway fixed effects models when treatment effects are heterogeneous or unobserved time-varying confounders exist. Moreover, we propose a new dynamic treatment effects plot, along with several diagnostic tests, to help researchers gauge the validity of the identifying assumptions. We illustrate these methods with two political economy examples and develop an open-source package, fect, in both R and Stata to facilitate implementation.</dcterms:description><dcterms:subject>Social Sciences</dcterms:subject><dcterms:subject>Imputation methods</dcterms:subject><dcterms:subject>Counterfactual estimators</dcterms:subject><dcterms:subject>Twoway fixed effects</dcterms:subject><dcterms:subject>Parallel trends</dcterms:subject><dcterms:subject>Interactive fixed effects</dcterms:subject><dcterms:subject>Matrix completion</dcterms:subject><dcterms:subject>Equivalence tests</dcterms:subject><dcterms:subject>Placebo tests</dcterms:subject><dcterms:subject>Time-series cross-sectional data</dcterms:subject><dcterms:subject>Panel data</dcterms:subject><dcterms:isReferencedBy>Liu, Licheng, Ye Wang, and Yiqing Xu. [date]. “A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data.” 
&lt;i>American Journal of Political Science&lt;/i> Forthcoming. &lt;a href="http://ajps.org/" target="_blank">http://ajps.org/&lt;/a></dcterms:isReferencedBy><dcterms:contributor>Xu, Yiqing</dcterms:contributor><dcterms:dateSubmitted>2022-03-02</dcterms:dateSubmitted><dcterms:source>Hainmueller, Jens and Dominik Hangartner. 2015. “Does Direct Democracy Hurt Immigrant Minorities? Evidence from Naturalization Decisions in
Switzerland.” American Journal of Political Science 63(33): pp. 14–38.</dcterms:source><dcterms:source>&lt;br>&lt;/br>
Fouirnaies, Alexander and Hande Mutlu-Eren. 2015. “English Bacon: Copartisan Bias in Intergovernmental Grant Allocation in England.” The Journal of
Politics 77(3):805–817.</dcterms:source><dcterms:rights>This dataset is made available with limited information on how it can be used. You may wish to communicate with the Contact(s) specified before use.</dcterms:rights></metadata>