Skip to content

Methods · Clustering · Cluster comparison

Dendrogram Comparison (Cophenetic Correlation and Baker's Gamma with Permutation Tests)

A comparison of two hierarchical clustering trees built on the same objects, measuring how similar their structures are by correlating cophenetic distances and by Baker's rank correlation of the levels at which pairs of objects separate.

같은 대상으로 만든 두 계층적 군집 나무의 구조가 얼마나 비슷한지, 코페네틱 거리의 상관과 대상 쌍이 갈라지는 수준의 베이커 순위상관으로 비교하는 방법입니다.

Do two hierarchical clusterings of the same objects, from different linkage methods or different variables, give essentially the same tree?

연결 방법이나 변수를 바꿔 만든 두 계층적 군집 결과가 사실상 같은 나무인지 알고 싶습니다.

The method builds both dendrograms and, for every pair of objects, records the height at which they merge (cophenetic distance) and the largest number of clusters at which they are still together. The cophenetic correlation and Baker's gamma compare these values between the trees, and permutation tests that shuffle object labels in one tree show whether the agreement exceeds chance.

When to use Dendrogram Comparison (Cophenetic Correlation and Baker's Gamma with Permutation Tests)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Comparing average and complete linkage trees of [n] objects, the cophenetic correlation between trees was [value] (p = [p]) and Baker's gamma was [gamma].

Related methods

How this method is validated

이 방법의 검증 근거

  • R cross-check. 10 reported values agree with R (stats::cophenetic, dendextend::cor_bakers_gamma, dendextend::cor_cophenetic, stats::cutree) within a tolerance of 1e-9; the largest observed difference is 2e-15.

    R 교차 검증. R(stats::cophenetic, dendextend::cor_bakers_gamma, dendextend::cor_cophenetic, stats::cutree) 대조: 보고 값 10개가 허용오차 1e-9 안에서 일치합니다(관측된 최대 차이 2e-15).

  • Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (126 values) agree with R (psych::describe, stats::cor.test, stats::quantile, stats::t.test) within 1e-6. This covers the supporting tables, not the main estimates.

    보조 표 R 대조. R(psych::describe, stats::cor.test, stats::quantile, stats::t.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 126개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.

  • Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-10.

    독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Dendrogram Comparison (Cophenetic Correlation and Baker's Gamma with Permutation Tests) 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
Results cross-checked against R
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q31047 · Reviewed 2026-10-25