Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create Event Study Graph from my DID regression

    Hi,

    I have done a form of DID regression and have confirmed parallell trends by looking at the significance of the coefficients of the interaction term before treatment: xtreg log_price treatment_dummy i.time_dummy treatment_dummy##i.time_dummy, fe cluster(region_id_numeric). However, I want to somehow transfer my results from my regression table to an event study graph as illustrated in the attached picture (it is the confidence intervals shown as the vertical lines on the observations). However, I do not necessarily need the numbers on the x-axis to be as in the picture. Would appreciate help on how to do this!

    Last edited by Oliver WB; 21 Oct 2023, 05:15.

  • #2
    Hi,
    without knowing much it is difficult to help you. When I had to create event study plots I relied on the code available here: https://github.com/mcaceresb/stata-honestdid#honestdid
    Hope it helps you as well

    Comment

    Working...
    X