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.

MISSING Subcommand<br />

CORRELATIONS 275<br />

MISSING controls the treatment of missing values.<br />

• The PAIRWISE and LISTWISE keywords are alternatives; however, each can be specified<br />

with INCLUDE or EXCLUDE.<br />

• The default is LISTWISE and EXCLUDE.<br />

PAIRWISE Exclude missing values pairwise. Cases that have missing values for one or<br />

both of a pair of variables for a specific correlation coefficient are excluded<br />

from the computation of that coefficient. Since each coefficient is based on all<br />

cases that have valid values for that particular pair of variables, this can result<br />

in a set of coefficients based on a varying number of cases. The valid number<br />

of cases is displayed in the Correlations table. This is the default.<br />

LISTWISE Exclude missing values listwise. Cases that have missing values for any<br />

variable named on any VARIABLES list are excluded from the computation of<br />

all coefficients across lists. The valid number of cases is the same for all<br />

analyses and is displayed in a single annotation.<br />

INCLUDE Include user-missing values. User-missing values are included in the analysis.<br />

EXCLUDE Exclude all missing values. Both user- and system-missing values are excluded<br />

from the analysis.<br />

MATRIX Subcommand<br />

MATRIX writes matrix materials to a data file. The matrix materials include the mean and standard<br />

deviation for each variable, the number of cases used to compute each coefficient, and<br />

the Pearson correlation coefficients. Several procedures can read matrix materials produced<br />

by CORRELATIONS, including PARTIAL CORR, REGRESSION, FACTOR, and CLUSTER (see<br />

“SPSS Matrix Data Files” on p. 15).<br />

• CORRELATIONS cannot write rectangular matrices (those specified with the keyword<br />

WITH) to a file.<br />

• If you specify more than one variable list on CORRELATIONS, only the last list that does<br />

not use the keyword WITH is written to the matrix data file.<br />

• The keyword OUT specifies the file to which the matrix is written. The filename must be<br />

specified in parentheses.<br />

• Documents from the original file will not be included in the matrix file and will not be<br />

present if the matrix file becomes the working data file.<br />

OUT (filename) Write a matrix data file. Specify either a file or an asterisk (*), enclosed in<br />

parentheses. If you specify a file, the file is stored on disk and can be<br />

retrieved at any time. If you specify an asterisk, the matrix data file replaces<br />

the working file but is not stored on disk unless you use SAVE or XSAVE.

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

Saved successfully!

Ooh no, something went wrong!