Hello
I'm using the HonestDID package from SSC in Stata 18. It works fine, but I can't figure out how I can use the stored results after I run my honestdid command. Specifically, I'm interested in the results saved under `s(HonestEventStudy)'.CI but I have never used mata before or results stored in s(). I know I can type
and that will show me the results but I don't know how I can extract those results to a matrix.
The reason I want to use these stored results is because I want to plot them on a graph. I know that honestdid can create a coefplot, but as far as I understand that only works with one set of results. I want to run honestdid several times for different post-treatment periods and then show all those results on one single graph.
Any help would be much appreciated.
Cristina
I'm using the HonestDID package from SSC in Stata 18. It works fine, but I can't figure out how I can use the stored results after I run my honestdid command. Specifically, I'm interested in the results saved under `s(HonestEventStudy)'.CI but I have never used mata before or results stored in s(). I know I can type
Code:
mata `s(HonestEventStudy)'.CI
The reason I want to use these stored results is because I want to plot them on a graph. I know that honestdid can create a coefplot, but as far as I understand that only works with one set of results. I want to run honestdid several times for different post-treatment periods and then show all those results on one single graph.
Any help would be much appreciated.
Cristina
Comment