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
stack-related problem?Dear All, I found this question here. The raw data is Code: * Example generated by -dataex-For more…
How to perform calculation on a Dijkstra algoritmHi to everybody I'm looking for a solution to a problem I heard would be resolvable with the Dijkst…
Select a varible name by value and put it as value in a new variableHi! I'm wondering if there is a function (probably to be nested in a loop) that would allow me to se…
Assign specific value in Ranked Column if...Good afternoon, I am ranking across 2 variables, score_1 and score_2 by raceid, using the code belo…
What is wrong with my Stata code for a ppml regression analysis on panel gravity data?Hi everyone, I am currently trying to run a fixed effects model on Stata using the ppml command, bu…
Subscribe to:
Post Comments (Atom)
0 Response to Event Study
Post a Comment