Hi Statalist
First time poster, long time reader here. I have searched the list and online for answers l but I haven't had any luck.
Error message: error obtaining starting values; try fitting a marginal model in order to diagnose the problem
r(459);
I am running a series of xtmelogit models for my project with HILDA data. I could run every other model except this particular model. I have used the outcome variable in other models with no error messages.
Code: xtmelogit NILF_FR i.anatsi i.helth ghpf hgage i.funds_n wealth pincomeg ghmh i.edhigh1 || xwaveid2:, var mle
NILF_FR is a binary variable containing only 0 and 1.
ghpf is physical functioning scale (continuous)
hgage is age (continuous)
wealth and pincomeg are also continuous
ghmh is mental health scale (continuous)
I have tried making variables like age and physical functioning a factor variable but no luck.
I have also tried a smaller model (either just with demographics/SES, and just with mental health physical health). But it still won't run.
I don't quite know how to fix this. The same model but xtmixed instead of xtmelogit runs ok. But I do want xtmelogit as the outcome variable is binary.
Any thoughts/suggestions please? I don't know what I am doing wrong here.
Thanks
Su Mon
0 Response to error obtaining starting values; try fitting a marginal model in order to diagnose the problem
Post a Comment