Skip to content

Methods · Multivariate analysis · Compositional data

Principal Balances and CoDa Dendrogram

Principal balances are log-ratio coordinates of compositional data (shares of a whole) that contrast one group of parts with another, chosen so that the first balance has the largest possible variance, the next the largest among those compatible with it, and so on. Together they form a sequential binary partition of the parts and an orthonormal basis, so their variances add up to the total log-ratio variance. The CoDa dendrogram displays the partition with each balance's variance and mean.

주 균형은 조성 자료(전체에 대한 부분의 비중)에서 부분들의 한 묶음을 다른 묶음과 대비하는 로그비 좌표로, 첫째 균형이 가능한 가장 큰 분산을 갖고 다음 균형은 앞의 것과 양립하는 것 가운데 분산이 가장 크도록 차례로 고릅니다. 이들은 부분들의 순차 이진 분할이자 정규직교 기저를 이루므로 분산의 합이 전체 로그비 분산과 같습니다. 조성 덴드로그램은 이 분할을 각 균형의 분산과 평균과 함께 보여 줍니다.

Which contrasts between groups of parts carry most of the variation in my compositions?

조성 자료의 변동은 주로 어떤 부분 묶음 사이의 대비에서 나옵니까?

You get the ordered list of balances (numerator and denominator parts) with variance, share and cumulative share of the total variance, mean and median, and the share of the first clr principal component for comparison.

When to use Principal Balances and CoDa Dendrogram

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The first principal balance, [value] versus [value], carried [value]% of the total log-ratio variance, and the first three balances together [value]%.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-10.

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 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 Principal Balances and CoDa Dendrogram 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.

Method ID Q33068 · Reviewed 2026-10-25