Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Synth (Abadia, Diamond, and Hainmueller) Placebo test graphic
From
Charlotte Timmermans <[email protected]>
To
[email protected]
Subject
st: Synth (Abadia, Diamond, and Hainmueller) Placebo test graphic
Date
Wed, 11 Sep 2013 14:37:08 +0200
Hello,
I am using the synthetic control method as developed by Abadie,
Diamond and Hainmueller with Stata 12.
I ran the method and got the results for my treated country (The
Congo) and for its synthetic counterpart made from a pool of 21
potential comparison countries.
I am now willing to implement the placebo test to verify the
significance of my results.
Following the synth help page provided by stata, I introduced the
following commands:
tempname resmat
forvalues i =3D 1/21 {
synth rgdpch2 ini_gdp ci LifeexpectancyBirth2
Populationgrowthannual av_pretreatment_gdp , trunit(`i')
trperiod(1965)
matrix `resmat' =3D nullmat(`resmat') \ e(RMSPE)
local names `"`names' `"`i'"'"'
}
mat colnames `resmat' =3D "RMSPE"
mat rownames `resmat' =3D `names'
matlist `resmat' , row("Treated Unit")
The program applied the SCM to every country in the donnor pool and
got the graph with the RMSPEs
I need to compute the graphic that computes the estimated effect
associated with every placebo run.
( A graph that shows the differences between per capita GDP paths (my
outcome variable) in every one of the 21 countries and their synthetic
counterpart. )
For example, in Abadie, Diamond and Hainmueller's paper about the
Effect of California=92sTobacco Control Program, shows the graph that
computes the placebo tests.
How should I proceed in Stata12 to compute this graphic? I am unable
to find the right comands.
Thank you for your time,
Best Regards.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/