How to make somebody crazy! Anybody have any insight or seen anything like this?
I built up a dataset (7 vars) using input program and want to write it out for mplus to pick up. If I do this, I get the 7 vars in f8.2 format. write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, I'd like more significant digits for four of the variables and none for the record counter and the dichotomous variables. So, a format statement. format rec(f3.0) x1 x2 y1 y2(f10.6) y1c y2c(f1.0). write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, now the last two variables, y1c and y2c are omitted from the written out file. They are in the data file in the changed format. The written out variables (rec, x1, x2, y1, y3) are in the correct format. We recently went to windows 7 and spss got reinstalled. I believe, based on the spss website, that it is patched correctly, to 19.0.0.2 using 19.0-IM-S19STATC-WIN32-FP001.zip and 19.0-IM-S19STATC-WIN32-FP002.zip. However, the problem existed before the patch and continues afterwards (because I did the patch today, just now). Oh, yes. Let me add that write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1c y2c y1 y2. execute. Yields nothing different. However, resetting the format format rec(f3.0) x1 x2 y1 y2 y1c y2c(f10.6). yields a dataset with all 7 variables. Gene Maguin ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
can you cobble together a small set of syntax
that demonstrates the problem so it can be checked on other
versions?
Art Kendall Social Research Consultants On 5/28/2012 4:39 PM, Maguin, Eugene wrote: ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARDHow to make somebody crazy! Anybody have any insight or seen anything like this? I built up a dataset (7 vars) using input program and want to write it out for mplus to pick up. If I do this, I get the 7 vars in f8.2 format. write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, I'd like more significant digits for four of the variables and none for the record counter and the dichotomous variables. So, a format statement. format rec(f3.0) x1 x2 y1 y2(f10.6) y1c y2c(f1.0). write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, now the last two variables, y1c and y2c are omitted from the written out file. They are in the data file in the changed format. The written out variables (rec, x1, x2, y1, y3) are in the correct format. We recently went to windows 7 and spss got reinstalled. I believe, based on the spss website, that it is patched correctly, to 19.0.0.2 using 19.0-IM-S19STATC-WIN32-FP001.zip and 19.0-IM-S19STATC-WIN32-FP002.zip. However, the problem existed before the patch and continues afterwards (because I did the patch today, just now). Oh, yes. Let me add that write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1c y2c y1 y2. execute. Yields nothing different. However, resetting the format format rec(f3.0) x1 x2 y1 y2 y1c y2c(f10.6). yields a dataset with all 7 variables. Gene Maguin ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Art Kendall
Social Research Consultants |
Administrator
|
And I'll try it with the same set-up Gene described--i.e., 19.0.0.2 running under Windoze 7.
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
In reply to this post by Maguin, Eugene
I can't reproduce the problem I posted about yesterday. I think the problem was that I saw but didn't see. Thanks to all who were curious. I apologize for my posting.
Gene Maguin -----Original Message----- From: Maguin, Eugene Sent: Monday, May 28, 2012 4:39 PM To: [hidden email] Subject: crazy problem with 19 How to make somebody crazy! Anybody have any insight or seen anything like this? I built up a dataset (7 vars) using input program and want to write it out for mplus to pick up. If I do this, I get the 7 vars in f8.2 format. write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, I'd like more significant digits for four of the variables and none for the record counter and the dichotomous variables. So, a format statement. format rec(f3.0) x1 x2 y1 y2(f10.6) y1c y2c(f1.0). write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1 y2 y1c y2c. execute. However, now the last two variables, y1c and y2c are omitted from the written out file. They are in the data file in the changed format. The written out variables (rec, x1, x2, y1, y3) are in the correct format. We recently went to windows 7 and spss got reinstalled. I believe, based on the spss website, that it is patched correctly, to 19.0.0.2 using 19.0-IM-S19STATC-WIN32-FP001.zip and 19.0-IM-S19STATC-WIN32-FP002.zip. However, the problem existed before the patch and continues afterwards (because I did the patch today, just now). Oh, yes. Let me add that write outfile='u:\laina\test\testdata.txt' / rec x1 x2 y1c y2c y1 y2. execute. Yields nothing different. However, resetting the format format rec(f3.0) x1 x2 y1 y2 y1c y2c(f10.6). yields a dataset with all 7 variables. Gene Maguin ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
Free forum by Nabble | Edit this page |