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
Related Posts with error obtaining starting values; try fitting a marginal model in order to diagnose the problem
Loop over files and rename variable with filenameHi there, I have multiple .dta datasets and they all contain the same variable labeled "Q". I want …
Create scale break in coefplotHi everyone, I am trying to graph the coefficients I generated from a multilevel linear regression …
Loop over files and rename variable with dataset nameHi there, I have multiple .dta datasets and they all contain the same variable labeled "Q". I want …
individual log likelihoods using -frontier for Vuong testHi, I am looking to run a Vuong test to compare model specification after using the -frontier comman…
Create scale break in coefplotHi everyone, I am trying to graph the coefficients I generated from a multilevel linear regression …
Subscribe to:
Post Comments (Atom)
0 Response to error obtaining starting values; try fitting a marginal model in order to diagnose the problem
Post a Comment