Comparison of Latent Class Structures PreviousNext
Mplus Discussion > Categorical Data Modeling >
Message/Author
 Anonymous posted on Tuesday, May 11, 2004 - 10:42 am
I have run my LCA analyses separately by gender and have found some differences in the conditional probabilities and class sizes. Is there a way I can test to see if the differences in the measurement models are statistically significant? They are all in the same ballpark in terms of probability size, so I wanted to see if there's a way to test this.

Thank you.
 Linda K. Muthen posted on Tuesday, May 11, 2004 - 10:46 am
You could do a multiple group LCA using the KNOWNCLASS option of the VARIABLE command. Then you could do difference testing as in regular multiple group analysis to test your hypotheses of invariance.
 S. Oesterle posted on Wednesday, July 21, 2004 - 9:45 am
I estimated a multiple group LCA with the KNOWNCLASS option. Since Mplus gives me a Pearson and a Likelihood Ratio Chi-Square, I am wondering which one to use to do the difference testing.
 Linda K. Muthen posted on Wednesday, July 21, 2004 - 12:04 pm
I would use the H0 loglikelihood for difference testing. -2 times the loglikelihood difference is distributed as chi-square.
 Heather Orton posted on Thursday, February 23, 2006 - 7:56 am
I am working on an LCA and need to determine if I need to run the LCA by gender, or if I can combine the genders. When I run the LCA for each gender I found 3 classes for each model, and the classes look fairly comparable. To "officially" test that I can combine the genders and run one LCA, I ran the LCA with 3 classes and included the gender variable in the KNOWNCLASS statement (H0 loglikelihood=-13622.577). I then ran the LCA with 3 classes without the KNOWNLCLASS statement (H0 loglikelihood=-11724.179). I want to be sure I am calculating the likelihood ratio test correctly. I took -2*(the difference between the loglikehood H0 for each model) and get 3796.8 for my chi-square value. My confusion is with the degrees of freedom.

1. Do I subtract the DFs reported with the Likelihood ratio chi-square for each model? If so, I get DF=2010, and the p-value for the likelihood ratio test is 0.0.

2. If I've done this correctly, does the test indicate that I should run the LCA separately for each gender becasue the LCA structure is significantly different for each gender?

Thanks for you help!
 Linda K. Muthen posted on Thursday, February 23, 2006 - 10:44 am
You would use KNOWNCLASS in both analyses. In one analysis the parameters would not be held equal across classes and in the other anslysis the parameters would be held equal across classes.
 Heather Orton posted on Monday, February 27, 2006 - 1:12 pm
Linda, thank you for your reply. I'm very new to Mplus and am struggling with the code that would restrict the parameters across classes. Would it be possible for you to guide me through the MODEL statements that would do this? Thanks.

Heather
 Linda K. Muthen posted on Monday, February 27, 2006 - 1:38 pm
I would suggest that you read the section in Chapter 13 on multiple group analysis and the section on equalities in Chapter 16. The same rules apply to classes. Basically, if you specify:

%OVERALL%
y ON x (1);

this will hold the regression coefficient equal across classes. The same applies to all parameters.
 Heather Orton posted on Monday, February 27, 2006 - 3:22 pm
Thank you again for your quick response. I have read both chapters and consulted with a colleague who attended the Mplus training in Alexandria. She helped me write me some code that she thinks is assigning the appropriate constraints. However, it does not seem to me to be doing what you described. I would greatly appreciate it if you could review this code and let me know if it is correct. I will be sending my program and data set to the support e-mail address. Thank you in advance for your help!

Heather
 Sebastian Weirich posted on Wednesday, May 28, 2008 - 5:32 am
Hello. I try to specify a model with several classes by the KNOWNCLASS option. If there are only two classes (e.g. "gender"), I can estimate the probability of one class by estimating the mean of this class in the whole group (%OVERALL%) and inserting it into (1/(1+exp(-mean))). If there are more than two classes, this method fails. Is there a possibility to get the probabilities of the (more than two) classes via their latent means?

Thank you.
 Linda K. Muthen posted on Wednesday, May 28, 2008 - 1:37 pm
There is an example in Chapter 13 -- Calculating Probabilities From Logistic Regression Coefficients. See the example where all covariates are at the value of zero.
 Miguel Villodas posted on Thursday, December 17, 2009 - 7:08 am
Hello Linda,

I am building an LTA model with three latent classes at the first two time points and four classes at the third time point. I would like to establish partial measurement invariance (i.e., full invariance between the first two time points as well as two of the classes from the third time point). The way that it appears from the baseline models is that the third class splits into two classes at the third time point.

Is it possible to test this simultaneously or does it require sequential testing of the full invariance across the two time points followed by partial invariance of only two of the classes across all three time points?

Would the KNOWNCLASS statement be used for both of these analyses?

Also, the code for such analyses is becoming increasingly complicated. For the three time points, is it necessary to specify separate models for each time point?

Thank you very much in advance for you help with these issues.
 Linda K. Muthen posted on Thursday, December 17, 2009 - 12:48 pm
The KNOWNCLASS option is not used to compare across time. For the two classes that do not change, you can compare across time using equality constraints. Examples of these equalities can be see in Examples 8.13 and 8.14. This requires a model without equalities being compared to a model with equalities.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: