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.

1196 PARTIAL CORR<br />

MATRIX Subcommand<br />

MATRIX reads and writes matrix data files.<br />

• Either IN or OUT and a matrix file in parentheses is required. When both IN and OUT are<br />

used on the same PARTIAL CORR procedure, they can be specified on separate MATRIX<br />

subcommands or both on the same subcommand.<br />

OUT (filename) Write the (highest-order) correlation matrix to a file. Specify either a filename<br />

or an asterisk, enclosed in parentheses. If you specify a filename, the<br />

file is stored on disk and can be retrieved at any time. If you specify an<br />

asterisk (*), the matrix data file replaces the working data file but is not<br />

stored on disk unless you use SAVE or XSAVE.<br />

IN (filename) Read a matrix data file. If the matrix data file is the working data file, specify<br />

an asterisk (*) in parentheses. If the matrix data file is another file, specify a<br />

filename in parentheses. Both the working data file and the matrix data file<br />

must contain all the variables specified on the VARIABLES subcommands on<br />

PARTIAL CORR. A matrix file read from an external file does not replace the<br />

working data file.<br />

Matrix Output<br />

• The matrix materials that PARTIAL CORR writes can be used by subsequent PARTIAL<br />

CORR procedures or by other procedures that read correlation-type matrices.<br />

• In addition to the partial correlation coefficients, the matrix materials PARTIAL CORR<br />

writes include the mean, standard deviation, and number of cases used to compute each<br />

coefficient (see “Format of the Matrix Data File” on p. 1197 for a description of the file).<br />

If PARTIAL CORR reads matrix data and then writes matrix materials based on those data,<br />

the matrix data file that it writes will not include means and standard deviations.<br />

• PARTIAL CORR writes a full square matrix for the analysis specified on the first VARIABLES<br />

subcommand (or the first analysis list if keyword VARIABLES is omitted). No matrix is<br />

written for subsequent variable lists.<br />

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

Matrix Input<br />

• When matrix materials are read from a file other than the working data file, both the<br />

working data file and the matrix data file specified on IN must contain all the variables<br />

specified on the VARIABLES subcommands.<br />

• MATRIX=IN cannot be specified unless a working data file has already been defined. To<br />

read an existing matrix data file at the beginning of a session, use GET to retrieve the<br />

matrix file and then specify IN(*) on MATRIX.<br />

• PARTIAL CORR can read correlation-type matrices written by other procedures.<br />

• The program reads variable names, variable and value labels, and print and write formats<br />

from the dictionary of the matrix data file.

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

Saved successfully!

Ooh no, something went wrong!