SAVEDATA command PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
Message/Author
 Stephanie Fitzpatrick posted on Wednesday, March 11, 2009 - 10:56 am
Hello,

I am running some latent transition analysis and would like to further analyze the latent classes by subject number. However, every time I run SAVEDATA: File is ltams.txt;
SAVE = cprobabilities;

I get *** WARNING in Savedata command
(Err#: 9)
Error opening data save file:
ltams.txt
Data will not be saved.

Any suggestions?

Thanks
 Linda K. Muthen posted on Wednesday, March 11, 2009 - 11:45 am
You either have a path that is not correct or you don't have privileges to open the file. If you can't figure it out, please send the problem and your license number to support@statmodel.com.
 Stephanie Fitzpatrick posted on Friday, March 13, 2009 - 8:12 am
Thank you. I figured it out.

Stephanie
 Youngoh Jo posted on Thursday, December 22, 2011 - 7:48 pm
Hi!

Using the following command "SAVE IS CPROB" I got a new data set.

How can I get a new data set with the id variable?

Thanks in advance,
 Linda K. Muthen posted on Thursday, December 22, 2011 - 8:19 pm
Use the IDVARIABLE option of the VARIABLE command.
 Youngoh Jo posted on Friday, December 23, 2011 - 3:40 pm
Thanks Linda,

I am generating new data set which include the original id varialbe.
Below is the syntax I typied.

data: file is "C:\data\this.csv";
variable: NAMES ARE ID sc2-sc6;
USEVARIABLES ARE id sc2-sc6;
IDVARIABLE IS id;
classes = c (3);
ANALYSIS: TYPE = MIXTURE;

model: %overall%
i s | sc2@0 sc3@1 sc4@2 sc5@3 sc6@4;


OUTPUT: tech1 tech8 tech11 tech14;


SAVEDATA: file is "C:\data\new.sav";
SAVE IS CPROB;

How can I get new data which include the origianl id variable?

Thanks,
 Linda K. Muthen posted on Saturday, December 24, 2011 - 6:58 am
It should with what you show. Please send the full output and your license number to support@statmodel.com.
 Matt Hawrilenko posted on Tuesday, October 15, 2013 - 6:14 pm
Hello,

I'm trying to save model-predicted values in a growth curve model. The user guide explains how to save factor scores, but not how to do it for simpler growth models and I was unable to find a solution on the forums. Is this possible in the current version of Mplus?

Reviewers have requested we calculate the reliable change index and due to missing data, I've assumed that using predicted values would be the best route. Am I missing a better alternative?

Thanks very much.

Matt
 Linda K. Muthen posted on Wednesday, October 16, 2013 - 4:02 pm
You would need to create these model-predicted values in the DEFINE command and save them.
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: