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.

MCONVERT<br />

MCONVERT [[/MATRIX=] [IN({* })] [OUT({* })]]<br />

{file} {file}<br />

[{/REPLACE}]<br />

{/APPEND }<br />

Example<br />

MCONVERT MATRIX=OUT(CORMTX) /APPEND.<br />

Overview<br />

Options<br />

MCONVERT converts covariance matrix materials to correlation matrix materials, or vice<br />

versa. For MCONVERT to convert a correlation matrix, the matrix data must contain CORR<br />

values (Pearson correlation coefficients) and a vector of standard deviations (STDDEV).<br />

For MCONVERT to convert a covariance matrix, only COV values are required in the data.<br />

Matrix Files. MCONVERT can read matrix materials from an external matrix data file, and it<br />

can write converted matrix materials to an external file.<br />

Matrix Materials. MCONVERT can write the converted matrix only or both the converted<br />

matrix and the original matrix to the resulting matrix data file.<br />

Basic Specification<br />

The minimum specification is the command itself. By default, MCONVERT reads the original<br />

matrix from the working data file and then replaces it with the converted matrix.<br />

<strong>Syntax</strong> Rules<br />

• The keywords IN and OUT cannot specify the same external file.<br />

• The APPEND and REPLACE subcommands cannot be specified on the same MCONVERT<br />

command.<br />

Operations<br />

• If the data are covariance matrix materials, MCONVERT converts them to a correlation<br />

matrix plus a vector of standard deviations.<br />

• If the data are a correlation matrix and vector of standard deviations, MCONVERT converts<br />

them to a covariance matrix.<br />

977

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

Saved successfully!

Ooh no, something went wrong!