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
Overlapping values on y axis in Stata graphArray Hi, is there a way to avoid overlapping of numbers on the y axis …
spmap optionsHello, I used -spmap- to map US employment and this is the code I used: Code: spmap cbp_emp_sum u…
Median, Tercile and QuartileHi, I want to create dummy variables based on the median. Sometiems I do that based on quartile and …
New version of xcontract )AGAIN) on SSCThanks once again to Kit Baum, a new version of the xcontract package (superseding yesterday's versi…
Outreg2 to Excel R(198) error diagnosisI am trying to run the below code in STATA 16.1. STATA is fully updated, and I've uninstalled and re…
Subscribe to:
Post Comments (Atom)
0 Response to Event Study
Post a Comment