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
Creating a dummy variable - New User of Stata 15Hello everyone, undergraduate Bsc Economics student here, I am struggling to use Stata 15. This may …
Remove all ID duplicates except the last.Hi. I am pretty new to STATA and I find myself struggling with a dataset that I have been working on…
clogit and Marignal effectshello everyone, I am using Stata 16, and for my research model, I am using -clogit- to run my model …
Change in beta coefficients while running regressions with stock and flow variablesDear Stata members My dependent variable is, say, fixed assets scaled by total assets. It is a stock…
Replace all growth rates if cond1 or cond 2 and cond3Hello Everybody, I am sitting here on a problem where I try to replace all observations that have e…
Subscribe to:
Post Comments (Atom)
0 Response to Event Study
Post a Comment