Hello!
I have been trying to use Latent Class Analysis in Stata 15.
Here is my code:
After that I type:
Lcprop works fine, but Stata does not estimate estat lcmean, and it gives the following error:
I have not specified any option, and I couldn't find anything in Stata manual. What could be the reason for this?
Note 1: I had to use iteration because after the 65ish iteration, the estimation is stuck in the same likelihood forever. Stata Manuel says that it can be a solution to this problem.
Note 2: As far as I know, in order to see the factor components, I had to specify the variables with the i prefix, and the estimation should be carried out in multinomial logit.
Thanks
I have been trying to use Latent Class Analysis in Stata 15.
Here is my code:
Code:
gsem(i.x1 i.x2 i.x3 i.x4 i.x5 <-, mlogit) (x6 x7 x8 x9 x10 x11 x12 x13 <-, logit), lclass(c 5) iterate(100)
Code:
estat lcprop estat lcmean
Code:
estat lcmean too many options r(1003);
Note 1: I had to use iteration because after the 65ish iteration, the estimation is stuck in the same likelihood forever. Stata Manuel says that it can be a solution to this problem.
Note 2: As far as I know, in order to see the factor components, I had to specify the variables with the i prefix, and the estimation should be carried out in multinomial logit.
Thanks

Comment