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.

Example<br />

* Rowtype is implicit.<br />

MATRIX DATA 971<br />

MATRIX DATA VARIABLES=F1 F2 VAR1 TO VAR3<br />

/FACTORS=F1 F2 /CONTENTS=(MEAN SD N) CORR /CELLS=4.<br />

BEGIN DATA<br />

1 1 1 2 3<br />

1 1 5 4 3<br />

1 1 9 9 9<br />

1 2 4 5 6<br />

1 2 6 5 4<br />

1 2 9 9 9<br />

2 1 7 8 9<br />

2 1 7 6 5<br />

2 1 9 9 9<br />

2 2 9 8 7<br />

2 2 8 7 6<br />

2 2 9 9 9<br />

1<br />

.6 1<br />

.7 .8 1<br />

END DATA.<br />

• ROWTYPE_ is not specified on VARIABLES.<br />

• Nothing is entered for the CORR factor values because the records contain pooled<br />

information.<br />

• CELLS is required because there are factors in the data and ROWTYPE_ is implicit.<br />

• CONTENTS is required to define the record types and to differentiate between the withincells<br />

and pooled types.<br />

CELLS Subcommand<br />

CELLS specifies the number of within-cells records in the data. The only valid specification<br />

for CELLS is a single integer, which indicates the number of sets of within-cells information<br />

that MATRIX DATA must read.<br />

• CELLS is required when there are factors in the data and ROWTYPE_ is implicit.<br />

• If CELLS is used when ROWTYPE_ is specified on VARIABLES, MATRIX DATA issues a<br />

warning and ignores the CELLS subcommand.

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

Saved successfully!

Ooh no, something went wrong!