-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Package: gsynth | ||
Type: Package | ||
Title: Generalized Synthetic Control Method | ||
Version: 1.2.0 | ||
Date: 2021-08-05 | ||
Version: 1.2.1 | ||
Date: 2021-08-06 | ||
Author: Yiqing Xu, Licheng Liu | ||
Maintainer: Yiqing Xu <[email protected]> | ||
Description: 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) <doi:10.1017/pan.2016.2>. | ||
Description: 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. | ||
URL: https://yiqingxu.org/packages/gsynth/gsynth_examples.html | ||
NeedsCompilation: yes | ||
License: GPL-2 | ||
License: MIT + file LICENSE | ||
Imports: Rcpp (>= 0.12.3), ggplot2 (>= 2.1.0), GGally (>= 1.0.1), future (>= 1.21.0), doRNG (>= 1.8.2), | ||
doParallel (>= 1.0.10), foreach (>= 1.4.3), abind (>= 1.4-0), mvtnorm (>= 1.0-6), MASS (>= 7.3.47), lfe (>= 1.0-0) | ||
SystemRequirements: A C++11 compiler. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
YEAR: 2021 | ||
COPYRIGHT HOLDER: Yiqing Xu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.onAttach <- | ||
function (libname, pkgname){ | ||
# echo output to screen | ||
packageStartupMessage("## Syntax has been updated since v.1.2.0.\n") | ||
packageStartupMessage("## Comments and suggestions -> [email protected].\n") | ||
packageStartupMessage("## Syntax has been updated since v.1.2.0.") | ||
packageStartupMessage("## Comments and suggestions -> [email protected].") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,6 @@ | |
|
||
**Authors:** Yiqing Xu [<[email protected]>]; Licheng Liu [<[email protected]>] | ||
|
||
**How to Uses:** [Examples](http://yiqingxu.org/software/gsynth/gsynth_examples.html) | ||
**How to Uses:** [Examples](https://yiqingxu.org/packages/gsynth/gsynth_examples.html) | ||
|
||
**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 | ||
**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. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters