TIES Subcommand (RANK command)
TIES
determines
the way tied values are handled. The default method is MEAN
.
MEAN. Mean rank of tied values is used for ties. This is the default.
LOW. Lowest rank of tied values is used for ties.
HIGH. Highest rank of tied values is used for ties.
CONDENSE. Consecutive ranks with ties sharing the same value. Each distinct value of the ranked variable is assigned a consecutive rank. Ties share the same rank.
Example
RANK VARIABLES=BURGLARY /RANK INTO RMEAN /TIES=MEAN.
RANK VARIABLES=BURGLARY /RANK INTO RCONDS /TIES=CONDENSE.
RANK VARIABLES=BURGLARY /RANK INTO RHIGH /TIES=HIGH.
RANK VARIABLES=BURGLARY /RANK INTO RLOW /TIES=LOW.
- The values of BURGLARY and the four new ranking variables are shown below:
BURGLARY RMEAN RCONDS RHIGH RLOW
0 3 1 5 1
0 3 1 5 1
0 3 1 5 1
0 3 1 5 1
0 3 1 5 1
1 6.5 2 7 6
1 6.5 2 7 6
3 8 3 8 8