Skip to content

Mantel() with strata

2 messages · SILVIA CALVO ARANDA, Gavin Simpson

8 days later
#
On Thu, 2013-05-16 at 08:39 +0000, SILVIA CALVO ARANDA wrote:
`strata` controls the way the permutation test is performed. It is
essentially a block term whereby permutations are derived by random
permutation of samples *within* each block (i.e. samples are *not*
shuffled between blocks). This preserves the clustering of the data
whilst perturbing the exact link between the geographic and
compositional distances. `strata` is therefore usually a factor
variable.

This isn't really a random effect; where one probably wouldn't use a
variable with only three levels as a random effect there is no reason
not to use it for `strata` in the permutation test if the null
distribution you are testing needs to retain the archipelago-based
clustering of samples.

HTH

G