In statistics, compositional data are quantitative descriptions of the parts of some whole, conveying relative information. Mathematically, compositional data is represented by points on a simplex. Measurements involving probabilities, proportions, percentages, and ppm can all be thought of as compositional data. All analyses of real data deals with noisy measurements. The simpler case is in empirical studies such as questionnaire surveys, where each respondent's total allocation is fixed and one must deal solely with the effects of closure, odds and odds ratios serve as invariant statistics. In such cases, associations are determined solely by the magnitude of the odds ratio relative to 1. But in compositional data containing noise, the noise is present in the total sum and is distributed asymmetrically among the individual components. Since noise and signal are inseparable, the data can only be dichotomized into zeros and noise-contaminated components. Therefore, without explicit noise filtering, even statistics based on odds remain mathematically ill-defined. Indeed, odds and their ratios can only be calculated across samples in the absolute absence of any noise other than that induced by the compositionality itself (except for normalization).
Ternary plot Compositional data in three variables can be plotted via ternary plots. The use of a barycentric plot on three variables graphically depicts the ratios of the three variables as positions in an equilateral triangle.
The problem of noise Under conditions where Poisson noise, overdispersion, or additive instrumental errors occur, the process of composition (scaling by the total sum) propagates these distortions asymmetrically across all components, making the value of each component difficult to compare due to noise contamination. As a simple degree-of-freedom check or limit analysis (N→∞ or N→0) demonstrates, compositional data is fundamentally closed and isolated within a single row (each sample), illustrating the inherent difficulty of direct cross-sample comparisons. In the presence of such noise, any attempt to use the central limit theorem and Chebyshev's inequality to define a strict boundary between signal and noise fails, as the full joint distribution remains unknown and the threshold parameter remains purely an arbitrary matter of human interpretation. To demonstrate the baseline invariance under pure conditions, consider the ratio between two components, xi and xj, within a given sample under purely compositional effects. Letting k denote the scaling factor applied to maintain a constant row total, the closed compositional values are expressed as kxi and kxj. Their ratio then becomes kxikxj=xixj, wherein k cancels out completely. Similarly, the odds ratio between two distinct samples (or conditions), expressed as x1i/x1jx2i/x2j, remains entirely unaffected by sample-specific closure factors. Under these pure conditions, the relative order of the components derived from the observed percentage data deterministically reflects the true physical ordering, allowing for the exact calculation of the odds ratio as a definitive value for the study. The resulting odds ratio can be classified into three distinct categories based on its magnitude relative to 1: a negative association (< 1), complete independence (= 1), and a positive association (> 1).
Why Log-Ratio Transformations Fail Even for Solely Positive Compositional Data When there are three or more components, there are three or more possible combinations of relative relationships. Therefore, with two components, the ratio between them can be defined as the odds; however, with three or more components, while the ratio between components is mathematically calculable, it lacks a generalized meaning. In conclusion, a logarithmic ratio transformation is not well defined, for compositional data consisting solely of positive three or more components.
Simplicial sample space
In general, John Aitchison defined compositional data to be proportions of some whole in 1982. In particular, a compositional data point (or composition for short) can be represented by a real vector with positive components. The sample space of compositional data is a simplex: 𝒮D={𝐱=[x1,x2,…,xD]∈ℝD|xi>0,i=1,2,…,D;∑i=1Dxi=κ}. The only information is given by the ratios between components, so the information of a composition is preserved under multiplication by any positive constant. Therefore, the sample space of compositional data can always be assumed to be a standard simplex, i.e. κ=1. In this context, normalization to the standard simplex is called closure and is denoted by 𝒞[⋅]: 𝒞[x1,x2,…,xD]=[x1∑i=1Dxi,x2∑i=1Dxi,…,xD∑i=1Dxi], where D is the number of parts (components) and [⋅] denotes a row vector.
Aitchison geometry The simplex can be given the structure of a vector space in several different ways. The following vector space structure is called Aitchison geometry or the Aitchison simplex and has the following operations:
Perturbation (vector addition)
x⊕y=[x1y1∑i=1Dxiyi,x2y2∑i=1Dxiyi,…,xDyD∑i=1Dxiyi]=C[x1y1,…,xDyD]∀x,y∈SD Powering (scalar multiplication)
α⊙x=[x1α∑i=1Dxiα,x2α∑i=1Dxiα,…,xDα∑i=1Dxiα]=C[x1α,…,xDα]∀x∈SD,α∈ℝ Inner product
⟨x,y⟩=12D∑i=1D∑j=1Dlogxixjlogyiyj∀x,y∈SD Endowed with those operations, the Aitchison simplex forms a (D−1)-dimensional Euclidean inner product space. The uniform composition [1D,…,1D] is the zero vector.
Orthonormal bases Since the Aitchison simplex forms a finite dimensional Hilbert space, it is possible to construct orthonormal bases in the simplex. Every composition x can be decomposed as follows
x=⨁i=1D−1xi∗⊙ei where e1,…,eD−1 forms an orthonormal basis in the simplex. The values xi∗,i=1,2,…,D−1 are the (orthonormal and Cartesian) coordinates of x with respect to the given basis. They are called isometric log-ratio coordinates (ilr).
Linear transformations There are three well-characterized isomorphisms that transform from the Aitchison simplex to real space. All of these transforms satisfy linearity as given below.
Logarithm of the odds ratio or Additive log ratio transform The logarithm of the odds ratio is also known as the additive log ratio (alr). The additive log ratio (alr) transform is an isomorphism where alr:SD→ℝD−1. This is given by
… excerpt ends here. Continue reading the full article.

