RANK
RANK
produces new variables containing ranks, normal scores, and Savage and related
scores for numeric variables.
RANK VARIABLES= varlist [({A**})] [BY varlist]
{D }
[/TIES={MEAN** }]
{LOW }
{HIGH }
{CONDENSE}
[/FRACTION={BLOM**}]
{TUKEY }
{VW }
{RANKIT}
[/PRINT={YES**}]
{NO }
[/MISSING={EXCLUDE**}]
{INCLUDE }
The following function subcommands can each be specified once:
[/RANK**] [/NTILES(k)] [/NORMAL] [/PERCENT]
[/RFRACTION] [/PROPORTION] [/N] [/SAVAGE]
The following keyword can be used with any function subcommand:
[INTO varname]
**Default if the subcommand is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for
the RANK
command can be generated from the Rank Cases dialog box.
Example
RANK VARIABLES=SALARY JOBTIME.