# Standard deviation in alpha rarefaction plots

**URL:** <https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713>\
**Category:** User Support\
**Tags:** alpha-rarefaction\
**Created:** [May 10, 2019, 2:51pm UTC](https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713 "2019-05-10T14:51:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marctormo](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marctormo/32/4367_2.png) [@marctormo](https://forum.qiime2.org/u/marctormo)\
**Post date:** [May 10, 2019, 2:51pm UTC](https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713/1 "2019-05-10T14:51:51Z")

</div>

Hi there,

I have data from several individual samples that group into 3 groups. When I see the alpha rarefaction plot with all the samples, I get:

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/5/52e80529d684b7c51415ceb0495dafe4e76a95ca.png)

And if I see them grouped:

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/0/09f48adbab4738c12fb4bea9b362121b65da00e4.png)

The question I have is why I'm not seeing greater standard deviations in the grouped plot. Maybe it's a silly question, but I expect greater SD comparing with the other plot.

Many thanks,  
Marc

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [May 13, 2019, 6:23pm UTC](https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713/2 "2019-05-13T18:23:50Z")

</div>

Hey @marctormo!

> [@marctormo](#):
>
> Maybe it’s a silly question,

I think this is an _awesome_ question! It stumped @ebolyen and I for a few minutes...

First thing, I just want to point out, those box plots _are not_ standard deviation --- they are 7-number summaries of value distributions (see the "Help" box above the legend for more details).

So, the metrics are computed at each rarefaction depth a number of times (default 10) --- the boxplots are representative of the selected diversity metric for that group, and show the _spread of diversity values_ at that given rarefaction depth, for those trials. This is why you aren't see thing spread that you anticipated, because the spread is of the 10 rarefaction trials, not of the individual samples. Does that make sense?

---

<div class="post-metadata">

**Author:** ![marctormo](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marctormo/32/4367_2.png) [@marctormo](https://forum.qiime2.org/u/marctormo)\
**Post date:** [May 14, 2019, 2:45pm UTC](https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713/3 "2019-05-14T14:45:55Z")

</div>

Thank you very much!  
Now it's clear for me.

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [June 14, 2019, 8:45pm UTC](https://forum.qiime2.org/t/standard-deviation-in-alpha-rarefaction-plots/9713/4 "2019-06-14T20:45:56Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
