Dear all,
I have been using latent class analysis in STATA 15 and have been able to get results using the gsem command for binary variables using the following code:
However when i try to analyse categorical variables, I get an error message
Could anyone help me with this?
Thank you
I have been using latent class analysis in STATA 15 and have been able to get results using the gsem command for binary variables using the following code:
Code:
gsem (isch afib ckd dbt hyp pvd <- _cons), logit lclass(C 3)
Code:
.gsem (bmigroup hb_class age_gp <- _cons), ologit lclass(C 2) invalid path specification; ordinal response bmi_fr1 may not have an intercept
Thank you