Skip to main content

Rank

Creates a new numeric variable containing the rank, or order of the selected variable. This is often used when the order of the values (but not the values themselves) is of interest.

Go to Variables > Numeric Variables > Rank numeric variables. Select one or more numeric variables to rank (hold Ctrl to select multiple).

For example,

ageage_rank
152
121
194
163

Percentile ranking

Enable the Use proportional (percentile) ranking method checkbox to produce ranks as percentiles (0–1) instead of integer ranks. This is useful for comparing positions across variables with different scales.