Message/Author 


Hi, i'm new to MPlus and have a question. I have data where we tracked patients with heart disease for 1 year and have physical activity measurements at baseline, 3, 6, 9, and 12 months. I performed a growthmixture model to identify the number of classes for two intensities (i.e., light and moderate) controlling for age and gender. I identified two classes for each intensity. Now that I have this information, I want to know the probability of a patient transitioning from a light intensity trajectory into a moderate intensity trajectory (and vice versa). I believe this can be done via dual trajectory analysis, but I'm not sure this can be done in MPlus. If it is, can someone direct me to an example. Thanks very much, chris 


Is "intensity" a dichotomous covariate? What are the two processes in the dual trajectory analysis you have in mind? 


No. I ran a separate growth mixture model for light intensity and one for moderate intensity (syntax for light is below). USEV ARE age gender light1 light2 light3 light4 light5; IDVARIABLE = id; CATEGORICAL = gender; CLASSES = c(2); ANALYSIS: TYPE = MIXTURE; STARTS 20 2; MITERATION = 300; ALGORITHM=INTEGRATION; MODEL: %OVERALL% i s  light2@0 light3@1 light4@2 light5@3; i s on light1; i s on age; i s on gender; [light1]; [age]; is this syntax correct? If so, i'm hopoing to show that as time goes on, patients transition into doing more moderate intensity PA...from reading the lit., i thought i had to do a dual trajectory analysis, but perhaps there is another type of analysis I could do? Thanks for your help in advance! chris 


There is no transitioning in the GMM. Perhaps you want to use Latent Transition Analysis and include both light and moderate. 


Thank you! Final question, if I run a growth mixture model with 2 classes for light intensity and 2 classes for moderate intensity, will the output be able to provide me with the probabilities of being in class 1 for light intensity conditional on the moderate classes and vice versa? In speaking with my collegue, he also wants to identify the most at risk group. I think this is a dual trajectory analysis approach. I apologize if I confused the issue...chris 


Hmm. I understood the light and moderate intensities to correspond to different groups of subjects, in which case one cannot talk about conditional probabilities of one given the other. But perhaps I am misunderstanding. A dual process would be 2 different types of outcomes observed on the same individual. 


They are actually the same participants. The questionnaire asked them about light intensity and moderate intensity. I ran the growth mixture models separately and identified 2 classes for each intensity. I was hoping to then combine them into a dual trajectorytype analysis to establish the probability of a participant being in class 1 for light intensity conditional on the moderate intensity classes...is this possible to do? Sorry about the confusion. chris 


You can do that by using 2 latent class variables in a dual process model, one latent class variable for each process. You can relate the 2 latent class variables to each other. To do this you say in the Overall part of the mixture model: c1 with c2 (or c2 on c1) And then Model c1: %c1#1% where you mention the growth factor means for process 1 in latent class 1 %c1#2% where you mention the growth factor means for process 1 in latent class 2 Model c2: where analogously you mention the growth factor mean for process 2 in the different proc 2 classes 


thank you very much! I've pasted part of my syntax below and was wondering if a) it is correct, and b) if I interpret the latent transition probabilities based on the estimated model output to determine the probabilities of being in light class 1 condition on mvpa class 1, etc...or do I have to save the probabilities and get this information from the saved data file. Sorry, that is my last MPLUS newbie question! MODEL: %OVERALL% ilight slight  mild_m2@0 mild_m3@1 mild_m4@2 mild_m5@3; imvpa smvpa  mvpa_m2@0 mvpa_m3@1 mvpa_m4@2 mvpa_m5@3; ilight slight on mild_m1; imvpa smvpa on mvpa_m1; ilight slight on age; imvpa smvpa on age; ilight slight on gender; imvpa smvpa on gender; [mild_m1]; [mvpa_m1]; [age]; c2 on c1; MODEL c1: %c1#1% [ilight slight]; %c1#2% [ilight slight]; MODEL c2: %c2#1% [imvpa smvpa]; %c2#2% [imvpa smvpa]; 


This looks correct. 


