Skip to content

R-sig-ecology Digest, Vol 39, Issue 16

3 messages · Kari Lintulaakso, Kay Cichini

#
Hi Kay,

I also get significant values (both from adonis and anova) when
running your code. I'm currently running my own adonis analysis which
most have significant results (this has been worrying me for some
time).
I do recall some R discussion about general R setting/value which
might set all the values analysed to be logarithmic. If there is this
kind of setting, does anyone know what it is and how to set it off?
I'm using Revolution R Enterprise 4.3.0 (14.4.2011) Academic version,
R version 2.12.2 (2011-02-25)
-Kari

My results:
for (i in 1:4) {print(summary(aov(spdf[, i] ~ treat * imp)))}
            Df  Sum Sq Mean Sq   F value Pr(>F)
treat        2 166.017  83.008 1316.5029 <2e-16 ***
imp          1  15.978  15.978  253.4022 <2e-16 ***
treat:imp    2   0.021   0.011    0.1666  0.847
Residuals   54   3.405   0.063
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
            Df  Sum Sq Mean Sq   F value Pr(>F)
treat        2 155.836  77.918 1323.0303 <2e-16 ***
imp          1  13.185  13.185  223.8864 <2e-16 ***
treat:imp    2   0.237   0.119    2.0159 0.1431
Residuals   54   3.180   0.059
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
            Df  Sum Sq Mean Sq   F value  Pr(>F)
treat        2 158.672  79.336 1091.8367 < 2e-16 ***
imp          1  16.069  16.069  221.1473 < 2e-16 ***
treat:imp    2   0.363   0.182    2.4987 0.09165 .
Residuals   54   3.924   0.073
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
            Df  Sum Sq Mean Sq F value Pr(>F)
treat        2 159.194  79.597 943.528 <2e-16 ***
imp          1  14.289  14.289 169.383 <2e-16 ***
treat:imp    2   0.093   0.047   0.554 0.5779
Residuals   54   4.555   0.084
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Call:
adonis(formula = spdf ~ treat * imp, dist = "euclidean")

          Df SumsOfSqs MeanSqs F.Model      R2 Pr(>F)
treat      2    3.4133 1.70666  640.19 0.80850  0.001 ***
imp        1    0.3150 0.31504  118.18 0.07462  0.001 ***
treat:imp  2    0.3495 0.17473   65.54 0.08278  0.001 ***
Residuals 54    0.1440 0.00267         0.03410
Total     59    4.2218                 1.00000
On Sun, Jun 26, 2011 at 8:00 PM, <r-sig-ecology-request at r-project.org> wrote:

  
    
#
hi,

sorry - i'm afraid this was only due to a trivial syntax error:  
"...,dist = "euclidean",..." should say "...,method = "euclidean",..."  
with the wrong argument adonis defaults to "bray" - and with  
bray-curtis dissim. the difference between 1 and 2 is really not the  
same as the one between 2 and 3 or 4 and 5, isn't it?

so the message to you, regarding your suspicious p-values, might be to  
check for the dissimilarity-index you use, what its characteristics  
are and if it's appropriate for the questions you ask..

yours,
kay

following up my example:

# distance matrix with bray-curtis dissimilarity:
# dissimilarities *are the same*

dm <- as.matrix(vegdist(spdf, method = "bray"))

# assign names
dimnames(dm) <- list(paste(treat, imp), paste(treat, imp))

# see average off-diagonal dissimilarities (within treatments, between  
impact levels)
mean(dm[11:20,1:10])
mean(dm[31:40,21:30])
mean(dm[51:60,41:50])

# distance matrix with euclidean dissimilarity:
dm <- as.matrix(vegdist(spdf, method = "euclidean"))

# assign names
dimnames(dm) <- list(paste(treat, imp), paste(treat, imp))

# see average off-diagonal dissimilarities (within treatments, between  
impact levels)
# dissimilarities *are not the same*
mean(dm[11:20,1:10])
mean(dm[31:40,21:30])
mean(dm[51:60,41:50])




Zitat von Kari Lintulaakso <kari.lintulaakso at gmail.com>:
#
sorry for double posting: in my first mail i forgot to change the subject
which wrongly said "Re: [R-sig-eco] R-sig-ecology Digest, Vol 39, Issue 16"
----------------------------------------------

hi,

sorry - i'm afraid this was only due to a trivial syntax error:  
"...,dist = "euclidean",..." should say "...,method = "euclidean",..." 
with the wrong argument adonis defaults to "bray" - and with  
bray-curtis dissim. the difference between 1 and 2 is really not the  
same as the one between 2 and 3 or 4 and 5, isn't it?

so the message to you, regarding your suspicious p-values, might be to  
check for the dissimilarity-index you use, what its characteristics  
are and if it's appropriate for the questions you ask..

yours,
kay

following up my example:

# distance matrix with bray-curtis dissimilarity:
# dissimilarities *are the same*

dm <- as.matrix(vegdist(spdf, method = "bray"))

# assign names
dimnames(dm) <- list(paste(treat, imp), paste(treat, imp))

# see average off-diagonal dissimilarities (within treatments, between  
impact levels)
mean(dm[11:20,1:10])
mean(dm[31:40,21:30])
mean(dm[51:60,41:50])

# distance matrix with euclidean dissimilarity:
dm <- as.matrix(vegdist(spdf, method = "euclidean"))

# assign names
dimnames(dm) <- list(paste(treat, imp), paste(treat, imp))

# see average off-diagonal dissimilarities (within treatments, between  
impact levels)
# dissimilarities *are not the same*
mean(dm[11:20,1:10])
mean(dm[31:40,21:30])
mean(dm[51:60,41:50])




Zitat von Kari Lintulaakso <kari.lintulaakso at gmail.com>:
_______________________________________________
R-sig-ecology mailing list
R-sig-ecology at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology