Daniel posted on Wednesday, May 25, 2005 - 12:09 pm
I have a question regarding the save data command. When I save data to a .sav file, and then pick up my data in excel, on its way to SAS, I lose once case, such that my new N = N-1 from the Mplus file. Is there something I should do to fix this problem?
I am having a hard time figuring out how to import the Mplus data directly into SAS; that's why I go through the two-stage process of Mplus-excel-SAS. How do I format my data so that it goes directly into SAS?
It must have something to do with SAS or Excel because there are the correct number of observations in the saved data and Mplus is not part of the process after that. Perhaps SAS would have an explanation. Can't SAS just read an ASCII file? And that save it as a SAS file. Is it necessary to go through Excel? I'm not that familiar with SAS.
I'm trying to create two latent variables with two CFAs and further to save these two new variables in a new datafile. I'm doing this, beceaus I want to center (grandmean) these two latent variables in a next step and calculate an interaction/moderation between them.
I use the SAVEDATA command and I always get an error:
*** WARNING in SAVEDATA command (Err#: 9) Error opening data save file: results.dat Data will not be saved.
How can I fix this error or is there another option to center two latent variables in one step?