Hi there,
I'm pretty new to stata but I'm doing a thesis on the closure of youth clubs in London and whether or not these closures increased knife crime in subsequent areas. I've managed to do a simple DiD regression. My data goes from 2008m1 till 2018m12 and closures can happen any time between 2010m1 up until 2018m12. I'd now like to create an event study in the sense that I'd like to eliminate the variation in treatment timing. I split my data into separate datasets in order to create a new variable newtime which takes (-5, 6) indicating 5 periods before and 6 after for every month.
I then appended the data back so I have it all in one data set. Can anyone suggest where to go from here?
If I haven't been clear at all then let me know
Any help would be greatly appreciated.
Related Posts with Event Study
PANEL DATA and UNIT ROOT TESTDear Stata users, I am conducting my research about CHINESE FDI IN AFRICA, my main purpose of the s…
mismatch r(109) : finding average variablegood evening I hope that you are all in good health. The dataset comprises of a balanced panel of …
Date formattingHello Statalist, I am working with dates and I am encountering a problem I have not encountered bef…
Linear regression on a string of ranges of indep varHi all, I am trying to split the independent variable into different ranges and then regress the de…
generate treated_start dateHi, I intend to do a time-varying diffindiff analysis, and I am a bit confused about how to generate…
Subscribe to:
Post Comments (Atom)
0 Response to Event Study
Post a Comment