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
0 Response to Latent class analysis categorical variables
Post a Comment