Hello,
After running my csdid estimation I created a plot for the 2003 group, in my csdid estimation the omitted period is -1, and all other coefficients are relative to -1. However when using the csdid_plot command it doesn't appear to realize this. -1 is an omitted coefficient the plot produces this (output below), however I want it to move all pre coefficients one period to the left since the -1 period is actually omitted and those coefficients all correspond to -2, -3, -4. instead of -1, -2, -3.
Here is the code used:
Here is the output from the csdid command for the 2003 group and the graph produced for this group.
2003_c_notyet.pdf
(graph).
Output from cdid estimation for group 2003:

Thanks.
After running my csdid estimation I created a plot for the 2003 group, in my csdid estimation the omitted period is -1, and all other coefficients are relative to -1. However when using the csdid_plot command it doesn't appear to realize this. -1 is an omitted coefficient the plot produces this (output below), however I want it to move all pre coefficients one period to the left since the -1 period is actually omitted and those coefficients all correspond to -2, -3, -4. instead of -1, -2, -3.
Here is the code used:
Code:
* load the dataset use "$temp/Master enterprise dataset collapsed at ward year with 1999.dta", clear * tell csdid what control units to use replace sezyear=0 if sezyear>= 2013 & sezyear<=2016 * DiD estimation using notyet option csdid empend, ivar(wardnew) time(year) gvar(sezyear) long2 notyet * creates and exports a plot for g2003 estimates using notyet option qui: csdid_estat attgt csdid_plot, group(2003) title("Group 2003") style(rcap) legend(label(1 "95% CI") label(2 "Pre-Treatment Coefficient") label(3 "95% CI") label(4 "Post-Treatment Coefficient") region(lstyle(foreground)) rows(2) position(6))
2003_c_notyet.pdf
Output from cdid estimation for group 2003:
Thanks.