I am trying to run a simple LCA and/or LPA in STATA 15. From the syntax of the manual it looks as if I should be able to run an LCA with a mix of continuous, binary, and categorical predictors. However, I keep running into error terms no matter what syntax I use! The most common error is:
option lclass() is not allowed with models specified with continuous latent variables
My understanding is that the lclass itself should help generate the latent constructs. Am I misunderstanding this operation?
I have a bunch of analyses I am trying to run but for the basis of this post consider that I am trying to see if there are three groups (classes) of people based on their continuous scores of depression (dep), quality of life (QOL), and social support (SS). My syntax is:
gsem (dep QOL SS <- _cons), lclass(C 3)
I also tried:
gsem (dep QOL SS <-, gaussian) (group <-, logit), lclass(C 3)
Any advice from the list serve?
Thank you so much!
option lclass() is not allowed with models specified with continuous latent variables
My understanding is that the lclass itself should help generate the latent constructs. Am I misunderstanding this operation?
I have a bunch of analyses I am trying to run but for the basis of this post consider that I am trying to see if there are three groups (classes) of people based on their continuous scores of depression (dep), quality of life (QOL), and social support (SS). My syntax is:
gsem (dep QOL SS <- _cons), lclass(C 3)
I also tried:
gsem (dep QOL SS <-, gaussian) (group <-, logit), lclass(C 3)
Any advice from the list serve?
Thank you so much!
Comment