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
PPML gravity estimation with disaggregated dataHello, I have a panel dataset of bilateral trade disaggregated at the HS4 sector level and I would l…
Margins (and marginsplot) do not produce a result after cmclogitDear all, I am running the following cmclogit (conditional logit / McFadden logit) model (and other…
Help with subinstrHi, I need help removing " ' " from some observations from one variable 'ccccccc 'errrrrrrr 'rtrtrt…
xtheckman: Heckman estimation of dynamic panel data with sample selectionDear Stata users, I want to apply a Heckman estimation to a dynamic panel data with sample selection…
xtabond2 help and adviceHello I have a panel data with firm-year data. number of firms approx 1000 and number of years 10 I…
Subscribe to:
Post Comments (Atom)
0 Response to Monthly labor force status stored as a string variable
Post a Comment