I'm using the Synth package in R. I properly created my dataprep.out and synth(dataprep.out). Following, I created my path.plot and it's very fine.
Now I want to find the values estimated by Synth for my outcome variable for each time period. Where can I find this info, please?
Thanks in advance
I cannot find the values of the outcome variable created by Synth throughout my time periods. The plot created by path.plot shows the trajectory of the synthetic estimator, but not the values estimated.
You could get the synthetic control values by using the weights obtained with the
synthfunction, after aplying it to yourdataprepobject.Assuming that your
dataprepobject is calleddp, the observed outcomes for your treated unit are stored indp$Y1plot, and for the donor pool, indp$Y0plot.Then, suppose that your
synthobject is calledsc. Now, you just have to make the following matrix multiplication to get the synthetic control outcomes:cf = dp$Y1plot%*%sc$solution.w.Now you can compare the actual outcomes
dp$Y1plot, with their counterfactualscf.