A c++ program to generate the Mplus bivariate latent difference score model codes
2005-08-15    Zhang, Z.   
Print from: Zhiyong Zhang \'s Psychometric Website
Address: http://www.psychstat.org/us/article.php/38
A c++ program to generate the Mplus latent difference score model codes

To download the program, click here.

This dos program can be used to generate the Mplus codes for univariate and bivariate latent difference score models (McArdle, 2001, etc.).

To run this program, four  input parameters are needed.

1. The file name to save the codes.

2. Choose univariate model or bivariate model.

3. The name of the data file.

4. How many occasions in your data.

For the univariate model, the data is organized like,

y1 y2 y3 y4..

For the bivariate model, this program assumes the two variables have the same occasions. And the data are orginazed like:

x1 x2 x3 y1 y2 y3.

An example.

Please input the Mplus script file name:
test.inp
Univariate model (0) or bivariate model (1)? Type 0 or 1
0
Please input the name of the data file:
data.dat
How many occasions do you have in your data?
4

To download the program, click here.

Editor: johnny