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.

244 CLUSTER<br />

Example<br />

GET FILE=CRIME.<br />

PROXIMITIES MURDER TO MOTOR<br />

/VIEW=VARIABLE<br />

/MEASURE=PH2<br />

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

CLUSTER<br />

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

• GET retrieves an SPSS-format data file.<br />

• PROXIMITIES uses the data from the CRIME file, which is now the working data file. The<br />

VIEW subcommand specifies computation of proximity values between variables. The<br />

MATRIX subcommand writes the matrix to the working data file.<br />

• MATRIX=IN(*) on the CLUSTER command reads the matrix materials from the working<br />

data file. Since the matrix contains distances between variables, CLUSTER clusters variables<br />

based on distance measures in the input. The variable list is omitted on the CLUS-<br />

TER command, so all variables are used in the analysis. The slash preceding the MATRIX<br />

subcommand is required because there is an implied variable list. Without the slash,<br />

CLUSTER would attempt to interpret MATRIX as a variable name rather than a subcommand<br />

name.

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

Saved successfully!

Ooh no, something went wrong!