Skip to content
Prev 3003 / 7420 Next

Testing difference between diversity indices with vegan::oecosimu

On Thu, 2012-04-26 at 09:17 +0200, Kay Cichini wrote:
So you have two numbers? Diversity in Comm1 computed by summing total
number of unique species in Comm1 and the same but for Comm2. Hmm....

How about a null model that presupposes that Comm1 and Comm2 have the
same diversity? Under that model can we reallocate the original samples
(before you collapsed down to the two communities) to one or other of
the communities, collapse to the community level, then compute the
difference in diversity in permuted Comm1 and Comm2. Repeat a lot of
times and look to see if the observed difference is extreme relative to
the Null distribution?

Would that make sense? If so you could cook that up with functions in
vegan or the permute package.

If you have the original counts, are they done to counts of species and
you are just extracting diversity indices from that or do you only have
the diversity indices?

If the former then the multivariate dispersion of the species counts in
samples for Comm1 and Comm2 will be equivalent if they are similarly
diverse. I.e. they should have the same spread/variance. That can be
tested using the work of Marti Anderson (her PERMDISP program) which is
available as function betadisper() in vegan (though the method is biased
with unbalanced sample designs - thanks to some excellent detective work
that has just been brought to our attention - so do check out the
R-forge version for changes to betadisper(). I'm not sure if the work
has been done to add a correction in R-Forge or just in Jars' Github
repo?).

Alternatively, and perhaps more powerfully, see David Warton's mvabund
package which has more formal glm-based tests of the distance-based
methods Marti developed in NPMANOVA and PERMDISP.

G