I recently ran a latent class analysis for my choice experiment data using the "lclogit" command. I am trying to get the latent class model but keep getting the error "varlist not allowed."
I ran the lclogit with my dependent variable "Select" the dummy coded optout, and my attributes. I included 2 demographic variables in the membership. This coding worked.
My exact coding was: lclogit Select optout quail_rec tort_rec water_med water_high scenic_med scenic_high Tax, group(groupid) id(Respondent) nclasses(3) membership(gender_f age)
For the latent class model, I used the coding: "lclogitml iterate (50)", but I got the error "varlist not allowed"
I am trying to get the latent class model with standard errors and coefficients. Can anyone help? Thanks.
0 Response to Post estimation models for latent class analyses
Post a Comment