Re: Order of variables

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Order of variables

Dennis Deck

Yes. The following would create a new file with the specified variable order:

SAVE  Outfile=xxxx /Keep= var6 var1 var3 .

 

However if you just want to view parts of the file there are better ways to do that without resaving.

For example, just run the following to look at a listing of the same 3 variables.

LIST  Var6 Var1 Var3   /Cases= 100 .

 

Dennis Deck

RMC Research

 


From: magda abdel hamid [mailto:[hidden email]]
Sent: Monday, March 15, 2010 7:45 AM
Subject: Fwd: Using gender as an outcome variable in logistic regression

 

I am asking if there is a way to  read some variables from a file,

then write them in a different order.

I mean re arrange the order of the variables in the file in different order than it is existed.

regards

ahmed