/* 类平均法*/
PROC CLUSTER DATA=temp METHOD=average STD NOSQUARE CCC; VAR y1 y2; ID item; RUN;
PROC TREE HORIZONTAL SPACE=3; ID item; RUN;
/*重心法*/
PROC CLUSTER DATA=temp METHOD=centroid STD NOSQUARE CCC; VAR y1 y2; ID item; RUN;
PROC TREE HORIZONTAL SPACE=3; ID item; RUN;
X1 X2 X4 X7 X8 X13 X9 X12 X3 X5 X6 X11 X10
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Minimum Distance Between Clusters x1 x2 x3 x5 x6
x4 x8 x7 x13 x9 x12 x11 x10
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 Maximum Distance Between Clusters X1 X2 X4 X7 X8 X13 X9 X12 X11 X3 X5 X6 X10
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 Average Distance Between Clusters X1 X2 X4 X7 X8 X13 X9 X12 X11 X3