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.

966 MATRIX DATA<br />

• ROWTYPE_ is specified on VARIABLES. ROWTYPE_ values in the data identify each<br />

record type.<br />

• Note that VARNAME_ is not specified on VARIABLES, and its values are not entered in the<br />

data.<br />

Example<br />

* ROWTYPE_ is specified on VARIABLES.<br />

MATRIX DATA<br />

VARIABLES=ROWTYPE_ SAVINGS POP15 POP75 INCOME GROWTH.<br />

BEGIN DATA<br />

’MEAN ’ 9.6710 35.0896 2.2930 1106.7784 3.7576<br />

’SD ’ 4.4804 9.1517 1.2907 990.8511 2.8699<br />

’N ’ 50 50 50 50 50<br />

"CORR " 1<br />

"CORR " -.4555 1<br />

"CORR " .3165 -.9085 1<br />

"CORR " .2203 -.7562 .7870 1<br />

"CORR " .3048 -.0478 .0253 -.1295 1<br />

END DATA.<br />

• ROWTYPE_ values for the mean, standard deviation, N, and Pearson correlation coefficients<br />

are abbreviated and enclosed in apostrophes or quotations.<br />

Example<br />

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

MATRIX DATA VARIABLES=SAVINGS POP15 POP75 INCOME GROWTH<br />

/CONTENTS=MEAN SD N CORR.<br />

BEGIN DATA<br />

9.6710 35.0896 2.2930 1106.7784 3.7576<br />

4.4804 9.1517 1.2907 990.8511 2.8699<br />

50 50 50 50 50<br />

1<br />

-.4555 1<br />

.3165 -.9085 1<br />

.2203 -.7562 .7870 1<br />

.3048 -.0478 .0253 -.1295 1<br />

END DATA.<br />

• ROWTYPE_ is not specified on VARIABLES, and its values are not included in the data.<br />

• CONTENTS is required to define the record types and the order of the records in the file.<br />

FILE Subcommand<br />

FILE specifies the matrix file containing the data. The default specification is INLINE, which<br />

indicates that the data are included within the command sequence between the BEGIN DATA<br />

and END DATA commands.<br />

• If the data are in an external file, FILE must specify the file.<br />

• If the FILE subcommand is omitted, the data must be inline.

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

Saved successfully!

Ooh no, something went wrong!