Hi there, in redoing the analyses, I decided to do a simple latent class growth analysis for light intensity (identified 2 classes: class 1 = 177; class 2 = 46) and moderate intensity (identified 2 classes: class 1 = 186; class 2 = 37). Then, when I run the dual trajectory analysis to obtain the latent transition probabilities, the class membership get's flipped for light intensity (class 1 = 46; class 2 = 177), but not moderate intensity. Unfortunately, this is confusing me because the demographic makeup of the trajectories also get reversed when I examine them in SPSS. Below is my syntax, am I doing something wrong? MODEL: %OVERALL% il sl  mild_m1@0 mild_m2@1 mild_m3@2 mild_m4@3 mild_m5@4; im sm  mvpa_m1@0 mvpa_m2@1 mvpa_m3@2 mvpa_m4@3 mvpa_m5@4; ilsl@0; imsm@0; c2 ON c1; MODEL c1: %c1#1% [il sl]; %c1#2% [il sl]; MODEL c2: %c2#1% [im sm]; %c2#2% [im sm]; 


You can use the results of the two prior analyses as starting values in the current analysis to keep the classes straight. 

Andrea Mata posted on Wednesday, March 09, 2011  2:14 pm



Hello. I am familiar with running LCGAs and GMM's in mplus, however, I need to run a dual trajectory model using LCGA. I was hoping you could provide references for examples of syntax to guide me in this task. Thank you in advance. 


Use the UG to combine an LCGA setup and a parallel process setup and you have what you want. Check to be sure that your growth factor variances are zero since you want LCGA. One question is if you want one latent class variable for both processes or one for each. I can't think of a reference off hand. 


We separately ran latent class growth analyses (LCGA) for our two constructs: PYD (continuous) and SU (count). Three classes were found for PYD; two classes were found for SU (we used a zeroinflated poisson model for SU). Then we wanted to run a dual trajectory analysis to obtain latent transition probabilities, so we conducted a latent transition analysis. WWe used the below model specifications we got a class breakdown for PYD that closely resembles our original LCGA breakdown, but the class breakdown for SU is very different from our original LCGA (i.e., 4852 split vs. 1090 split). We could not find sample syntax for conducting LTA with a ZIP model, and we suspect that we have misspecified the ZIP (SU) portion of the model. Is below correct? If it isn't, how should it be changed? MODEL: %OVERALL% ipyd spyd  PYD1@0 PYD2@1 PYD3@6; isu ssu  SU1@0 SU2@1 SU3@6; iisu sisu  SU1#1@0 SU2#1@1 SU3#1@6; ipydspyd@0; c2 ON c1; MODEL c1: %c1#1% [ipyd spyd]; %c1#2% [ipyd spyd]; %c1#3% [ipyd spyd]; MODEL c2: %c2#1% [isu ssu iisu sisu]; %c2#2% [isu ssu iisu sisu]; 


It looks like you are setting it up correctly. I wonder if the model assumption is what causes the discrepancy  your model says that the PYD items influence the SU items only through their latent class variables. For instance, some of the PYD items may have direct effects on some of the SU items (which I think could be handled but leads to a more complex model). If you instead said c1 ON c2, you might similarly see the PYDS classes shift. Another possibility is to use 3step LTA analysis, locking down the class formations from the LCGAs. See our web note 14. Although this would then mask the potential model misfit matter that I mentioned. 


Hello: I just wanted to followup on this thread with an additional question: When deriving conditional probabilities using TECH 15 (i.e., in a dual trajectory analyses) is it necessary to have separate runs where you condition c1 on c2 and c2 on c1 (which is what I have done to get the full set of conditional probabilities) or can this be done in a single run? Apologies if I have been unclear in what I am asking. 


It has to be done in two runs. The setup was mainly intended for LTA where the influence goes one way. 


Thank you. One other question: When saving the class probabilities and classes from a dual trajectory model, is there any way (other than running frequencies on the exported class variable) to tell which class is which (i.e., classes 1, 2, ...x) don't necessarily map onto latent transition patterns 1, 2, ...x). In my case, I ran a dual trajectory model resulting in a 2x2 or 4 class output. Regards 


The top of the output that gives the modelestimated probabilities for the 4 classes shows the order of the classes. I hope that's what you are asking. 


Thanks much! This clarifies it. 

Back to top 