Hi all,
I am doing a latent class analysis with 6 classes and want to create six new variables (cpost1-cpost6) containing probabilities of class membership to each class for each observation
gsem (experience_3 experience_4 helplessness experience_6 efficacy_1 heat_experience_3 heat_experience_4 corona_3 corona_4 <-) if experience_1 >= 2 & heat_experience_1 >= 2, lclass(C 6)
predict cpost*, classpoteriorpr
After running the code, I get the following answer from STATA:
option classpoteriorpr not allowed
r(198);
I cannot find a reason through googling and hope that someone here can help me or has faced something similar.
Thank you and best
I am doing a latent class analysis with 6 classes and want to create six new variables (cpost1-cpost6) containing probabilities of class membership to each class for each observation
gsem (experience_3 experience_4 helplessness experience_6 efficacy_1 heat_experience_3 heat_experience_4 corona_3 corona_4 <-) if experience_1 >= 2 & heat_experience_1 >= 2, lclass(C 6)
predict cpost*, classpoteriorpr
After running the code, I get the following answer from STATA:
option classpoteriorpr not allowed
r(198);
I cannot find a reason through googling and hope that someone here can help me or has faced something similar.
Thank you and best
Comment