Dear Statalist
I have successfully used the new gsem latent class analysis command in Stata15 however when I use margins and marginsplot to visually compare the probabilities across classes I get a single plot line rather than a bar graph depicting the probabilities of the categorical variables in the model within each of the three latent classes. I followed the commands in the example provided by Stata at https://www.stata.com/new-in-stata/l...lass-analysis/
Any help would be greatly appreciated.
BW
Paul
I have successfully used the new gsem latent class analysis command in Stata15 however when I use margins and marginsplot to visually compare the probabilities across classes I get a single plot line rather than a bar graph depicting the probabilities of the categorical variables in the model within each of the three latent classes. I followed the commands in the example provided by Stata at https://www.stata.com/new-in-stata/l...lass-analysis/
Any help would be greatly appreciated.
BW
Paul
Comment