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
Convert tex numeric variable without value label to string variableHi Statalisters, I have a basic question. I want to convert variable "srcdate" from numeric to stri…
Multiple observations with some different covariates and non-integer weightsHi. I have a dataset with some multiple observations, but the observations are different for one sp…
Bootstrap two stagesHi all, I am trying to perform the following: extract n bootstrap samples from a strongly balanced …
Calculating cost of equity through fama and french 3 factor modelHello, I have to calculate the cost of equity capital based on fama and french 3 factor model. For …
discrete-time survival analysis xtcloglog late entryDear members, I am running a discrete-time survival analysis on an unbalanced panel data by using x…
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