Generalized Synthetic Control Method

Provides causal inference with interactive fixed-effect models. It imputes counterfactuals for each treated unit using control group information based on a linear interactive fixed effects model that incorporates unit-specific intercepts interacted with time-varying coefficients. This method generalizes the synthetic control method to the case of multiple treated units and variable treatment periods, and improves efficiency and interpretability. This version supports unbalanced panels and implements the matrix completion method. Main reference: Yiqing Xu (2017) .


Generalized Synthetic Control Method


Authors: Yiqing Xu [[email protected]]; Licheng Liu [[email protected]]

How to Uses: Examples

Reference: Yiqing Xu. 2017. "Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models." Political Analysis, Vol. 25, Iss. 1, January 2017, pp. 57-76. Available at: http://dx.doi.org/10.1017/pan.2016.2

Note on installation failure:

Rcpp, RcppArmadillo and MacOS "-lgfortran" and "-lquadmath" error, see: http://thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/

Installation failure related to OpenMP on MacOS, see: http://thecoatlessprofessor.com/programming/openmp-in-r-on-os-x/

To fix these problems, consider installing: gfortran 6.1 from https://gcc.gnu.org/wiki/GFortranBinaries#MacOS clang4 R Binaries from https://github.com/coatless/r-macos-clang

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gsynth")

1.0.9 by Yiqing Xu, 9 months ago


http://yiqingxu.org/software/gsynth/gsynth_examples.html


Browse source code at https://github.com/cran/gsynth


Authors: Yiqing Xu , Licheng Liu


Documentation:   PDF Manual  


Task views: Missing Data


GPL-2 license


Imports Rcpp, ggplot2, GGally, doParallel, foreach, abind, mvtnorm, MASS

Linking to Rcpp, RcppArmadillo

System requirements: A C++11 compiler.


See at CRAN