Message/Author 

Anonymous posted on Tuesday, February 19, 2002  3:06 pm



I would like to know if a multilevel or multisample mixture model is possible with Mplus. If so, can you please point me to further readings? Many thanks! 


Mplus can currently do Mixture Complex with and without missing data. It can also do Mixture mutisample using training data to specify the groups. Mixture multilevel is currently under development. 

Scott Grey posted on Wednesday, June 14, 2006  11:47 am



Linda, I'm trying to run a LPA using 'TYPE IS MIXTURE COMPLEX' but I do not get standard errors in my output. Here's the code: DATA: FILE IS "C:\Documents and Settings\insthealthsa4\My Documents\DARE\ External prevention programming\CFA3.dat"; VARIABLE: NAMES ARE n1q44a_7 n1q44a_8 n1q44a_9 n1q44b_7 n1q44b_8 n1q44b_9 n1q44c_7 n1q44c_8 n1q44c_9 n1q44d_7 n1q44d_8 n1q44d_9 v10q52 v10q55 n2q49 utq39 crsswlk ms7dist treatms inclass outclass dare other t7 t8 t9 t10 msdist; USEVARIABLES ARE inclass outclass dare other; AUXILIARY = crsswlk; CLUSTER IS ms7dist; CLASSES = class(5); ANALYSIS: TYPE IS MIXTURE COMPLEX; STARTS = 50 5; LOGHIGH = +25; LOGLOW = 25; UCELLSIZE = 0.01; ESTIMATOR IS MLR; LOGCRITERION = 0.0000001; ITERATIONS = 1000; CONVERGENCE = 0.000001; MITERATIONS = 500; MCONVERGENCE = 0.000001; MIXC = ITERATIONS; MCITERATIONS = 2; MIXU = ITERATIONS; MUITERATIONS = 2; MODEL: %OVERALL% inclassother WITH outclassother; OUTPUT: TECH8 TECH11; SAVEDATA: FILE IS LC3; FORMAT IS FREE; SAVE = CPROB; THANKS FOR YOUR HELP! 


I'm afraid this information does not tell me why you don't get standard errors. Please send your input, data, output, and license number to support@statmodel.com. 

Hao Duong posted on Saturday, October 18, 2008  11:02 am



Dr. Muthen, I am confused about interpretations for ib sb on w, and c on w in example 10.9 in Mplus user's guide in 2007. Would you please explain them for me? Thank you I appreciate all your help! Hao Duong 


All regressions are linear regressions. ib and sb are continuous growth factors. c#1 is a random intercept, also a continuous latent variable. 


Hello, I have two questions. I am attempting to establish a GMM with four time points. However, the time points are not equally spaced. I do have an indicator of time (age at each assessment). 1. Would this preclude me from using a traditional GMM? I was under the impression that I would have to use a two level model, rather than LGCM because of the unequal time between interviews, and regress my outcome on my time variable. 2. Also, if multilevel modeling is required, would it still be possible to examine classes of trajectories? 


1. No. A singlelevel model is sufficient. Just use time scores that reflect the nonequidistance. 2. Yes, you can use betweenlevel latent class variables. 


Thank you very much Dr. Muthen. The problem that I have run into is that the spacing of each assessment varies individually. Is this still possible? 


I should clarify as this is unclear. I have been able to run these models using the TYPE = RANDOM command for the individually varying time scores. I am wondering if there is a way, using this option, to examine classes of trajectories? If so, how would I specify this model in MPlus? 


Individuallyvarying times of observations is handled by the TSCORES option (see UG) and it can be combined with Type=Mixtures, although it takes a little longer. 


Hi, I'm doing multilevel latent class analysis with 12 items which have 4 categorical options. I tried few times but keep pop up some error message. And I'm not sure what's gone wrong. Hope someone can advise me on this. many thanks. my input instruction: VARIABLE: NAMES ARE wel mor dif enj str qui bor lik hel oth uni job schid ; USEVARIABLES = wel mor dif enj str qui bor lik hel oth uni job ; CATEGORICAL ARE wel mor dif enj str qui bor lik hel oth uni job ; MISSING ARE all (9); CLASSES=C(3); CLUSTER=schid; WITHIN=wel mor dif enj str qui bor lik hel oth uni job ; ANALYSIS: TYPE = MIXTURE TWOLEVEL ; STARTS = 20 10; PROCES = 8 (STARTS); MODEL: %WITHIN% %OVERALL% %BETWEEN% %OVERALL% C#1; C#2; C#1 WITH C#2; *** ERROR Categorical variable WEL contains 158 categories. This exceeds the maximum allowed of 10. 


It sounds like you are reading your data incorrectly. Perhaps the number of variable names is not the same as the number of columns in your data set or you have blanks in your data. If you can't figure this out, send your files and license number to support@statmodel.com. 


