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.

960 MATRIX DATA<br />

Table 1 summarizes the status of each MATRIX DATA subcommand in relation to the<br />

ROWTYPE_ specification.<br />

Table 1 Subcommand requirements in relation to ROWTYPE_<br />

Subcommand<br />

Implicit ROWTYPE_<br />

using CONTENTS<br />

Explicit ROWTYPE_<br />

on VARIABLES<br />

FILE Defaults to INLINE Defaults to INLINE<br />

VARIABLES Required Required<br />

FORMAT Defaults to LOWER DIAG Defaults to LOWER DIAG<br />

SPLIT Required if split files * Required if split files<br />

FACTORS Required if factors Required if factors<br />

CELLS Required if factors Inapplicable<br />

CONTENTS Defaults to CORR Optional<br />

N Optional Optional<br />

* If the data do not contain values for the split-file variables, this subcommand can specify<br />

a single variable, which is not specified on the VARIABLES subcommand.<br />

Subcommand Order<br />

• SPLIT and FACTORS, when used, must follow VARIABLES.<br />

• The remaining subcommands can be specified in any order.<br />

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

• No commands can be specified between MATRIX DATA and BEGIN DATA, not even a<br />

VARIABLE LABELS or FORMAT command. Data transformations cannot be used until<br />

after MATRIX DATA is executed.<br />

Operations<br />

• MATRIX DATA defines and writes data in one step.<br />

• MATRIX DATA clears the working data file and defines a new working file.<br />

• If CONTENTS is not specified and ROWTYPE_ is not specified on VARIABLES, MATRIX<br />

DATA assumes that the data contain only CORR values and issues warning messages to<br />

alert you to its assumptions.<br />

• With the default format, data values, including diagonal values, must be in the lower triangle<br />

of the matrix. If MATRIX DATA encounters values in the upper triangle, it ignores<br />

those values and issues a series of warnings.<br />

• With the default format, if any matrix rows span records in the data file, MATRIX DATA<br />

cannot form the matrix properly.<br />

• MATRIX DATA does not allow format specifications for matrix materials. The procedure<br />

assigns the formats shown in Table 2. To change data formats, execute MATRIX DATA

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

Saved successfully!

Ooh no, something went wrong!