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
Renaming multiple variables in a loopHi, How can I rename multiple variables without having to manually rename every single one of them …
generating shares from a categorical variableDear Statalist members, i need help with a stata code. I have data on cities within the Uk I wan t…
Sample Distribution by YearsDear Statalists, I have an unbalanced panel sample and want to create a table summarizing firms dis…
missing coefficient and standard error when using areg commandHi everyone, I have a data set that I included here. I try to run the regression to find the effect…
The choice of selection equation in the Heckman procedureMy sample includes only migrants that send remittances and non migrants. I am trying to predict the …
Subscribe to:
Post Comments (Atom)
0 Response to Monthly labor force status stored as a string variable
Post a Comment