Dear Stata Forum,
let's say I have state level employment data of 50 states for the years 2000 and 2020, and I want to determine the growth in the number of employed workers in all 49 states from 2000 to 2020 except the state of Washington normalized by the number of employed people in the state of Washington in 2000. I would like to do this for all states leaving out the state in the numerator I normalize with in the denominator. Basically, average growth in employment in states (-i) over 20 years normalized by initial employment numbers in state (i).
My data is in long format:
State.....................Year............Empl
i.............................2000..........
i.............................2020..........
j.............................2000..........
j.............................2020..........
k............................2000..........
k............................2020..........
I am not sure how I could code this and would once again highly appreciate your help.
Thank you very much,
Best wishes,
Nico
Related Posts with Change in the number of employed people in all states except for state i normalized by number of employed people in state i
Meta proportionHi to everybody... after running the "metaprop" command if it is possible to write instead of "ES" "…
Concordance, sensitivity, specificityHello, I have a very small data set with two diagnostic test data. One is an old test and gold stan…
How can I Correctly Build the Fixed Effects Multinominal Logistic Regression Model with Panel Data?Hello, I ran into difficulties when building fixed effects Multinominal Logistic Regression Model wi…
Urgent: Multilevel moderated mediationI need to estimate a multilevel moderated mediation model, but I can't find the right code for it. I…
Regression of a few selected observationsI have a set of data but would only require to use of a few observations from the entire dataset. I …
Subscribe to:
Post Comments (Atom)
0 Response to Change in the number of employed people in all states except for state i normalized by number of employed people in state i
Post a Comment