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
Summary statistics with categorical variablesHi, i was trying to compute the summary statistics for a set of categorical variables and used asdoc…
Reshape numerous variablesI have a vector of numerous variables (>100) that I need to reshape. Basically the format of the …
Invalid Syntax while loopinghello, i dont know why stata keeps me showing invalid syntax in this loop: foreach x of p524a1_14 p…
Survival Analysis - different outputsHello everyone, I am trying to do survival analysis on 2018 Nigeria Demographic and Health Survey D…
Arranging bars of graph barHello community. I am producing a graph with Stata. Here is the output : Array And here is the code …
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