fect-package | R Documentation |
The fect
package implements counterfactual estimators for Time-Series Cross-Sectional (TSCS) data analysis, along with statistical tools to test their identification assumptions.
The fect
package provides tools for estimating treatment effects in TSCS datasets using a range of counterfactual estimators. These estimators first impute counterfactuals for treated observations by fitting an outcome model (fixed effects model, interactive fixed effects model, or matrix completion) to untreated observations. Then, the individual treatment effect for each treated observation is calculated as the difference between the observed and predicted counterfactual outcomes.
The package supports:
Calculation of the Average Treatment Effect on the Treated (ATT) and period-specific ATTs.
Placebo tests and equivalence tests to evaluate the validity of the identification assumptions.
Robust estimation techniques for unbalanced panel datasets.
See fect
for details.
Licheng Liu (liulch@mit.edu), Massachusetts Institute of Technology
Ye Wang (yw1576@nyu.edu), New York University
Yiqing Xu (yiqingxu@stanford.edu), Stanford University
Ziyi Liu (zyliu2020@uchicago.edu), University of Chicago
Athey, S., Bayati, M., Doudchenko, N., Imbens, G., and Khosravi, K. (2021). Matrix completion methods for causal panel data models. Journal of the American Statistical Association, 116(536), 1716-1730.
Bai, J. (2009). Panel data models with interactive fixed effects. Econometrica, 77(4), 1229-1279.
Liu, L., Wang, Y., and Xu, Y. (2022). A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data. American Journal of Political Science, 68(1), 160-176.
Xu, Y. (2017). Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models. Political Analysis, 25(1), 57-76.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.