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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic Specification<br />

CORRELATIONS 273<br />

• The basic specification is the VARIABLES subcommand, which specifies the variables to<br />

be analyzed. The actual keyword VARIABLES can be omitted.<br />

• By default, CORRELATIONS produces a matrix of correlation coefficients. The number of<br />

cases and the significance level are displayed for each coefficient. The significance level<br />

is based on a two-tailed test.<br />

Subcommand Order<br />

• The VARIABLES subcommand must be first.<br />

• The remaining subcommands can be specified in any order.<br />

Operations<br />

• The correlation of a variable with itself is displayed as 1.0000.<br />

• A correlation that cannot be computed is displayed as a period (.).<br />

• CORRELATIONS does not execute if long or short string variables are specified on the<br />

variable list.<br />

Limitations<br />

Example<br />

• Maximum 40 variable lists.<br />

• Maximum 500 variables total per command.<br />

• Maximum 250 syntax elements. Each individual occurrence of a variable name, keyword,<br />

or special delimiter counts as 1 toward this total. Variables implied by the TO keyword do<br />

not count toward this total.<br />

CORRELATIONS VARIABLES=FOOD RENT PUBTRANS TEACHER COOK ENGINEER<br />

/VARIABLES=FOOD RENT WITH COOK TEACHER MANAGER ENGINEER<br />

/MISSING=INCLUDE.<br />

• The first VARIABLES subcommand requests a square matrix of correlation coefficients<br />

among variables FOOD, RENT, PUBTRANS, TEACHER, COOK, and ENGINEER.<br />

• The second VARIABLES subcommand requests a rectangular correlation matrix in which<br />

FOOD and RENT are the row variables and COOK, TEACHER, MANAGER, and ENGINEER<br />

are the column variables.<br />

• MISSING requests that user-missing values be included in the computation of each coefficient.

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

Saved successfully!

Ooh no, something went wrong!