* Encoding: UTF-8. DATASET ACTIVATE DataSet1. *k-means 2 shluky QUICK CLUSTER v3 v4 v5 v6 v7 v8 v9 v10 v11 /MISSING=LISTWISE /CRITERIA=CLUSTER(2) MXITER(10) CONVERGE(0) /METHOD=KMEANS(NOUPDATE) /SAVE CLUSTER DISTANCE /PRINT INITIAL ANOVA. *k-means 6 shluky QUICK CLUSTER v3 v4 v5 v6 v7 v8 v9 v10 v11 /MISSING=LISTWISE /CRITERIA=CLUSTER(6) MXITER(10) CONVERGE(0) /METHOD=KMEANS(NOUPDATE) /SAVE CLUSTER DISTANCE /PRINT INITIAL ANOVA. *k-means 4 shluky DATASET ACTIVATE DataSet2. QUICK CLUSTER v3 v4 v5 v6 v7 v8 v9 v10 v11 /MISSING=LISTWISE /CRITERIA=CLUSTER(4) MXITER(10) CONVERGE(0) /METHOD=KMEANS(NOUPDATE) /SAVE CLUSTER DISTANCE /PRINT INITIAL ANOVA. *rozlozeni 4 shluku podle pohlavi CROSSTABS /TABLES=SEX BY QCL_3 /FORMAT=AVALUE TABLES /CELLS=COUNT ROW ASRESID /COUNT ROUND CELL.