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
When I do K-Wallis test, it divides one of my factorial categorical variable into 2 (picture attached) What could possibly be the reason?In this picture I have 4 different groups of cocaine use (IV, ingestion, nasal, smoke). Why smoke (s…
Wild bootstrap Fixed and Random effects model.Dear Statalist, The topic of my thesis is "How firm specific characteristics affect a firm's Cash ho…
Gen date variable with missing valuesHi, i want to loop to convert my strings data date starting by "d" into date format. But I have vari…
Query on Appending two datasets.Hi everyone, Im trying to append two datasets of different versions together. The variable names ac…
Diff-in-Diff with Cross-sectional DataI collected data to measure the effectiveness of a government educational program on poverty reducti…
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