ld-archer / E_FEM

This is the repository for the English version of the Future Elderly Model, originally developed at the Leonard D. Schaeffer Center for Health Policy and Microsimulation.
MIT License
3 stars 1 forks source link

Work status #57

Closed ld-archer closed 3 years ago

ld-archer commented 3 years ago

Think the best solution to all this would be to tie all the work and unemployment information together into a workstat variable. The labour force status variable r*lbrf_e seems a good place to start, here are the categories to that var:

Value----------------------|
.d:DK
.o:Other
.r:Refuse
1.employed
2.self-employed
3.unemployed
4.partly ret
5.retired
6.disabled
7.looking after home or fam

Going to open this as another issue, then link both of these issues into a pull request for the work and retirement status variables.

_Originally posted by @ld-archer in https://github.com/ld-archer/E_FEM/issues/43#issuecomment-739250946_

Todo

DON'T TRANSITION THE WORKSTAT VAR. Instead estimate transitions for each of the states (careful with the sample selections) and account. The workstat var is only so these variables are linked and therefore cannot occur at the same time.

ld-archer commented 3 years ago

Update This is mostly complete, and just waiting on a reply from Bryan, after which I will close this issue. I asked Bryan whether it would be better to estimate a transition model for the ordered variable (workstat) and relate this back to the dummy variables, or to transition the dummys directly and relate back to the status var. The current implementation is the latter, with a model estimated for each of employed, unemployed, retired, and relayed back to the ordered variable.

ld-archer commented 3 years ago

Bryan suggested that I rearrange the transition estimation for this group of variables. Instead of transitioning the employed, unemployed, retired vars separately, I am now transitioning the workstat var and relating this back to the indicator variables in HealthModule. Testing now, will remove old variables and close this issue if tests look good.