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
Clopper-Pearson Confidence Intervals with Complex Survey DataHello, I am currently working with complex survey data in Stata14 and would like to calculate exact…
Putdocx in a loopHi, I am trying to create several word documents containing some text, data, and pictures, I am doi…
Syntax for date format local macros based on c-class date value resulting in embedded leading spaceHello all, I frequently need to access files on a shared network that for reasons lost to time uses…
median survival time using interval censored dataHi statalisters, I'm looking to estimate the median survival time (plus IQR) overall for my interva…
invalid name r(198) when trying to drop placeholder values from datasetNew to Stata so this may be a stupid question. I am trying to drop placeholder values from a dataset…
Subscribe to:
Post Comments (Atom)
0 Response to Post estimation models for latent class analyses
Post a Comment