Skip to content

Methods · Multivariate analysis · Compositional data

Aitchison Distance Between Compositions

The Aitchison distance measures how different two compositions (parts of a whole such as budget shares, mineral or species proportions) are in relative terms. It is the Euclidean distance between centred log-ratio vectors, so it depends only on the ratios between parts and not on the totals. The method reports each composition's distance to the compositional centre, nearest-neighbour and pairwise distances, and with a group column the distances between group centres with a permutation pseudo-F test.

에이치슨 거리는 예산 비중, 광물이나 생물종의 구성비처럼 전체의 부분으로 이루어진 조성 자료가 서로 얼마나 다른지를 상대적인 비율로 잽니다. 중심 로그비 벡터 사이의 유클리드 거리이므로 총량과 무관하게 부분 사이의 비율만으로 정해집니다. 각 조성이 조성 중심에서 떨어진 거리, 가장 가까운 이웃과 쌍별 거리를 구하고, 집단 열을 주면 집단 중심 사이 거리와 순열 유사 F 검정을 함께 냅니다.

How far apart are these compositions, which ones are most atypical, and do group centres differ?

이 조성들은 서로 얼마나 떨어져 있고, 어떤 조성이 가장 특이하며, 집단 중심은 서로 다릅니까?

You get a table of compositions ranked by their Aitchison distance to the closed geometric mean, the closest pair, the mean pairwise distance and, when groups are given, a matrix of distances between group centres with a pseudo-F, R squared and permutation p-value.

When to use Aitchison Distance Between Compositions

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Across [value] compositions the mean Aitchison distance to the centre was [value]; group centres differed (pseudo-F([value], [value]) = [value], permutation p = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

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

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).

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 Aitchison Distance Between Compositions on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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 Q33028 · Reviewed 2026-10-25