![]() Chapter Contents |
![]() Previous |
![]() Next |
| The RANK Procedure |
| Default: | If you omit the VAR statement, PROC RANK computes ranks for all numeric variables in the input data set. |
| Featured in: | Ranking Values of Multiple Variables, Ranking Values within BY Groups, and Partitioning Observations into Groups Based on Ranks |
| VAR data-set-variables(s); |
| Required Arguments |
| Using the VAR Statement with the RANKS Statement |
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 correspond 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.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.