Specifies the input variables.
Default: |
If you omit the VAR statement, PROC RANK computes
ranks for all numeric variables in the input data set.
|
Featured in: |
|
VAR data-set-variables(s);
|
- data-set-variable(s)
-
specifies one or more variables for which ranks are computed.
The VAR statement is required when you use the RANKS statement. Using
these statements together creates the ranking variables named in the RANKS
statement that corresponds to the input variables specified in the VAR statement.
If you omit the RANKS statement, the rank values replace the original values
in the output data set.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.