Hi,
I thought that if I used a select if statement WITHOUT "temporary" preceding it that the selection would be permanent. I used the following syntax Select if (SIWkRating LE 5) AND (MD_SI_C LE 5) and did a crosstabs which showed I should have an n of 346. When I ran a frequency for MD_SI_C the total was indeed 346. I closed SPSS and have now reopened it and reran the frequency for MD_SI_C and the total n is back to 482, the entire dataset. What am I doing wrong? Thanks, Jan ===================== 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 |
Did you save the dataset before closing SPSS? If not, you got the old
version of the file when you re-opened Jim Marks Director, Market Research x1616 -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of J McClure Sent: Monday, January 24, 2011 10:48 PM To: [hidden email] Subject: Select if not permanent? Hi, I thought that if I used a select if statement WITHOUT "temporary" preceding it that the selection would be permanent. I used the following syntax Select if (SIWkRating LE 5) AND (MD_SI_C LE 5) and did a crosstabs which showed I should have an n of 346. When I ran a frequency for MD_SI_C the total was indeed 346. I closed SPSS and have now reopened it and reran the frequency for MD_SI_C and the total n is back to 482, the entire dataset. What am I doing wrong? Thanks, Jan ===================== 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 ===================== 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 |
In reply to this post by J McClure
You probably closed the data editor without saving
it, so the working file is lost and it remains in its original
state.
|
In reply to this post by J McClure
Jan
Make sure you save your transformed file with a new
name, otherwise you will lose your original data. To avoid tears I always
advise people to keep at least two copies of their original data on a removable
medium or a remote server and also to save all the syntax used to create that
and subsequent files.
Check out my tutorial http://surveyresearch.weebly.com/uploads/2/9/9/8/2998485/2.3.1.1__data_transformations.doc
John
|
Free forum by Nabble | Edit this page |