CRAN
gsynth 1.0.6
Generalized Synthetic Control Method
Released Oct 16, 2017 by Yiqing Xu
Dependencies
ggplot2 3.0.0 RcppArmadillo 0.9.100.5.0 abind 1.4-3 mvtnorm 1.0-8 foreach 1.4.4 Rcpp doParallel 1.0.11 GGally 1.4.0
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. Reference: Yiqing Xu (2017)
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>gsynth</artifactId> <version>1.0.6-b15</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:gsynth')
Test Results
This package was last tested against Renjin 0.9.2689 on Aug 26, 2018.