Dear all,
For my thesis I analyse the effects of mental and physical health problems on full-time work, part-time work, and retirement decisions in Europe using the Survey of Health, Ageing and Retirement in Europe (SHARE) data. SHARE is a panel dataset on individual health and socio-economic characteristics. In my model, the dependent variable takes three unordered outcomes: full-time work, part-time work, and retirement. The outcome full-time is coded by 1, part-time is coded by 2, and retirement by 3. The deterministic part is a function of a set of socio-demographic characteristics and lagged health indicators. I also consider dummies which are indicators of whether individuals have reached their age for receiving retirement benefits.
Since the data I use is a panel, I am using the femlogit command in Stata to control for unobserved heterogeneity in a multinomial logit model with fixed effects. However, when I execute the femlogit command, I get the error "Hessian is not negative semidefinite r(430);". I have tried executing the command with different sets of variables, and it turns out that if I omit the variables age and age squared (age age2), I do not receive the error anymore. However, age is an important variable I do need to keep it in my regression.
The link "r(430)” I get in the error refers me to a convergence problem but I do not know how to get around the problem. I have tried with different specifications but it seems the error is not related to collinearity. That is, I drop all the variables and regress my dependent only on age using the command "femlogit hrsstatus age, baseoutcome(3)”. The error repeats itself. With only one variable in the model, it seems collinearity is not the issue.
I would like to ask if there is anything I can do?
Thanking in advance!
Lieke
For my thesis I analyse the effects of mental and physical health problems on full-time work, part-time work, and retirement decisions in Europe using the Survey of Health, Ageing and Retirement in Europe (SHARE) data. SHARE is a panel dataset on individual health and socio-economic characteristics. In my model, the dependent variable takes three unordered outcomes: full-time work, part-time work, and retirement. The outcome full-time is coded by 1, part-time is coded by 2, and retirement by 3. The deterministic part is a function of a set of socio-demographic characteristics and lagged health indicators. I also consider dummies which are indicators of whether individuals have reached their age for receiving retirement benefits.
Since the data I use is a panel, I am using the femlogit command in Stata to control for unobserved heterogeneity in a multinomial logit model with fixed effects. However, when I execute the femlogit command, I get the error "Hessian is not negative semidefinite r(430);". I have tried executing the command with different sets of variables, and it turns out that if I omit the variables age and age squared (age age2), I do not receive the error anymore. However, age is an important variable I do need to keep it in my regression.
The link "r(430)” I get in the error refers me to a convergence problem but I do not know how to get around the problem. I have tried with different specifications but it seems the error is not related to collinearity. That is, I drop all the variables and regress my dependent only on age using the command "femlogit hrsstatus age, baseoutcome(3)”. The error repeats itself. With only one variable in the model, it seems collinearity is not the issue.
I would like to ask if there is anything I can do?
Thanking in advance!
Lieke
Comment