MIT Logo
Home ] Research ] [ Statistical Software ] Courses ] CV ]

Synth Package

Synth is a statistical software that implements synthetic control methods for causal inference in comparative case studies with aggregate data as described in Abadie and Gardeazabal (2003) and Abadie, Diamond, and Hainmueller(2010). An detailed explanation of the Synth package for R is presented in Abadie,Diamond, and Hainmueller (2011).

The synthetic control method allows for effect estimation in settings where a single unit (a state, country, firm, etc.) is exposed to an event or intervention. It provides a data-driven procedure to construct synthetic control units based on a weighted combination of comparison units that approximates the characteristics of the unit that is exposed to the intervention. A combination of comparison units often provides a better comparison for the unit exposed to the intervention than any comparison unit alone.

Synth is available for MATLAB, Stata, and R. Feedback from users is appreciated. If you download the software, please send us an email so that we can keep you informed about updates. If you encounter a problem with the software please first check the FAQ and if you cannot find your answer there please send us an email with your question.



Synth for Stata
Before installing Synth, please make sure that your Stata is up to date (ie. type update all on the Stata command prompt).

To install Synth for Stata type:
  
net from "http://www.mit.edu/~jhainm/Synth"
  net describe synth
  net install synth, all replace force

Notice:

Synth for Stata runs on Stata versions 9-12 (32 and 64 bit), but contains a platform dependent plugin. Net install will automatically copy the correct version of the plugin to your computer. Currently, plugin versions are included for Windows platforms (XP, Vista, and 7) for 32 and 64 bit Stata, Mac platforms (OS X on x86-32, x86-64, PPC-32 and PPc-64) for Stata 32 or 64 bi, and Unix/Linux platforms for 32 bit Stata. If a plugin is not availbale for your platform, you will receive an error message during the installation. In this case you can email us and we can send you the C code to compile the plugin on your platform.

Thanks to Daniel Bjorkegren for compiling the plugins for Mac and to Ethan Scherer for compiling the plugin for Unix.


Synth for MATLAB
  - Current Version


Synth Package for R
- To obtain the Synth package for R from CRAN typing:
  
install.packages("Synth")
Source: http://cran.r-project.org/web/packages/Synth/index.html