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.
Related Posts with Post estimation models for latent class analyses
Store results of a statsby for use in a graphHi, I am trying to create a graph that depicts average age that a child gets their first phone by a …
Drop all the observations if there is one duplicateGood day to all! Code: * Example generated by -dataex-. For more info, type help dataex clear inpu…
Instrument Variable and endogeneity test interpretationsIn my regression, dependent(y) variable is inj_hour independent (x) variable is dummy_recessions_wor…
In a loop, strtrim() won't work in some of my variablesHello everyone! I'm facing a little difficulty using the strtrim() command here. As always, I looked…
Mismathing data when summarizing a variableWhen I try to summarize data the information that the functio returns to me doesn't match with what …
Subscribe to:
Post Comments (Atom)
0 Response to Post estimation models for latent class analyses
Post a Comment