|
Hi everyone,
I have a database (in spss format of course) with more than 300 variables arrange in alphabetical order . I want to rearrage the variables according to, say,subgroup. Do you know the syntax? Thank you. Johnny ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ===================== 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 |
|
John:
ADD FILES FILE = * /KEEP group1 group2 group3 ALL. EXECUTE . substitute in your variable names for group1 group2 ... make sure you have ALL in the list to KEEP. That way if you miss any variables, you won't lose them from the data file. --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of John Amora Sent: Saturday, March 08, 2008 9:29 AM To: [hidden email] Subject: rearranging variables in the dataset Hi everyone, I have a database (in spss format of course) with more than 300 variables arrange in alphabetical order . I want to rearrage the variables according to, say,subgroup. Do you know the syntax? Thank you. Johnny ________________________________________________________________________ ____________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ===================== 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 Johnny Amora
You can also use something like:
SAVE OUTFILE='Path/newfilename.sav' /KEEP= group1 group2 group3. exe. On Sat, Mar 8, 2008 at 4:28 PM, John Amora <[hidden email]> wrote: > Hi everyone, > > I have a database (in spss format of course) with more > than 300 variables arrange in alphabetical order . I > want to rearrage the variables according to, > say,subgroup. Do you know the syntax? > > Thank you. > > Johnny > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > ===================== > 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 |
| Free forum by Nabble | Edit this page |
