27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RANK<br />

RANK [VARIABLES=] varlist [({A**})] [BY varlist]<br />

{D }<br />

[/TIES={MEAN** }]<br />

{LOW }<br />

{HIGH }<br />

{CONDENSE}<br />

[/FRACTION={BLOM**}]<br />

{TUKEY }<br />

{VW }<br />

{RANKIT}<br />

[/PRINT={YES**}]<br />

{NO }<br />

[/MISSING={EXCLUDE**}]<br />

{INCLUDE }<br />

The following function subcommands can each be specified once:<br />

[/RANK**] [/NTILES(k)] [/NORMAL] [/PERCENT]<br />

[/RFRACTION] [/PROPORTION] [/N] [/SAVAGE]<br />

The following keyword can be used with any function subcommand:<br />

[INTO varname]<br />

**Default if the subcommand is omitted.<br />

Example<br />

Overview<br />

Options<br />

RANK VARIABLES=SALARY JOBTIME.<br />

RANK produces new variables containing ranks, normal scores, and Savage and related<br />

scores for numeric variables.<br />

Methods. You can rank variables in ascending or descending order by specifying A or D on<br />

the VARIABLES subcommand. You can compute different rank functions and also name the<br />

new variables using the function subcommands. You can specify the method for handling<br />

ties on the TIES subcommand, and you can specify how the proportion estimate is computed<br />

for the NORMAL and PROPORTIONAL functions on the FRACTION subcommand.<br />

Format. You can suppress the display of the summary table that lists the ranked variables and<br />

their associated new variables in the working data file using the PRINT subcommand.<br />

1320

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!