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
Clarification of Results InterpretationI am conducting a cross-sectional study of UK firms to investigate the relationship between boardroo…
Bayesian analysis: how to mirror a chi-squared test under the "bayes:" prefixDear Forum Members, I believe Stata 15 provided a rather handy panoply of commands to perform Bayes…
merging two data setshello, my project involves merging two very large data sets . I used an id number to merge the two d…
p-value for comparison of adjusted curves from RocregHello, I am trying to compare two curves generated using rocreg - one curve that is not adjusted and…
Event History AnalysisGood Evening, I have a question related to Event History Analysis. I am trying to run this model for…
Subscribe to:
Post Comments (Atom)
0 Response to DiD multiple same years across states
Post a Comment