Auxiliary (r) and knownclass? PreviousNext
Mplus Discussion > Latent Variable Mixture Modeling >
 Bonamy Oliver posted on Wednesday, September 29, 2010 - 2:36 am
I think this may be a very simple question, and it may just be about output interpretation, but I'm not sure.

I am using the auxiliary (r) option to explore the extent to which a covariate predicts latent class membership. i have done this successfully for boys and girls separately, looking at the pseudo-class draws. However, what I really want is to be able to compare across as well as within gender.

Can I use the knownclass option in combination in order to examine gender differences? When I run a model with:

classes = sex (2) ldf(4) ;
knownclass = sex (kz021=1 kz021=2);

Either I don't get all comparisons I expect to, or I do, but I don't understand the output!

Many thanks
 Bengt O. Muthen posted on Wednesday, September 29, 2010 - 4:37 pm
Auxiliary (r) should not be used with more than one latent class variable.
 Bonamy Oliver posted on Thursday, September 30, 2010 - 1:19 am
Many thanks for your swift reply - I'm confused by it, though, since sex is a defined, known variable, not a latent class...?

 Linda K. Muthen posted on Thursday, September 30, 2010 - 5:32 am
Even though one categorical latent class variable is a known class variable, you still have two categorical latent variables in the analysis so AUXILIARY (r) should not be used.
 Bonamy Oliver posted on Thursday, September 30, 2010 - 5:48 am
Sorry Linda, just to check, you mean that the gender variable is treated as a latent variable even though it's known?

So, second question then - is there a way to look at gender differences using the auxiliary (r) command? I'm after comparisons between and within gender for my 4 classes (grouping doesn't work, of course, because these are mixture models).

Thanks again,
 Linda K. Muthen posted on Friday, October 01, 2010 - 8:22 am
Yes, the known class categorical latent variable is the same as gender.

No, AUXILIARY (4) cannot be used in this case. Instead do not use gender as a known class variable. Instead regress the categorical latent variable on gender.
 Andrew Iverson posted on Wednesday, October 16, 2013 - 12:01 pm
Following up on a similar question as posed in this thread. I am new to Latent Class/Profile Analysis and am currently attempting to get an LPA to run off of 5 continuous variables while also distinguishing differences between a treatment and control condition. I have used both Auxiliary and knowngroup variables to model this treatment/control, but appear to get slightly different results. What exactly is the mathematical difference between these two?


Andrew Iverson
 Bengt O. Muthen posted on Wednesday, October 16, 2013 - 3:37 pm
You mention auxiliary r. There is now a better approach in auxiliary R3STEP. See our web note 15.

Knownclass is basically the same as having a binary covariate. I assume that you include

c ON cg;

where cg is the knownclass variable. Including the covariate in the model implies that the classes are formed also based on information from this covariate, not only using the information from the LPA indicators.
 Andrew Iverson posted on Friday, October 18, 2013 - 12:59 pm
My goal is to examine if the classes/profiles created by the LPA indicators differ across the knownclass covariate (in this case, a variable which specifies if the participant is in either a treatment or control group).

So ideally, I want to see the program create c (the profiles), and then examine the differences between the knowngroups.

So my current input is:

CLASSES = c(4) xclass(2);
knownclass = xclass( x=1 x=2);
type is plot3;
series is y1 (1) y2 (2) y3 (3) y4 (4) y5 (5);
STARTS = 100 20;
File is Teststhis2.out;
save is cprob;
format is free;

Does this leave the knowngroup as an auxiliary variable, or is it being included in the creation of the profiles?

 Bengt O. Muthen posted on Friday, October 18, 2013 - 8:49 pm
xclass will be included in the creation of the latent classes. Also, the default is that the two latent class variables are unrelated - you may want to say c on xclass.

Alternatively, if you don't want xclass to be part of creating the latent classes you can specify xclass as an R3STEP auxiliary covariate of the latent class variable.
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