Overview
Use hierarchical clustering to sort cases into groups of similar cases when no grouping is known in advance: for example, grouping survey sites by the plant species found at each. The result is a dendrogram, a tree that shows which cases join and how alike they are when they do.
statistiXL uses agglomerative clustering: it starts with each case on its own and repeatedly joins the two most similar groups until all cases form one group. Choose a similarity or distance measure to suit the data, and a cluster method to set how the distance between two groups is measured.
Unlike discriminant analysis, which separates groups that are already known, clustering finds groups in the data.
Methods and options
- Nearest neighbour (single linkage)
- Furthest neighbour (complete linkage)
- Group average
- Centroid
- Ward's method
- Lance and Williams' method
- Binary, quantitative or mixed (binary, qualitative and quantitative) data, or a distance or similarity matrix
- Similarity and distance measures for binary data (e.g. Jaccard, Sorensen (Dice), Rogers & Tanimoto) and quantitative data (e.g. Euclidean Distance, City Block, Minkowski, Bray & Curtis, Canberra)
- Dendrograms as text or as editable Excel charts
Running the analysis
For mixed data, the first row of each column states its type: BIN (binary), QUAL (qualitative) or QUANT (quantitative). Click Hierarchical Clustering on the statistiXL ribbon. In the dialog, select the data set and its type, the similarity or distance measure, the cluster method and the output location, and choose a text or graph dendrogram.


What the output includes
- The similarity or distance matrix between every pair of cases
- The clustering sequence, showing which cases or clusters join at each step and at what distance or similarity
- The cophenetic correlation, with degrees of freedom and P value, which measures how well the dendrogram represents the original distances
- A dendrogram, as text or as an editable Excel chart (optional)
