Hi, i'm conducting latent class analysis with Stata 14.
after I converted my variables(x1 to x9) to binary, then typed

my code: gsem(x1-x9 <- ), logit lclass (C 2) nolog

but 'option lclass() not allowed' message keep coming up

Is this a matter of version of the program? or did i type wrong code?

Thank you in advance!