K-Means Cluster
Splits cases into a chosen number of groups (clusters) so that cases in the same cluster have similar values on the clustering variables.
When to use
Section titled “When to use”- To segment customers, respondents or products on a few scale variables (e.g. spending, frequency, age).
- When the file is large: k-means handles hundreds of thousands of cases, unlike hierarchical clustering.
- When you already have an idea of how many clusters you want. Otherwise, try several values of k, or let TwoStep Cluster suggest a number.
Assumptions
Section titled “Assumptions”- Variables are scale and measured on comparable units. Distances are Euclidean, so a variable with a large range dominates. Standardize first (Descriptives ▸ Save standardized values) when units differ.
- Clusters are roughly round and of similar spread. k-means struggles with elongated or very unequal clusters.
- Results can depend on the order of cases and the starting centres. Check that the solution is stable, for example by rerunning on a shuffled file.
How to read the output
Section titled “How to read the output”- Iteration History shows how far the centres moved. The note says whether the solution converged.
- Final Cluster Centers are the cluster means. Read each column as the profile of one cluster.
- ANOVA shows which variables separate the clusters most (large F). The significance values are descriptive only, because the clusters were built to differ.
- Number of Cases in each Cluster: watch for tiny clusters, which often hold outliers.
- Silhouette Coefficients: an overall mean above .5 suggests a reasonable structure; below .25 suggests no real clusters.
Reporting (APA)
Section titled “Reporting (APA)”A k-means cluster analysis on standardized spending, visit frequency and age produced three clusters (n = 412, 285 and 151; mean silhouette = .54). Cluster 1 (“frequent high spenders”) had the highest spending (M = 1.12 SD above the mean).
Syntax: QUICK CLUSTER zspend zvisits zage /CRITERIA=CLUSTER(3) MXITER(20) /PRINT=INITIAL ANOVA SILHOUETTE /SAVE=CLUSTER.
This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.