Skip to content
Prev 2479 / 7420 Next

Question on using strata in a pRDA

On Tue, 2011-11-08 at 13:19 -0200, Diogo B. Provete wrote:
Why do you wish for the permutation to be stratified by a variable that
you included in the analysis?

Anyway, you are testing the *observed* F against a null distribution of
F under permutation. The null distribution so generated will depend on
the permutation and permutation scheme used. The *observed* F will not
change, just the permutation p-value of this observed F stat.
Remove them first by applying na.omit():

dat2 <- na.omit(dat)
varpart(...., data = dat2)

HTH

G