I am conducting LCA using gsem. I have 6 binary indicator variables and 3725 participants.
Code:
gsem (variable_1 variable_2 variable_3 variable_4 variable_5 variable_6 <- , logit), lclass(C 2)
This occurs for models with 2, 3, 4 and 5 classes.
I have tried the startvalues options such as randomid, randompr and jitter. I have changed the iterate value to a higher number.
I have used the difficult option.
I am a bit unclear regarding the constraint options that work with matrix b; however, I have followed along with examples on other posts and this does not change the problem.
I am feeling a bit frustrated because if I use the doLCA options in R Studio these problems do not occur and or are at least much easier to fix, additionally, the output is very similar. However, I am concerned about how my findings would be received if I reported results which it did not achieve convergence.
If I use ologit the errors do not occur; however, as my variables are binary I know this not correct.
I appreciate your guidance and support.
0 Response to LCA using gsem (not concave) and convergence not achieved
Post a Comment