gsynth: Generalized Synthetic Control Method

Conducts 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. See Xu (2017) <doi:10.1017/pan.2016.2> for details.

Package details

AuthorYiqing Xu [aut, cre] (ORCID: <https://orcid.org/0000-0003-2041-6671>), Licheng Liu [aut], Ziyi Liu [aut], Shiyun Hu [aut]
MaintainerYiqing Xu <yiqingxu@stanford.edu>
LicenseMIT + file LICENSE
Version1.4.0
URL https://yiqingxu.org/packages/gsynth/ https://github.com/xuyiqing/gsynth
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gsynth")

Try the gsynth package in your browser

Any scripts or data that you put into this service are public.

gsynth documentation built on March 28, 2026, 1:09 a.m.