specifies one or more new variables that contain the ranks for the variable(s) listed in
the VAR statement. The first variable listed in the RANKS statement contains the
ranks for the first variable listed in the VAR statement. The second variable listed in
the RANKS statement contains the ranks for the second variable listed in the VAR
statement, and so on.
VAR Statement
Specifies the input variables.
Default:If you omit the VAR statement, PROC RANK computes ranks for all numeric
variables in the input data set.
Examples:“Example 1: Ranking Values of Multiple Variables” on page 1478
“Example 2: Ranking Values within ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.