Hello everyone,
I am trying to compute latent class goodness of fit statistics using estat lcgof syntax in Stata version 15.1SE but the output seems not complete. That means, it gives me the AIC and BIC statistics but not G2 goodness fit (not showing me X2 distribution and p-value). The output is displaced below. The same syntax works fine when I use the STATA website dataset but not for mine. I used the same coding - Yes/No (1 or 0). Would you mind advising me why this happened? And any measure I should take.

Many thanks,
Liyu
I am trying to compute latent class goodness of fit statistics using estat lcgof syntax in Stata version 15.1SE but the output seems not complete. That means, it gives me the AIC and BIC statistics but not G2 goodness fit (not showing me X2 distribution and p-value). The output is displaced below. The same syntax works fine when I use the STATA website dataset but not for mine. I used the same coding - Yes/No (1 or 0). Would you mind advising me why this happened? And any measure I should take.
Many thanks,
Liyu
Comment