Cluster analysis - first attempt

Here is the SPSS statistics code for running a hierarchical cluster analysis:

DATASET DECLARE D0.5999347690493206.PROXIMITIES  MurderandManslaughterRate RevisedRapeRate RobberyRate  AggravatedAssaultRate BurglaryRate Larceny_TheftRate MotorVehicleTheftRate /MATRIX OUT(D0.5999347690493206) /VIEW=CASE /MEASURE=SEUCLID /PRINT NONE /STANDARDIZE=VARIABLE Z.CLUSTER /MATRIX IN(D0.5999347690493206) /METHOD WARD /PRINT SCHEDULE /PLOT DENDROGRAM.DATASET CLOSE D0.5999347690493206.

Following are the comments in the SPSS Statistics code.

DATASET DECLARE creates a new dataset name that is not associated with any open dataset. The purpose of this command is to declare a name for the anticipated proximities matrix produced ...

Get Data Analysis with IBM SPSS Statistics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.