Hi,
I am trying to use synthetic difference-in-differences (Arkhangelsky et al., 2021) as an analytical tool. There is a Stata code called -sdid- as explained in this following github page: https://github.com/Daniel-Pailanir/sdid
I tried running the below demo code for practice but it gave me the "type mismatch: exp.exp: transmorphic found where struct expected" error. Would you please explain me what is wrong on my side? I'm using an older version of Stata, so do you think that's also causing it?
Thanks!
I am trying to use synthetic difference-in-differences (Arkhangelsky et al., 2021) as an analytical tool. There is a Stata code called -sdid- as explained in this following github page: https://github.com/Daniel-Pailanir/sdid
I tried running the below demo code for practice but it gave me the "type mismatch: exp.exp: transmorphic found where struct expected" error. Would you please explain me what is wrong on my side? I'm using an older version of Stata, so do you think that's also causing it?
Code:
ssc install sdid, replace net install sdid, from("https://raw.githubusercontent.com/daniel-pailanir/sdid/master") replace webuse set www.damianclarke.net/stata/ webuse prop99_example.dta, clear #delimit ; sdid packspercapita state year treated, vce(placebo) reps(100) seed(1213) graph g1_opt(xtitle("") ylabel(-35(5)10) scheme(plotplainblind)) g2_opt(ylabel(0(50)150) xlabel(1970(5)2000) ytitle("Packs per capita") xtitle("") text(125 1995 "ATT = -15.604" " SE = (9.209)") scheme(plotplainblind)) graph_export(sdid_, .png) ; #delimit cr
Comment