Exporting class membership in GMM PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 fred posted on Monday, January 13, 2014 - 12:06 pm
Hello!
When saving classmembership the output file contains only the usevariables, I would like to be able to export the class membership variable back into the original SPSS file for basic handling. How can I make the output contain the id-variable inorder to match the original file?

thanks in advance
 Linda K. Muthen posted on Monday, January 13, 2014 - 12:40 pm
See the IDVARIABLE option of the VARIABLE command.
 fred posted on Tuesday, January 14, 2014 - 4:00 am
Thank you Linda! Is there an option som the output has some digit instead of star sign. for missing in the output file?
Thanks
Fred
 fred posted on Tuesday, January 14, 2014 - 10:28 am
Sorry for misspellings,it should read:

is there an option (in the synthax) so a digit/value (ex -999) replaces the star sign for the mssing values in the saved output?

thanks
Fred
 fred posted on Tuesday, January 14, 2014 - 12:27 pm
When I use IDVARIABLE command as followed:

USEVARIABLES = rattkod aHAD_ang dHAD_ang EHAD_ang fHAD_ang;
IDVARIABLE = rattkod;


MISSING = ALL(-999);
CLASSES = c(4);
etc.
and "rattkod" being the variable with the id-kod in it, I get the following error message

*** ERROR
Invalid symbol in data file:
"1101" at record #: 1, field #: 1

Inspecting the data in the text file, I see that 1101 is my first id-value (first person first variable).
Why is the programm not being able to read it and what is ""?
 Linda K. Muthen posted on Tuesday, January 14, 2014 - 12:27 pm
See the MISSFLAG option of the SAVEDATA command.
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: