LCA with multiple latent variabels an... PreviousNext
Mplus Discussion > Latent Variable Mixture Modeling >
 Dato Tsabutashvili posted on Friday, April 18, 2014 - 8:42 am
I am working with a LCA model with two latent variables each with two categories. The model looks good and the categories makes a lot of sense and look like what I had expected. I wanted to use auxiliary variables in 3step process to check their effect on latent classes. However 3 step does not seem to work with the models with more than one latent variable. When I run a LCA model with one variable and 4 categories instead of having two variables with two categories I get different classes which don't look as good as two variable categories. So is there a way to constrain LCA model with one latent variable (4 categories) in a way that it will have the same categories as the model with two variables? In this case I would have the categories I want and still use 3step for multinomial regression.

Thank you very much!
 Linda K. Muthen posted on Saturday, April 19, 2014 - 10:42 am
See the LTA example in Web Note 15.
 Frank Reichert posted on Tuesday, March 31, 2015 - 5:49 am

I encounter a problem that did not occur when I modelled only one categorical latent variable. Now that I model a two categorical latent variable multiple group LCA, I always get the following error message:

*** ERROR in MODEL command
Unknown class label in MODEL :

However, CYCLE has been introduced in the names command and further:

knownclass = CCycle (Cycle = 1 Cycle = 2);
classes = CCycle(2) CC(4) CS(4);

In my model command, I state:

CC CS ON CCycle;

[P333a$1] (1);
[P333b$1] (2);
[P333c$1] (3);
[P333d$1] (4);
[P333e$1] (5);

This worked with only one categorical latent variable, and I had assumed I could introduce similar restrictions in a multiple group LCA with two latent variables. If not so, how can I fix the conditional response probabilities (and class sizes) to be the same in both (known) groups?

Thank you!
 Bengt O. Muthen posted on Tuesday, March 31, 2015 - 6:46 pm
Please send output to
 PS posted on Monday, February 26, 2018 - 11:42 am
Good Afternoon,

I am running an LCA wherein I would like to 1) use covariates to predict the classes and 2) use the classes to predict a distal outcome.

Is this possible with DCAT? I am having trouble determining how to specify the covariates in the DCAT context.
 Bengt O. Muthen posted on Monday, February 26, 2018 - 3:02 pm
Use the manual approach described in our 2 web notes on 3-step analyses #15 and #21.
 PS posted on Monday, May 07, 2018 - 10:43 am

I'm working on a model where latent classes AND some covariates predict DVs.

I get: "ERROR The following MODEL statements are ignored:Statements in the OVERALL class: DV1 ON CLASS#1 DV1 ON CLASS#2 DV1 ON CLASS#3 ...DV2 ON CLASS#3"

The step 3 syntax is below; where ind=step1 LCA indicator; cov=covariate; dv=dependent variable; n=my attempt at including the nominal variable

Names = ind1 ind2 ind3 ind4 ind5 weight ID cov1 cov2 cov3 cov4 dv1 dv2 CPROB1 CPROB2 CPROB3
n !this was previously called ˇ°classˇ±, but I named it ˇ°nˇ±;

usevariables = cov1 cov2 cov3 cov4 dv1 dv2 n;

classes = Class(3);
nominal = n;
WEIGHT = weight;
Stratification = VARSTRAT;
cluster = VARPSU;

algorithm = integration; !added based on a prior error;

Dv1 on cov1 cov2 cov3 class#1-class#3;
Dv2 on cov1 cov2 cov3 class#1-class#3;
 PS posted on Monday, May 07, 2018 - 10:52 am
In the message above, I forgot to mention that the DV is binary.
 Bengt O. Muthen posted on Monday, May 07, 2018 - 5:31 pm
You don't regress on the latent class variable. The effect of the latent class variable on the DV is seen in the change of means/thresholds over classes.
 PS posted on Tuesday, May 08, 2018 - 10:06 am
Thank you kindly for the response. Can you suggest any sources with annotated output or articles? I'm not sure how to interpret these, where to look in the output? I'm specifically not sure how to differentiate the effect of the classes and covariates on the DV.
 Bengt O. Muthen posted on Tuesday, May 08, 2018 - 2:48 pm
Have a look at

Nylund-Gibson, K., Grimm, R., Quirk, M., & Furlong, M. (2014): A latent transition mixture model using the three-step specification. Structural Equation Modeling: A Multidisciplinary Journal, 21, 439-454.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message