Hello,
I am working with a data set which storing monthly labour force status during the survey reference period as a 24-digit string variable.
For simplicity, let’s say 1 is for employed; 2 is for unemployed; 0 is not covered in the survey.
For example, the data looks liked:
pid dv
1001 111111111111222221111000
1002 222111111111111221111111
1003 111111112111111111111000
1004 111122221111111122221111
...
I’d like to clean this, so that I can run a hazard analysis. So, initial state, durations of employment, durations of unemployment, date of a spell started, etc.
What would be the best approach/reference to start?
Related Posts with Monthly labor force status stored as a string variable
Constructing Gini Index for Household dataDear All I'm computing the Gini coefficient in Stata 16 with the" ineqdeco" command. I'm using panel…
Generate grouping variable based on various nominal variablesDear community, I'm working with household data containing various nominal or ordinal variables suc…
Unequal number of observations in percentile groupsHi Stata users, I am trying to come up with percentile groups using the code below Code: _pctile …
Regress for each company by using "foreach" or "forvalues" commandHi there, My panel data set includes 389 companies and 51 quarter years. I am trying to regress my …
How to change scientific notation into standard format?Hello all, can anyone please guide me, how can I get rid of scientific notation in the summary down …
Subscribe to:
Post Comments (Atom)
0 Response to Monthly labor force status stored as a string variable
Post a Comment