Latent growth curve code PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 Ian Kudel posted on Thursday, August 30, 2007 - 5:29 am
Hello,
A colleague and I are analyzing the same dataset and we used slightly different code that we believe should be equivalent (we are using the same estimator etc.), but we are getting different results (for example my x2=10.254, and his is 38.949.
Mine:

ANALYSIS:
Type=meanstructure;
ESTIMATOR = WLSMV;
MODEL:
I S | h1@0 h2* h3* h4@1;

His
MODEL:
I BY h1-h4@1;
C BY h1@0 h2*1 h3*2 h4@3;
I C;
[I@0 C];
I with C;
[H1$1](1);
[H1$2](2);
[H1$3](3);
[H1$4](4);
[H1$5](5);

[H2$1](1);
[H2$2](2);
[H2$3](3);
[H2$4](4);
[H2$5](5);

[H3$1](1);
[H3$2](2);
[H3$3](3);
[H3$4](4);
[H3$5](5);

[H4$1](1);
[H4$2](2);
[H4$3](3);
[H4$4](4);
[H4$5](5);
Thanks
 Linda K. Muthen posted on Thursday, August 30, 2007 - 6:24 am
The best way to compare the two models is to compare the free parameters from TECH1 for the two models. If this does not help, then send the two outputs with TECH1 along with both of your license numbers to support@statmodel.com.
 Ian Kudel posted on Saturday, September 01, 2007 - 12:25 pm
Hello,
Thanks for the quick reply. Perhaps some clarification is needed. This is for a paper and we want to know if we did something wrong, or if there are differences in the approaches. If there are differences, which is right? And why is one preferred over the other?

If the fit indices and other stats were close we would not bother with the question, but there seems to be a wide disparity and it has important implications because it will effect how we write-up our manuscript (including defending our approach), consider other studies etc.

Thanks and I hope you have an enjoyable labor Day.
 Linda K. Muthen posted on Saturday, September 01, 2007 - 1:41 pm
It is not possible to answer your question without more information. There are many things you could be specifying differently in the full input that I can't see. You have different time scores in the two models. This can affect parameter values but should not change the fit statistics at least not for WLS or WLSM.

Note that the | language is just a shorthand form of specifying a growth model. Mplus creates the growth model language using BY behind the scenes. BY and | do not represent different approaches to growth modeling. The BY language behind various growth model specifications is shown in Chapter 16.
 Ian Kudel posted on Wednesday, September 05, 2007 - 5:50 am
Hi,
Thanks. We also analyzed the data using the same time scores. I found time scores did not change our own respective parameter values or fit indices. In other words the parameter values and fit indices for my approach to the analyses were the same regardless of the time values. There were still differences between our findings.

Our code was the same except with regard to the model.I tried to include the complete code in the original posting, but deleted some because it made the post too long. I will send you whatever you need?
 Linda K. Muthen posted on Tuesday, September 18, 2007 - 5:16 am
Please send the inputs, data, outputs, and your license number to support@statmodel.com.
 Anwar Hasan posted on Tuesday, January 14, 2014 - 11:24 pm
Dear Linda K. Muthen
I have secondary data (panel data)and i= company t= time N= 30 companies(i) T= 84 months Number of observation 2520 I have 16 variables One observe variable as dependent (na1) variables Tow latent variables as independents variable (f1 f2) and one observe control(c1) variables as independent also, So my model structure is like that: Usevariables are na1 a1 a2 a3 a4 a5 a6 b1 b2 b3 b4 b5 b6 b7 b8 c1; Model f1 BY a1 a2 a3 a4 a5 a6 f2 By b1 b2 b3 b4 b5 b6 b7 b8 na1 on f1 f2 na1 on c1 So, please I need your advise how to run the Mplus with this type of data. Kind regards
 Bengt O. Muthen posted on Wednesday, January 15, 2014 - 10:42 am
Answered elsewhere.
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: