Software

interflex: Producing Flexible Marginal Effect Estimates with Multiplicative Interaction Models

Summary: This package performs diagnostics to assess assumptions of multiplicative interaction models (namely, linear interaction effect and common support) and impliments flexible estimation strategies that allow for nonlinear interaction effects and safeguard against excessive extrapolation.

Authors:  Jens Hainmueller, Jonathan Mummolo, and Yiqing Xu (Maintainer)

R Program: User's Guide (HTML); Source Code: Github; to install, type in R console:

install.packages("interflex", type = "source")

Stata Program: User's Guide (PDF); Source Code: .zip; to install, type in Stata command:

ssc install interflex, replace all

Reference: "How Much Should We Trust Estimates from Multiplicative Interaction Models? Simple Tools to Improve Empirical Practice." Available at SSRN: https://papers.ssrn.com/abstract_id=2739221.

Citation: @unpublished{HMX2016, author = {Hainmueller, Jens and Mummolo, Jonathan and Xu, Yiqing}, title = {{How Much Should We Trust Estimates from Multiplicative Interaction Models? Simple Tools to Improve Empirical Practice}}, howpublished = {Paper presented at the Summer Meeting of the Society for Political Methodology, Rice University, Houston, TX, July 14, 2016}, year = {2016}}

kernel

gsynth: Generalized Synthetic Control Method

Summary: This package impliments the generalized synthetic control method, a causal inference method primarily based on interactive fixed effect models.

Author: Yiqing Xu

Current Version: 1.0.8 (Github); 1.0.5 (CRAN). Please report bugs.

Date: Jan 21, 2018

R Program: User's Guide (HTML); Source Code: Github; to install, type in R console:

devtools::install_github('xuyiqing/gsynth')

"devtools" package needs to be installed first.

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

Citation: @article{Xu2017, author = {Xu, Yiqing}, title = {{Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models}}, journal = {Political Analysis}, volume = {25}, number = {1}, year = {2017}, pages = {57--76}}

gsynth

panelView: Visualizing Panel Data before Running Regressions

Summary: panelView is a function of the gsynth package. It has two main functionalities: (1) it can visualize the treatment/missing-value status of each observation in a TSCS/panel dataset; and (2) it can plot the outcome variable in a time-series fashion.

User's Guide: HTML. To install, type in R console:

devtools::install_github('xuyiqing/gsynth')

"devtools" package needs to be installed first.

gsynth