<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Compositional Data Analysis on Statistics @ Home</title>
    <link>http://statsathome.com/tags/compositional-data-analysis/</link>
    <description>Recent content in Compositional Data Analysis on Statistics @ Home</description>
    <generator>Hugo</generator>
    <language>en-EN</language>
    <managingEditor>stats.at.home@gmail.com (Justin and Rachel Silverman)</managingEditor>
    <webMaster>stats.at.home@gmail.com (Justin and Rachel Silverman)</webMaster>
    <copyright>(c) 2017 Justin and Rachel Silverman</copyright>
    <lastBuildDate>Wed, 20 Sep 2017 00:00:00 +0000</lastBuildDate>
    <atom:link href="http://statsathome.com/tags/compositional-data-analysis/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Plotting a Sequential Binary Partition on a Tree in R</title>
      <link>http://statsathome.com/2017/09/20/plotting-a-sequential-binary-partition-on-a-tree-in-r/</link>
      <pubDate>Wed, 20 Sep 2017 00:00:00 +0000</pubDate><author>stats.at.home@gmail.com (Justin and Rachel Silverman)</author>
      <guid>http://statsathome.com/2017/09/20/plotting-a-sequential-binary-partition-on-a-tree-in-r/</guid>
      <description>&lt;p&gt;For users of PhILR (&lt;a href=&#34;https://elifesciences.org/articles/21887&#34;&gt;Paper&lt;/a&gt;, &lt;a href=&#34;https://bioconductor.org/packages/release/bioc/html/philr.html&#34;&gt;R Package&lt;/a&gt;), and also for users of the ILR transform that wan to make use of the awesome plotting functions in R. I wanted to share a function for plotting a sequential binary partition on a tree using the &lt;a href=&#34;https://bioconductor.org/packages/release/bioc/html/ggtree.html&#34;&gt;ggtree package&lt;/a&gt;. I recently wrote this for a manuscript but figured it might be of more general use to others as well.&lt;/p&gt;&#xA;&lt;p&gt;In its simplest form a sequential binary partition can be represented as a binary tree.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building the ILR from the ALR Transform</title>
      <link>http://statsathome.com/2017/08/10/building-the-ilr-from-the-alr-transform/</link>
      <pubDate>Thu, 10 Aug 2017 00:00:00 +0000</pubDate><author>stats.at.home@gmail.com (Justin and Rachel Silverman)</author>
      <guid>http://statsathome.com/2017/08/10/building-the-ilr-from-the-alr-transform/</guid>
      <description>&lt;p&gt;Following up on a &lt;a href=&#34;http://www.statsathome.com/2017/08/09/we-can-do-better-than-the-alr-or-softmax-transform/&#34;&gt;recent post on limitations of the ALR and Softmax transforms&lt;/a&gt;, I wanted to briefly show how we can derive an Isometric Log-Ratio transform from the Additive Log-Ratio (ALR) transform.&lt;/p&gt;&#xA;&lt;p&gt;The ILR transform is just an orthonormal basis in the simplex with respect to the Aitchison metric (which follows naturally from using log-ratios - I will probably have a post explaining this more in the future). We are going to use the &lt;a href=&#34;https://en.wikipedia.org/wiki/Gram%E2%80%93Schmidt_process&#34;&gt;Gram-Schmidt orthonomalization&lt;/a&gt; process to build an orthonormal basis given a set of vectors which are not orthonormal (the coordinates defined by our ALR transform). This is actually the same approach used when the ILR transform was first described. In particular we will use the &lt;a href=&#34;https://en.wikipedia.org/wiki/QR_decomposition&#34;&gt;QR decomposition&lt;/a&gt; which is essentially the same as the Gram-Schmidt orthonomalization.&lt;/p&gt;</description>
    </item>
    <item>
      <title>We can do better than the ALR or Softmax Transform</title>
      <link>http://statsathome.com/2017/08/09/we-can-do-better-than-the-alr-or-softmax-transform/</link>
      <pubDate>Wed, 09 Aug 2017 00:00:00 +0000</pubDate><author>stats.at.home@gmail.com (Justin and Rachel Silverman)</author>
      <guid>http://statsathome.com/2017/08/09/we-can-do-better-than-the-alr-or-softmax-transform/</guid>
      <description>&lt;p&gt;In multiple places in the Compositional Data Analysis literature (for example &lt;a href=&#34;http://dugi-doc.udg.edu/bitstream/handle/10256/297/CoDa-book.pdf?sequence=1&#34;&gt;here&lt;/a&gt; and &lt;a href=&#34;http://www.leg.ufpr.br/lib/exe/fetch.php/pessoais:abtmartins:a_concise_guide_to_compositional_data_analysis.pdf&#34;&gt;here&lt;/a&gt;) people refer to the Additive Log-Ratio transform (ALR) as “not preserving metric concepts”. But what exactly does this mean and how can we visualize this problem?&lt;/p&gt;&#xA;&lt;p&gt;Here I am going to briefly describe how this problem can be seen with the ALR transform and then show how the Isometric Log-Ratio (ILR) transform does not have this problem.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note 1:&lt;/strong&gt; The ALR transform is just a &lt;a href=&#34;https://en.wikipedia.org/wiki/Softmax_function&#34;&gt;softmax transform&lt;/a&gt; that decreases the dimension of the transformed space by 1. The softmax transform has 1 too many dimensions compared to the dimensions of information in the simplex.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
