Array Folks, I’m trying to plot some graphs related to command synth in Stata, but I’m not succeeding…
I want to create with my dataset some graphs of the following paper:
Abadie, A., Diamond, A., & Hainmueller, J. (2015). Comparative Politics and the Synthetic Control Method. American Journal of Political Science, 59(2), 495–510. https://doi.org/10.1111/ajps.12116
Graphs:
Array
«FIGURE 3 Per Capita GDP Gap between West Germany an» (Abadie et al., 2015, p. 504)
«FIGURE 6 Leave-One-Out Distribution of the Synthetic Control for West Germany» (Abadie et al., 2015, p. 506).
My dataset is a panel and has 27 states, 10 years (2012 to 2021), my dependent variable is hompm (homicides per 100.000 hab.), my data is annual, and treatment happended to RS state (id 23) in February/2019.
I am creating the synthetic RS state (id 23) by using the code below:
synth hompm hompm(2012) hompm(2013) hompm(2014) hompm(2015) hompm(2016) hompm(2017) hompm(2018) pibpc ocuppc popppc osppc salmed gini pop pp1624, trunit(23) trperiod(2019) fig
I really have no idea on how to plot graphs in Figure 3 and 6… Could you help me, please?
I can send you my dataset, if necessary.
Thanks in advance!
Related Posts with Plotting graphs related to synth (synthetic control)
multiple regression - r(2000) error messageHi everyone, I am new here and quite new to Stata (student) so thank you upfront for your help. I …
multiple regression - r(2000) error messageHi everyone, I am new here and quite new to Stata (student) so thank you upfront for your help. I …
Problem with esttab and estpost, exporting to latexHello all, I am trying to export my tabstat table to Latex, however, my code only generates an almo…
Regarding error message “ fpc for all observations within a stratum must be the same” with PPS sampling design, how to handle it ?Dear Statalists, I am running analysis on a survey dataset which use multi-stage stratified systemat…
multiple regression - r(2000) error messageHi everyone, I am new here and quite new to Stata (student) so thank you upfront for your help. I …
Subscribe to:
Post Comments (Atom)
0 Response to Plotting graphs related to synth (synthetic control)
Post a Comment