WPGMA (McQuitty) Hierarchical Clustering
WPGMA, also called McQuitty's method, is an agglomerative hierarchical clustering rule in which the distance from a newly merged cluster to any other cluster is the plain average of the two distances before the merge, regardless of how many cases each part holds. Small groups therefore weigh as much as large ones in later merges.
두 군집을 합친 뒤 새 군집과 다른 군집 사이의 거리를 합치기 전 두 거리의 단순 평균으로 정하는 응집형 계층 군집 방법(맥퀴티 방법)입니다. 군집에 속한 사례 수와 상관없이 두 가지가 같은 비중을 가집니다.
How do cases group into a tree of clusters when each merged branch should count equally, whatever its size?
합쳐지는 가지의 크기와 상관없이 같은 비중을 주면서 사례들을 나무 모양의 군집으로 묶으면 어떻게 될까요?
Starting with every case as its own cluster, the two closest clusters are merged repeatedly. After each merge the new cluster's distance to every other cluster is set to the mean of the two old distances. The tree is cut into a chosen number of clusters or at a chosen height, and the cophenetic correlation, agglomerative coefficient and silhouette describe how well the tree and the cut fit the data. The cophenetic correlation of the size-weighted average linkage (UPGMA) is shown for comparison.
When to use WPGMA (McQuitty) Hierarchical Clustering
- You want an average-type linkage in which unequal branch sizes do not dominate later merges.
- You are reproducing an ecological or taxonomic analysis that specifies WPGMA.
- The sample is small to medium so that a full distance matrix fits in memory.
When to use something else
- You want Ward, single, complete or size-weighted average linkage: use Hierarchical Cluster Analysis
- The dataset is very large and the number of clusters is roughly known: use K-Means Clustering
- You need cluster membership probabilities from a model: use Gaussian Mixture Model (GMM)
Assumptions and requirements
- Variables are on comparable scales (standardisation is on by default)
- The chosen distance metric reflects meaningful dissimilarity
- Each merged cluster is treated as a single unit; cluster sizes are deliberately ignored
- Memory grows with the square of the number of cases
What the analysis reports
- Cluster sizes and feature means per cluster, or the full merge schedule
- Cophenetic correlation and the UPGMA comparison
- Agglomerative coefficient
- Average silhouette width of the cut
How to report it
WPGMA hierarchical clustering on standardised Euclidean distances, cut into [value] clusters, gave sizes of [value], [value] and [value]; the cophenetic correlation was [value] and the average silhouette width was [value].
Related methods
- Hierarchical Cluster Analysis
- Optimal Number of Clusters (Elbow, Silhouette, Gap)
- Internal Cluster Validity Indices
- Consensus Clustering
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite at a stated tolerance of 1e-10.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과(허용오차 1e-10).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run WPGMA (McQuitty) Hierarchical Clustering on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.