<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Compositional_data</id>
	<title>Compositional data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Compositional_data"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Compositional_data&amp;action=history"/>
	<updated>2026-05-04T19:20:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Compositional_data&amp;diff=4930828&amp;oldid=prev</id>
		<title>imported&gt;Sprint99: Added a reference to Bayes Space, a statistical field with roots in compositional data analysis.</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Compositional_data&amp;diff=4930828&amp;oldid=prev"/>
		<updated>2025-12-17T21:38:25Z</updated>

		<summary type="html">&lt;p&gt;Added a reference to Bayes Space, a statistical field with roots in compositional data analysis.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:38, 17 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Powering (scalar multiplication)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Powering (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;scalar multiplication&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; \alpha \odot x = \left[\frac{x_1^\alpha}{\sum_{i=1}^D x_i^\alpha},\frac{x_2^\alpha}{\sum_{i=1}^D x_i^\alpha}, \ldots,\frac{x_D^\alpha}{\sum_{i=1}^D x_i^\alpha} \right] = C[x_1^\alpha, \ldots, x_D^\alpha]  \qquad \forall x \in S^D, \; \alpha \in \mathbb{R}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; \alpha \odot x = \left[\frac{x_1^\alpha}{\sum_{i=1}^D x_i^\alpha},\frac{x_2^\alpha}{\sum_{i=1}^D x_i^\alpha}, \ldots,\frac{x_D^\alpha}{\sum_{i=1}^D x_i^\alpha} \right] = C[x_1^\alpha, \ldots, x_D^\alpha]  \qquad \forall x \in S^D, \; \alpha \in \mathbb{R}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Orthonormal bases ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Orthonormal bases ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since the Aitchison simplex forms a finite dimensional Hilbert space, it is possible to construct orthonormal bases in the simplex. Every composition &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; can be decomposed as follows&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since the Aitchison simplex forms a finite dimensional &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;Hilbert space&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;, it is possible to construct orthonormal bases in the simplex. Every composition &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; can be decomposed as follows&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; x = \bigoplus_{i=1}^{D-1} x_i^* \odot e_i &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; x = \bigoplus_{i=1}^{D-1} x_i^* \odot e_i &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; \operatorname{clr}(x) = \left[ \log \frac{x_1}{g(x)}, \cdots, \log \frac{x_D}{g(x)} \right] &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: &amp;lt;math&amp;gt; \operatorname{clr}(x) = \left[ \log \frac{x_1}{g(x)}, \cdots, \log \frac{x_D}{g(x)} \right] &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where &amp;lt;math&amp;gt; g(x) &amp;lt;/math&amp;gt; is the geometric mean of &amp;lt;math&amp;gt; x &amp;lt;/math&amp;gt;. The inverse of this function is also known as the [[softmax function]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where &amp;lt;math&amp;gt; g(x) &amp;lt;/math&amp;gt; is the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;geometric mean&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;of &amp;lt;math&amp;gt; x &amp;lt;/math&amp;gt;. The inverse of this function is also known as the [[softmax function]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Isometric logratio transform ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Isometric logratio transform ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l114&quot;&gt;Line 114:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 114:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Simplex#Applications|Applications of simplices]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Simplex#Applications|Applications of simplices]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Ternary plot]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Ternary plot]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Bayes space|Bayes Space]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Sprint99</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Compositional_data&amp;diff=308415&amp;oldid=prev</id>
		<title>imported&gt;Akurishen: /* Orthonormal bases */ upper index in the sum was $D$ but needs to be $D-1$</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Compositional_data&amp;diff=308415&amp;oldid=prev"/>
		<updated>2024-12-03T08:44:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Orthonormal bases: &lt;/span&gt; upper index in the sum was $D$ but needs to be $D-1$&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Parts of a whole which carry only relative information}}&lt;br /&gt;
In [[statistics]], &amp;#039;&amp;#039;&amp;#039;compositional data&amp;#039;&amp;#039;&amp;#039; are quantitative descriptions of the parts of some whole, conveying relative information. Mathematically, compositional data is [[sample space|represented by points]] on a [[simplex]]. Measurements involving probabilities, proportions, percentages, and [[Parts-per notation|ppm]] can all be thought of as compositional data.&lt;br /&gt;
&lt;br /&gt;
==Ternary plot==&lt;br /&gt;
Compositional data in three variables can be plotted via [[ternary plot]]s. The use of a [[barycentric coordinates (mathematics)|barycentric]] [[plot (graphics)|plot]] on three variables graphically depicts the ratios of the three variables as positions in an [[equilateral]] [[triangle]].&lt;br /&gt;
&lt;br /&gt;
==Simplicial sample space==&lt;br /&gt;
In general, [[John Aitchison]] defined compositional data to be proportions of some whole in 1982.&amp;lt;ref&amp;gt;{{cite journal|last=Aitchison|first=John|title=The Statistical Analysis of Compositional Data|journal=Journal of the Royal Statistical Society. Series B (Methodological)|volume=44|issue=2|year=1982|pages=139–177|doi=10.1111/j.2517-6161.1982.tb01195.x}}&amp;lt;/ref&amp;gt; In particular, a compositional data point (or &amp;#039;&amp;#039;composition&amp;#039;&amp;#039; for short) can be represented by a real vector with positive components. The sample space of compositional data is a simplex:&lt;br /&gt;
:: &amp;lt;math&amp;gt; \mathcal{S}^D=\left\{\mathbf{x}=[x_1,x_2,\dots,x_D]\in\mathbb{R}^D \,\left|\, x_i&amp;gt;0,i=1,2,\dots,D; \sum_{i=1}^D x_i=\kappa \right. \right\}. \ &amp;lt;/math&amp;gt;&lt;br /&gt;
[[File:Aitchison-simplex.jpg|thumb|An illustration of the Aitchison simplex.  Here, there are 3 parts, &amp;lt;math&amp;gt;x_1, x_2,  x_3&amp;lt;/math&amp;gt; represent values of different proportions.  A, B, C, D and E are 5 different compositions within the simplex.  A, B and C are all equivalent and D and E are equivalent.]]&lt;br /&gt;
&lt;br /&gt;
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. &amp;lt;math&amp;gt;\kappa = 1&amp;lt;/math&amp;gt;. In this context, normalization to the standard simplex is called &amp;#039;&amp;#039;&amp;#039;closure&amp;#039;&amp;#039;&amp;#039; and is denoted by &amp;lt;math&amp;gt;\scriptstyle\mathcal{C}[\,\cdot\,]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt;\mathcal{C}[x_1,x_2,\dots,x_D]=\left[\frac{x_1}{\sum_{i=1}^D x_i},\frac{x_2}{\sum_{i=1}^D x_i}, \dots,\frac{x_D}{\sum_{i=1}^D x_i}\right],\ &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;D&amp;#039;&amp;#039; is the number of parts (components) and &amp;lt;math&amp;gt; [\cdot]&amp;lt;/math&amp;gt; denotes a row vector.&lt;br /&gt;
&lt;br /&gt;
== Aitchison geometry ==&lt;br /&gt;
The simplex can be given the structure of a [[vector space]] in several different ways. The following vector space structure is called &amp;#039;&amp;#039;&amp;#039;Aitchison geometry&amp;#039;&amp;#039;&amp;#039; or the &amp;#039;&amp;#039;&amp;#039;Aitchison simplex&amp;#039;&amp;#039;&amp;#039; and has the following operations:&lt;br /&gt;
&lt;br /&gt;
; Perturbation (vector addition)&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; x \oplus y = \left[\frac{x_1 y_1}{\sum_{i=1}^D x_i y_i},\frac{x_2 y_2}{\sum_{i=1}^D x_i y_i}, \dots, \frac{x_D y_D}{\sum_{i=1}^D x_i y_i}\right] = C[x_1 y_1, \ldots, x_D y_D]  \qquad \forall x, y \in S^D&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Powering (scalar multiplication)&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \alpha \odot x = \left[\frac{x_1^\alpha}{\sum_{i=1}^D x_i^\alpha},\frac{x_2^\alpha}{\sum_{i=1}^D x_i^\alpha}, \ldots,\frac{x_D^\alpha}{\sum_{i=1}^D x_i^\alpha} \right] = C[x_1^\alpha, \ldots, x_D^\alpha]  \qquad \forall x \in S^D, \; \alpha \in \mathbb{R}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Inner product&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \langle x, y \rangle = \frac{1}{2D} &lt;br /&gt;
\sum_{i=1}^D &lt;br /&gt;
\sum_{j=1}^D&lt;br /&gt;
\log \frac{x_i}{x_j} &lt;br /&gt;
\log \frac{y_i}{y_j} &lt;br /&gt;
\qquad \forall x, y \in S^D&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Endowed with those operations, the Aitchison simplex forms a &amp;lt;math&amp;gt;(D-1)&amp;lt;/math&amp;gt;-dimensional Euclidean [[inner product space]]. The uniform composition &amp;lt;math&amp;gt;\left[\frac{1}{D}, \dots,  \frac{1}{D}\right]&amp;lt;/math&amp;gt; is the [[zero vector]].&lt;br /&gt;
&lt;br /&gt;
=== Orthonormal bases ===&lt;br /&gt;
Since the Aitchison simplex forms a finite dimensional Hilbert space, it is possible to construct orthonormal bases in the simplex. Every composition &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; can be decomposed as follows&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; x = \bigoplus_{i=1}^{D-1} x_i^* \odot e_i &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;e_1, \ldots, e_{D-1} &amp;lt;/math&amp;gt; forms an orthonormal basis in the simplex.&amp;lt;ref&amp;gt;{{harvnb|Egozcue|Pawlowsky-Glahn|Mateu-Figueras|Barcelo-Vidal2003}}&amp;lt;/ref&amp;gt; The values &amp;lt;math&amp;gt;x_i^*, i=1,2,\ldots,D-1&amp;lt;/math&amp;gt; are the (orthonormal and Cartesian) coordinates of &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; with respect to the given basis. They are called isometric log-ratio coordinates &amp;lt;math&amp;gt;(\operatorname{ilr})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Linear transformations ===&lt;br /&gt;
There are three well-characterized [[isomorphism]]s that transform from the Aitchison simplex to real space.  All of these transforms satisfy linearity and as given below&lt;br /&gt;
&lt;br /&gt;
==== Additive log ratio transform ====&lt;br /&gt;
The additive log ratio (alr) transform is an isomorphism where &amp;lt;math&amp;gt;\operatorname{alr}: S^D \rightarrow \mathbb{R}^{D-1} &amp;lt;/math&amp;gt;.  This is given by&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \operatorname{alr}(x) = \left[ \log \frac{x_1}{x_D}, \cdots, \log \frac{x_{D-1}}{x_D} \right] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The choice of denominator component is arbitrary, and could be any specified component.&lt;br /&gt;
This transform is commonly used in chemistry with measurements such as pH.  In addition, this is the transform most commonly used for [[multinomial logistic regression]].  The alr transform is not an isometry, meaning that distances on transformed values will not be equivalent to distances on the original compositions in the simplex.&lt;br /&gt;
&lt;br /&gt;
==== Center log ratio transform ====&lt;br /&gt;
The center log ratio (clr) transform is both an isomorphism and an isometry where &amp;lt;math&amp;gt;\operatorname{clr}: S^D \rightarrow U, \quad U \subset \mathbb{R}^D &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \operatorname{clr}(x) = \left[ \log \frac{x_1}{g(x)}, \cdots, \log \frac{x_D}{g(x)} \right] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; g(x) &amp;lt;/math&amp;gt; is the geometric mean of &amp;lt;math&amp;gt; x &amp;lt;/math&amp;gt;. The inverse of this function is also known as the [[softmax function]].&lt;br /&gt;
&lt;br /&gt;
==== Isometric logratio transform ====&lt;br /&gt;
The isometric log ratio (ilr) transform is both an isomorphism and an isometry where &amp;lt;math&amp;gt;\operatorname{ilr}: S^D \rightarrow \mathbb{R}^{D-1} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \operatorname{ilr}(x) = \big[ \langle x, e_1 \rangle, \ldots, \langle x, e_{D-1} \rangle\big]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to construct orthonormal bases, including using the [[Gram–Schmidt_process | Gram–Schmidt orthogonalization]] or [[singular-value decomposition]] of clr transformed data.  &lt;br /&gt;
Another alternative is to construct log contrasts from a bifurcating tree.  If we are given a bifurcating tree, we can construct a basis from the internal nodes in the tree.&lt;br /&gt;
&lt;br /&gt;
[[File:Orthogonal-tree-basis.jpg|thumb|A representation of a tree in terms of its orthogonal components. l represents an internal node, an element of the orthonormal basis. This is a precursor to using the tree as a scaffold for the ilr transform]]&lt;br /&gt;
&lt;br /&gt;
Each vector in the basis would be determined as follows&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; e_\ell = C[\exp( \,\underbrace{0,\ldots,0}_k, \underbrace{a,\ldots,a}_r,\underbrace{b,\ldots,b}_s,\underbrace{0,\ldots,0}_t \, )]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The elements within each vector are given as follows&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; a = \frac{\sqrt{s}}{\sqrt{r(r+s)}} \quad \text{and} \quad b = \frac{-\sqrt{r}}{\sqrt{s(r+s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;k, r, s, t&amp;lt;/math&amp;gt; are the respective number of tips in the corresponding subtrees shown in the figure.  It can be shown that the resulting basis is orthonormal&amp;lt;ref&amp;gt;{{harvnb|Egozcue|Pawlowsky-Glahn|2005}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the basis &amp;lt;math&amp;gt;\Psi&amp;lt;/math&amp;gt; is built, the ilr transform can be calculated as follows&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; &lt;br /&gt;
\operatorname{ilr}(x) = \operatorname{clr}(x) \Psi^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where each element in the ilr transformed data is of the following form&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; b_i = \sqrt{\frac{rs}{r+s}} \log \frac{g(x_R)}{g(x_S)}  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; x_R&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; x_S&amp;lt;/math&amp;gt; are the set of values corresponding to the tips in the subtrees &amp;lt;math&amp;gt; R&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; S&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
* In [[chemistry]], compositions can be expressed as [[molar concentration]]s of each component. As the sum of all concentrations is not determined, the whole composition of &amp;#039;&amp;#039;D&amp;#039;&amp;#039; parts is needed and thus expressed as a vector of &amp;#039;&amp;#039;D&amp;#039;&amp;#039; molar concentrations. These compositions can be translated into weight per cent multiplying each component by the appropriated constant.&lt;br /&gt;
* In [[demography]], a town may be a compositional data point in a sample of towns; a town in which 35% of the people are Christians, 55% are Muslims, 6% are Jews, and the remaining 4% are others would correspond to the quadruple [0.35,&amp;amp;nbsp;0.55,&amp;amp;nbsp;0.06,&amp;amp;nbsp;0.04]. A data set would correspond to a list of towns.&lt;br /&gt;
* In [[geology]], a rock composed of different minerals may be a compositional data point in a sample of rocks; a rock of which 10% is the first mineral, 30% is the second, and the remaining 60% is the third would correspond to the triple [0.1,&amp;amp;nbsp;0.3,&amp;amp;nbsp;0.6]. A [[data set]] would contain one such triple for each rock in a sample of rocks.&lt;br /&gt;
* In [[DNA sequencing#High-throughput methods|high throughput sequencing]], data obtained are typically transformed to relative abundances, rendering them compositional. &lt;br /&gt;
* In [[probability]] and [[statistics]], a partition of the sampling space into disjoint events is described by the probabilities assigned to such events. The vector of &amp;#039;&amp;#039;D&amp;#039;&amp;#039; probabilities can be considered as a composition of &amp;#039;&amp;#039;D&amp;#039;&amp;#039; parts. As they add to one, one probability can be suppressed and the composition is completely determined.&lt;br /&gt;
* In [[chemometrics]], for the classification of petroleum oils.&amp;lt;ref&amp;gt;{{cite journal | last1 = Olea | first1 = Ricardo A. | last2 = Martín-Fernández | first2 = Josep A. | last3 = Craddock | first3 = William H. | year = 2021 | title = Multivariate classification of the crude oil petroleum systems in southeast Texas, USA, using conventional and compositional analysis of biomarkers | journal = In Advances in Compositional Data Analysis—Festschrift in honor of Vera-Pawlowsky-Glahn, Filzmoser, P., Hron, K., Palarea-Albaladejo, J., Martín-Fernández, J.A., editors. Springer | pages = 303−327}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* In a [[Survey (human research)|survey]], the proportions of people positively answering some different items can be expressed as percentages. As the total amount is identified as 100, the compositional vector of &amp;#039;&amp;#039;D&amp;#039;&amp;#039; components can be defined using only &amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;1 components, assuming that the remaining component is the percentage needed for the whole vector to add to 100.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Mixture model]]&lt;br /&gt;
* [[Response surface methodology]]&lt;br /&gt;
* [[Simplex#Applications|Applications of simplices]]&lt;br /&gt;
* [[Ternary plot]]&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* {{citation |author-link=John Aitchison |first=J. |last=Aitchison |title=The Statistical Analysis of Compositional Data |date=2011 |orig-date=1986 |publisher=Springer |isbn=978-94-010-8324-9 |series=Monographs on statistics and applied probability}}&lt;br /&gt;
* {{citation |first1=K. Gerald |last1=van den Boogaart |first2=Raimon |last2=Tolosana-Delgado |title=Analyzing Compositional Data with R |url=https://books.google.com/books?id=4VhEAAAAQBAJ |date=2013 |publisher=Springer |isbn=978-3-642-36809-7}}&lt;br /&gt;
*{{citation&lt;br /&gt;
 | last1 = Egozcue &lt;br /&gt;
 | first1 = Juan Jose&lt;br /&gt;
 | last2 = Pawlowsky-Glahn &lt;br /&gt;
 | first2 = Vera&lt;br /&gt;
 | last3 = Mateu-Figueras&lt;br /&gt;
 | first3 = Gloria&lt;br /&gt;
 | last4 = Barcelo-Vidal&lt;br /&gt;
 | first4 = Carles&lt;br /&gt;
 | title = Isometric logratio transformations for compositional data analysis&lt;br /&gt;
 | journal = [[Mathematical Geology]]&lt;br /&gt;
 | volume=35&lt;br /&gt;
 | number = 3&lt;br /&gt;
 | pages = 279–300&lt;br /&gt;
 | year = 2003&lt;br /&gt;
 | doi = 10.1023/A:1023818214614&lt;br /&gt;
 | s2cid = 122844634&lt;br /&gt;
 }}&lt;br /&gt;
*{{citation&lt;br /&gt;
 | last1 = Egozcue &lt;br /&gt;
 | first1 = Juan Jose&lt;br /&gt;
 | last2 = Pawlowsky-Glahn &lt;br /&gt;
 | first2 = Vera&lt;br /&gt;
 | title = Groups of parts and their balances in compositional data analysis&lt;br /&gt;
 | journal = [[Mathematical Geology]]&lt;br /&gt;
 | volume=37&lt;br /&gt;
 | number = 7&lt;br /&gt;
 | pages = 795–828&lt;br /&gt;
 | year = 2005&lt;br /&gt;
 | doi = 10.1007/s11004-005-7381-9&lt;br /&gt;
 | bibcode = 2005MatGe..37..795E&lt;br /&gt;
 | s2cid = 53061345&lt;br /&gt;
 }}&lt;br /&gt;
*{{citation&lt;br /&gt;
 | last1 = Pawlowsky-Glahn &lt;br /&gt;
 | first1 = Vera &lt;br /&gt;
 | author1-link = Vera Pawlowsky-Glahn&lt;br /&gt;
 | last2 = Egozcue &lt;br /&gt;
 | first2 = Juan Jose&lt;br /&gt;
 | last3 = Tolosana-Delgado &lt;br /&gt;
 | first3 = Raimon&lt;br /&gt;
 | title = Modeling and Analysis of Compositional Data&lt;br /&gt;
 | publisher = Wiley&lt;br /&gt;
 | year = 2015&lt;br /&gt;
 | doi = 10.1002/9781119003144&lt;br /&gt;
 | isbn = 978-1-119-00314-4&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.compositionaldata.com/ CoDaWeb – Compositional Data Website]&lt;br /&gt;
* {{cite journal |hdl=10256/297 |hdl-access=free |last1=Pawlowsky-Glahn |first1=V. |last2=Egozcue |first2=J.J. |last3=Tolosana-Delgado |first3=R. |year=2007 |title=Lecture Notes on Compositional Data Analysis |website=Universitat de Girona |url=https://hdl.handle.net/10256/297}}&lt;br /&gt;
* [[Wikibooks:Why, and How, Should Geologists Use Compositional Data Analysis|Why, and How, Should Geologists Use Compositional Data Analysis]] (wikibook)&lt;br /&gt;
&lt;br /&gt;
[[Category:Statistical data types]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Akurishen</name></author>
	</entry>
</feed>