Novice here!
This may be a simple question, but I couldn't find an answer using either Google or this forum, so I am probably doing something very basic that is wrong.
I am trying to run latent class analyses using gsem and no matter how I specify my model I get the same error message. An example model shown below
gsem (meaning <- inwork owner indsex ), logit lclass(C 3)
option lclass() not allowed
r(198);
All the variables are 0,1 binary variables and I am using about 3,000 observations.
I copied the exact syntax for this code from these instructions from Stata: https://www.stata.com/features/overv...lass-analysis/
What am I not seeing here please?
Thank you for any pointers
Karen
This may be a simple question, but I couldn't find an answer using either Google or this forum, so I am probably doing something very basic that is wrong.
I am trying to run latent class analyses using gsem and no matter how I specify my model I get the same error message. An example model shown below
gsem (meaning <- inwork owner indsex ), logit lclass(C 3)
option lclass() not allowed
r(198);
All the variables are 0,1 binary variables and I am using about 3,000 observations.
I copied the exact syntax for this code from these instructions from Stata: https://www.stata.com/features/overv...lass-analysis/
What am I not seeing here please?
Thank you for any pointers
Karen
Comment