I am implementing a IRT multilevel mixture model with item bias effects in Mplus. My structure has items nested in individuals, nested in countries. I would like to code the mixtures nominal, yielding discrete random effects. For identification I use effectcoding for the mixtures. But when using the following syntax, there are no differences for the latent means across mixtures; both are zero. Am I applying the correct syntax for effectcoding of mixtures? VARIABLE: NAMES = id item1 item2 item3 country; USEVARIABLES = item1 item2 item3; CATEGORICAL = item1 item2 item3; CLUSTER= country; CLASSES= eta3 (2); BETWEEN= eta3; ANALYSIS: ALGORITHM=integration; TYPE=TWOLEVEL MIXTURE; MODEL: %WITHIN% %OVERALL% ETA2w BY item1* (a) item2 (b) item3 (c); ETA2w@1; [ETA2w@0]; %BETWEEN% %OVERALL% ETA2b BY item1* (a) item2 (b) item3 (c); %eta3#1% !Mixture #1 [ETA2b] (d); !Mean of latent var for mixture #1 item2; !item bias effects item3; %eta3#2% !Mixture #2 [ETA2b] (e); !Mean of latent var for mixture #2 item2; !item bias effects item3; model constraint: 0= d+e; !effect coding for mixtures 


The latent variable mean must be fixed at zero in one class for model identification. So d and e in MODEL CONSTRAINT are not both identified. 


Hello, I'm running Multilevel Latent Class model similar to model presented in Henry&Muthén(2010). The core of the model is multilevel logistic model: resp on negd1 negd2 negd3; and 2 latent classes are specified. Estimation of the model works when I've two regression in each of the latent class: MODEL: %WITHIN% %OVERALL% resp on negd1 negd2 negd3; cw#1 on time ; %CW#1% resp on negd1 negd2 negd3 ; %CW#2% resp on negd1 negd2 negd3 ; %BETWEEN% %OVERALL% resp ; [resp$1] ; %CW#1% resp ; [resp$1] ; %CW#2% resp ; [resp$1] ; But the problem appears when I want to have empty logistic model in class 2. i.e model without explanatory variables. I was trying several specifications. None of them worked. While I'm declaring ON statement in %OVERALL% part I get ON statements in all classes. When ON statement is not declared in %OVERALL% part I'm not allowed to specify it for class 1. Is there a way to specify logistic model with explanatory variables in class 1 and empty model in class 2? Thank You! 


Please send to Support the data and output for the case where you specified the ON statement in the Overall part and fix the slopes in class 2. 


Hello, I plan to use UG Example 10.12 (twolevel LTA with a covariate) for my analyses. I have students nested in schools. I understand the code in the example, except I want to clarify one aspect of it. In the code below, why are the indicators for the latent classes modeled at the between level? If these reflect individual responses (such as from individual students), wouldn't those be on the within level? Or is it that because we are estimating probabilities (or mean responses) for the items for persons, conditional on class, this becomes an average across personsno longer on the within level? Thank you. MODEL: %WITHIN% %OVERALL% c2 ON c1 x; c1 ON x; %BETWEEN% %OVERALL% c1#1 ON w; c2#1 ON c1#1 w; c1#1 c2#1; MODEL c1: %BETWEEN% %c1#1% [u11$1u14$1] (14); %c1#2% [u11$1u14$1] (58); MODEL c2: %BETWEEN% %c2#1% [u21$1u24$1] (14); %c2#2% [u21$1u24$1] (58); 


In multilevel modeling, all mean/threshold/intercept parameters are on the highest level. 


OK, may I request your input on the following questions regarding this section of the code: %BETWEEN% %OVERALL% c1#1 ON w; c2#1 ON c1#1 w; c1#1 c2#1; Understanding the code above: 1) Why is c2#2 ON c1#2 (and other combinations such as c2#2 ON c1#1) not above, similar to the second line? I believe that the code above regresses the clusterlevel (average or intercept) latent status for class 1 of c2 on that for class 1 of c1. This is part of the random intercept setup. But wouldn't regressing the second class of each latent class variable make sense to do as well? 2) By the same token, why does the above code not show "c1#2 c2#2;" as well? Is it that by allowing intercepts for the first class for each latent class variable to vary across clusters, these are already free to differ from those for the second latent classes? Altering the code for my data: 3) If I have 3 latent class variables rather than 2, and want to have random intercepts, I would also model c3#1 ON c2#1, right? 4) Finally, if I try a model without random intercepts, would I remove both the "c2#1 ON c1#1", and "c1#1 c2#1;" sections of code? Thank you sincerely. 


There are only 2 classes in which case there is no between counterpart for the second class just like in multinomial logistic regression. With 3 classes you have between counterparts for the first 2. 


Dear Muthen I am writing this post to ask MLCA analysis. is it possible to run "multilevel LCA" with covariates and distal outcome simultaneously? the number of individual cases are 580 nested with 30 organizations. Thank you in advance. 


Thirty organizations is the minimum you should have. Yes, this model is possible. 

Back to top 