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.

1384 RELIABILITY<br />

Example<br />

Example<br />

Example<br />

DATA LIST / TIME1 TO TIME5 1-10.<br />

BEGIN DATA<br />

0 0 0 0 0<br />

0 0 1 1 0<br />

0 0 1 1 1<br />

0 1 1 1 1<br />

0 0 0 0 1<br />

0 1 0 1 1<br />

0 0 1 1 1<br />

1 0 0 1 1<br />

1 1 1 1 1<br />

1 1 1 1 1<br />

END DATA.<br />

RELIABILITY VARIABLES=TIME1 TO TIME5<br />

/MATRIX=OUT(*) NOPRINT.<br />

LIST.<br />

• RELIABILITY writes the same matrix as in the previous example. However, the matrix data<br />

file replaces the working data file. The LIST command is executed in the matrix file, not<br />

in the file defined by DATA LIST.<br />

• Because NOPRINT is specified on MATRIX, scale analyses are not displayed.<br />

GET FILE=RELMTX.<br />

RELIABILITY VARIABLES=ALL<br />

/MATRIX=IN(*).<br />

• This example assumes that you are starting a new session and want to read an existing<br />

matrix data file. GET retrieves the matrix data file RELMTX.<br />

• MATRIX=IN specifies an asterisk because the matrix data file is the working data file. If<br />

MATRIX=IN(RELMTX) is specified, SPSS issues an error message.<br />

• If the GET command is omitted, SPSS issues an error message.<br />

GET FILE=PRSNNL.<br />

FREQUENCIES VARIABLE=AGE.<br />

RELIABILITY VARIABLES=ALL<br />

/MATRIX=IN(RELMTX).<br />

• This example performs a frequencies analysis on file PRSNNL and then uses a different file<br />

containing matrix data for RELIABILITY. The file is an existing matrix data file. In order for<br />

this to work, the analysis variables named in RELMTX must also exist in PRSNNL.<br />

• RELMTX must have records of type N, MEAN, STDDEV, and CORR for each split-file<br />

group.<br />

• RELMTX does not replace PRSNNL as the working data file.

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

Saved successfully!

Ooh no, something went wrong!