GMM with two growth structures PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 Roger Brown posted on Tuesday, September 18, 2007 - 1:22 pm
I am trying build a typical GMM on continuous outcome measures (upper section of the picture), then trying to model the categories (C) as a function of the intercept and slope of another growth model (see lower section of the picture).

You can see the picture at:

http://www.son.wisc.edu/rdsu/issues/growth1.jpg


A am a little unsure how to set up the syntax for this model. Both growth models cannot come under %OVERALL% since that would establish latent classes on both growth structures, correct?

My initial thought was:

title: growth curve modeling sleep
data: file is sub1.dat;
Variable: names are id m0 m2 m4 m6 m8
p1 p2 p3 p4 p5;
usevariables are m0 m2 m4 m6 m8 p1 p2
p3 p4 p5;
missing all .;
classes = c(2);
analysis: type = mixture;
algorithm = integration;
model:
%overall%
i s | m0@0 m2@2 m4@4 m6@6 m8@8;
pi ps | p1@1 p2@2 p3@3 p4@4 p5@5;
c#1 on pi p2;

Thanks

Roger
 Roger Brown posted on Wednesday, September 19, 2007 - 4:20 pm
Linda - Bengt,

I can get the above model working by staging it, first building the GMM and writing out the class probabilities and classes, and then reloading the data with this class variable into a new latent growth model with intercept and slope predicting the class variable. Not very elegant, but seems to work. Any idea how I could do this as a single inclusive run? Thanks.

Roger
 Bengt O. Muthen posted on Thursday, September 20, 2007 - 5:42 pm
Your initial thought is good. To not have the P process depend on c you should hold its parameters equal across classes. Given the defaults, this means holding its growth factor means equal across classes. You do that by giving equality statements () in Overall. That should work. Looks like an interesting model.
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: