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.

MCONVERT 979<br />

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

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

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

IN The matrix file to read.<br />

OUT The matrix file to write.<br />

Example<br />

GET FILE=COVMTX.<br />

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

• GET retrieves the SPSS-format matrix data file COVMTX. COVMTX becomes the working<br />

data file.<br />

• By default, MCONVERT reads the original matrix from the working data file. IN(*) can be<br />

specified to make the default explicit.<br />

• The keyword OUT on MATRIX writes the converted matrix to file CORMTX.<br />

REPLACE and APPEND Subcommands<br />

By default, MCONVERT writes only the converted matrix to the resulting matrix file. Use<br />

APPEND to copy both the original matrix and the converted matrix.<br />

• The only specification is the keyword REPLACE or APPEND.<br />

• REPLACE and APPEND are alternatives.<br />

• REPLACE and APPEND affect the resulting matrix file only. The original matrix materials,<br />

whether in the working file or in an external file, remain intact.<br />

APPEND Write the original matrix followed by the converted matrix to the matrix file.<br />

If there are multiple sets of matrix materials, APPEND appends each converted<br />

matrix to the end of a copy of its original matrix.<br />

REPLACE Write the original matrix followed by the covariance matrix to the matrix file.<br />

Example<br />

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

• MCONVERT reads matrix materials from the working file.<br />

• The APPEND subcommand copies original matrix materials, appends each converted<br />

matrix to the end of the copy of its original matrix, and writes both sets to the file COVMTX.

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

Saved successfully!

Ooh no, something went wrong!