Time-varying covariates in GMM PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 Heidi Sweetman posted on Wednesday, December 21, 2005 - 10:59 am
I am working on a GMM where I would like to include time-varying moderators. Has anyone attempted this? If so, what does your syntax look like? I keep running into all kinds of errors and can't seem to find a lot our there on this issue.
 Linda K. Muthen posted on Wednesday, December 21, 2005 - 11:26 am
Do you mean a model like 6.13 where the a variables are then regressed on another set of time-varying variables?
 bmuthen posted on Thursday, December 22, 2005 - 8:51 am
I think Linda meant ex 6.12. The extension to having the time-varying covariates be moderators should be possible.
 Linda K. Muthen posted on Thursday, December 22, 2005 - 9:43 am
I did mean 6.12.
 Delfino Vargas posted on Wednesday, September 13, 2006 - 4:55 pm
Dear Linda & Bengt:
I have a 2-class solution for a ZIP mixture GMM model with random intercept for drugs (mrj) with time-varying covariates (pst). The overall model is

i s |mrj15@-2 mrj16@-1 mrj17@0 mrj18@1 mrj19@2 mrj20@3;
s@0;
mrj15 ON pst15; mrj16 ON pst16; mrj17 ON pst17; mrj18 ON pst18;
mrj19 ON pst19; mrj20 ON pst20;

The estimates for the mean intercept and slope fro each class are: class1 i*-.505 s*-0.058; class2 i*-.407 s*0.041. The estimates of the regression part of mrj15 ON pst15,…., mrj20 ON pst20 are -.94, -.48, -.66, -.89, -.95, and -.98, respectively.

I have two questions:
1) How can I plot (by hand) these two classes and taking into account the estimates from the time-varying covariates, or the PLOT3 option can do it for me?
2) Probably this is related to the first one. How can I put in specific values for the time-varying covariate and estimate the outcome from this model. Can Mplus do it?

Thanks so much.
Delfino
 Delfino Vargas posted on Friday, September 15, 2006 - 10:29 am
This is a further explanation from the former question. The data set that I have is longitudinal with a cohort sequential design with 7 time points, reflecting subject’s ages from 15 to 20 years old. I have self reported substance use measures from subjects as outcome so that I believe the zero inflated passion (ZIP) is best option for this analysis. We are looking for mixtures, first by fixing intercepts and slopes to zero (a second step will be taking this solution and continue with intercepts and slopes random) , with time varying covariates (TVC). I was able to run this model but when I request TECH7 option I’ve get all classes with zero weighted means in all classes what is the program doing?
Would you please advice.
 Bengt O. Muthen posted on Sunday, October 01, 2006 - 12:57 pm
I don't think Mplus provides this plot because of the combination of numerical integration and x's influencing the u's. Unfortunately, it is tricky to do this yourself because with non-continuous outcomes and random effects, you have to use numerical integration to get the estimated outcome probabilities. We have this on our list to add for future plot extensions.
 nanda mooij posted on Friday, May 13, 2011 - 5:31 am
Dear Linda and Bengt,

I have a question about GMM. I want to add a time-varying factor, because the subjects were measured at different times in their life. I also want to abstract classes from the data. Is this possible? Because when I try to put time-varying variables (the different time points) in the model, Mplus says I must say TYPE = RANDOM. And for the mixture analyses with classes i must say TYPE = MIXTURE. Is this not possible?
Thanks in advance,
Nanda
 Linda K. Muthen posted on Friday, May 13, 2011 - 6:07 am
Say TYPE=MIXTURE RANDOM; See the table on pages 531 and 532 of the Version 6 user's guide to see how the TYPE settings can be used together.
 Youngoh Jo posted on Monday, December 12, 2011 - 12:27 pm
I just wonder whether I can use GMM with time-varying covariates measured in different time points repeatly. If possible, could you help me get resources for the technique or command syntax?
 Linda K. Muthen posted on Monday, December 12, 2011 - 6:19 pm
Extend Example 6.12 to mixture.
 Youngoh Jo posted on Thursday, May 17, 2012 - 12:38 pm
Dear Muthen,

When I interpret the results of GMM with time-varying and time-constant variables, what do I need to use as oveerall model fit index?

Thanks,
 Linda K. Muthen posted on Thursday, May 17, 2012 - 1:57 pm
There is no overall model fit statistic when means, variances, and covariances are not sufficient statistics for model estimation. You can compare nested models using -2 times the loglikelihood difference which is distributed as chi-square.
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: