Hello,
I have balanced panel data of States in the Time 0-10, an outcome variable Y, and a treatment variable Treat. A shock hits all states in Time=5. I want to estimate the effect of the shock interacted with Treat.
To do that I estimate the following Two-Way-Fixed-Effect Event-Study specification:
I want to present the results graphically. On the X-axis there should be Time 0-10. On the Y-axis there should be the coefficients of the Interaction of Treat and each Year dummy, with the corresponding confidence interval.
I am unsure how I can create this plot. My main problem is that I do not know how to extract and store the coefficients and CIs of the interaction variables.
I would very much appreciate help with this.
Thank you very much.
I have balanced panel data of States in the Time 0-10, an outcome variable Y, and a treatment variable Treat. A shock hits all states in Time=5. I want to estimate the effect of the shock interacted with Treat.
To do that I estimate the following Two-Way-Fixed-Effect Event-Study specification:
Code:
xtset State xtreg Y b4.Time##c.Treat, fe robust
I am unsure how I can create this plot. My main problem is that I do not know how to extract and store the coefficients and CIs of the interaction variables.
I would very much appreciate help with this.
Thank you very much.
Comment