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 />

NONPAR CORR 1079<br />

MISSING controls missing-value treatments.<br />

• PAIRWISE and LISTWISE are alternatives. You can specify INCLUDE with either PAIRWISE<br />

or LISTWISE.<br />

PAIRWISE Exclude missing values pairwise. Cases with a missing value for one or both<br />

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

the computation of that coefficient. This allows the maximum information<br />

available to be used in every calculation. This also results in a set of coefficients<br />

based on a varying number of cases. The number is displayed for each<br />

pair. This is the default.<br />

LISTWISE Exclude missing values listwise. Cases with a missing value for any variable<br />

named in a list are excluded from the computation of all coefficients in the<br />

Correlations table. The number of cases used is displayed in a single annotation.<br />

Each variable list on a command is evaluated separately. Thus, a case<br />

missing for one matrix might be used in another matrix. This option decreases<br />

the amount of memory required and significantly decreases computational<br />

time.<br />

INCLUDE Include user-missing values. User-missing values are treated as valid values.<br />

MATRIX Subcommand<br />

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

number of cases used to compute each coefficient, and either the Spearman or the Kendall<br />

correlation coefficient for each variable, whichever is requested. See “Format of the Matrix<br />

Data File” on page 1080 for a description of the file.<br />

• You cannot write both Spearman’s and Kendall’s coefficients to the same matrix data file.<br />

To obtain both Spearman’s and Kendall’s coefficients in matrix format, specify separate<br />

NONPAR CORR commands for each coefficient and define different matrix data files for<br />

each command.<br />

• If PRINT=BOTH is in effect, NONPAR CORR displays a matrix in the listing file for both<br />

coefficients but writes only the Spearman coefficients to the matrix data file.<br />

• NONPAR CORR cannot write matrix materials for rectangular matrices (variable lists<br />

containing keyword WITH). If more than one variable list is specified, only the last variable<br />

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

• The specification on MATRIX is keyword OUT and the name of the matrix file in parentheses.<br />

• If you want to use a correlation matrix written by NONPAR CORR in another procedure,<br />

change the ROWTYPE_ value RHO or TAUB to CORR using the RECODE command.<br />

• Any documents contained in the working data file are not transferred to the matrix file.<br />

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

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

any time. If you specify an asterisk (*), the matrix data file replaces the<br />

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!