I am attempting DID with having states from one year 1991 being compared to states from 1992 and so forth with the difference being the occurrence of a mass shooting with a possible difference appearing in the numberoflaws. I would like to capture the difference that occurs between states from one year to another and perhaps as a whole. The multiple same years keep giving me a error as well.
state string
year int
shooting byte
numberoflaws int
state year shooting numberoflaws
Alabama 1991 0 3
Alaska 1991 1 5
....
Alabama 1992 0 9
Alaska 1992 2 1
....
Alabama 1993 0 7
Alaska 1993 3 4
....
Related Posts with DiD multiple same years across states
Goodness of fit -xtreg, re vce(cluster var)- and -xtlogit-Hello everyone, I am running a random effects panel regression with -xtreg, re- and clustered stand…
Forecasting stockreturns following earnings annoucementsHello everyone on Statalist, I’m running into an issue regarding forecasting realized volatility us…
quantile regression with interaction termsHello, I'm confused about how to include an interaction variable in my regression. Indeed, I run a q…
I can't simulate a bootstrap program with multiple resultsI am trying to calculate bootstrap standard errors for many regressions. I am applying Two-Sample In…
Facing trouble with the moment evaluation program of GMM, need your kind helpI was writing a moment evaluator GMM program with a special purpose. However, complying with the con…
Subscribe to:
Post Comments (Atom)
0 Response to DiD multiple same years across states
Post a Comment