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.

238 CLUSTER<br />

ID Subcommand<br />

ID names a string variable to be used as the case identifier in cluster membership tables, icicle<br />

plots, and dendrograms. If the ID subcommand is omitted, cases are identified by case numbers<br />

alone.<br />

• When used with the MATRIX IN subcommand, the variable specified on the ID subcommand<br />

identifies the labeling variable in the matrix file.<br />

PRINT Subcommand<br />

PRINT controls the display of cluster output (except plots, which are controlled by the PLOT<br />

subcommand).<br />

• If the PRINT subcommand is omitted or included without specifications, an<br />

agglomeration schedule is displayed. If any keywords are specified on PRINT, the<br />

agglomeration schedule is displayed only if explicitly requested.<br />

• CLUSTER automatically displays summary information (the method and measure used, the<br />

number of cases) for each method named on the METHOD subcommand. This summary is<br />

displayed regardless of specifications on PRINT.<br />

You can specify any or all of the following on the PRINT subcommand:<br />

SCHEDULE Agglomeration schedule. The agglomeration schedule shows the order<br />

and distances at which items and clusters combine to form new<br />

clusters. It also shows the cluster level at which an item joins a cluster.<br />

SCHEDULE is the default and can also be requested with keyword<br />

DEFAULT.<br />

CLUSTER(min,max) Cluster membership. For each item, the display includes the value of<br />

the case identifier (or the variable name if matrix input is used), the<br />

case sequence number, and a value (1, 2, 3, and so on) identifying the<br />

cluster to which that case belongs in a given cluster solution. Specify<br />

either a single integer value in parentheses indicating the level of a<br />

single solution or a minimum value and a maximum value indicating<br />

a range of solutions for which display is desired. If the number of<br />

clusters specified exceeds the number produced, the largest number of<br />

clusters is used (the number of items minus 1). If CLUSTER is<br />

specified more than once, the last specification is used.<br />

DISTANCE Proximities matrix. The proximities matrix table displays the distances<br />

or similarities between items computed by CLUSTER or obtained from<br />

an input matrix. DISTANCE produces a large volume of output and uses<br />

significant CPU time when the number of cases is large.<br />

NONE None of the above. NONE overrides any other keywords specified on<br />

PRINT.<br />

Example<br />

CLUSTER V1 V2 V3 /PRINT=CLUSTER(3,5).

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

Saved successfully!

Ooh no, something went wrong!