Hello,
I am a beginner with LCA models. I am trying to run latent class models on Stata 15 but I have difficulties.
My model is
gsem (mhi5_76 dlang_d2 <-, logit) ( srh_c dpal ddrktype socsupp_c <-, mlogit), lclass(B 3) startvalues(randompr, draws(20))
I tried to run the model from two to five class to be able to chose the best model.
However, the program runs for the two class but doesn't work for the four and five latent class model.
it sometimes run for the three latent class model, but not systematically.
The error message is the following : discontinuous region encountered
Looking at the help menu for this error and tried the "difficult" and it didn't work either.
I am not sure what are the next steps after and I have a hard time understanding what might be the sources of the problem.
Thank you for any help you could give me.
Marie
I am a beginner with LCA models. I am trying to run latent class models on Stata 15 but I have difficulties.
My model is
gsem (mhi5_76 dlang_d2 <-, logit) ( srh_c dpal ddrktype socsupp_c <-, mlogit), lclass(B 3) startvalues(randompr, draws(20))
I tried to run the model from two to five class to be able to chose the best model.
However, the program runs for the two class but doesn't work for the four and five latent class model.
it sometimes run for the three latent class model, but not systematically.
The error message is the following : discontinuous region encountered
Looking at the help menu for this error and tried the "difficult" and it didn't work either.
I am not sure what are the next steps after and I have a hard time understanding what might be the sources of the problem.
Thank you for any help you could give me.
Marie
Comment