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
save as .exp fileGood Morning, a client wants to have a stata dataset in SAS. Therefore I exported the data as a v8x…
panel data - format dateHello everyone, I have a paneldataset ranging from 2002 to 2019 with all companies from the s&p…
Multiple Baseline DesignHello Everyone. I have been following STATALIST for a while now and really appreciative of its help.…
Import delimited recognizes (wrongly?) a variable as srtLDear Statalanders, While importing the attached mdl_course.csv with -import delimited- in Stata 16,…
How to replace specific values with string?Hi I am suffering from a annoying situation. In my data set, a variable is like below, Code: comm…
Subscribe to:
Post Comments (Atom)
0 Response to DiD multiple same years across states
Post a Comment