Skip to content
Back to formatted view

Raw Message

Message-ID: <5DECD6BD-3C7A-4724-AC2B-5FED699C716B@gmail.com>
Date: 2015-06-24T07:57:27Z
From: Peter Dalgaard
Subject: Repeated Measures ANOVA and the Bonferroni post hoc test different results of significantly
In-Reply-To: <CAJ6JbR8Cjfcp+qncHYkQnQhDEBr+OFRYzBvsy1tv1_H75cDcSw@mail.gmail.com>

> On 24 Jun 2015, at 03:28 , gianni lavaredo <gianni.lavaredo at gmail.com> wrote:
> 
> 
> I am doing an Repeated Measures ANOVA and the Bonferroni post hoc test for
> my data using R project. The ANOVA gives a significantly difference between
> the data but not the  Bonferroni post hoc test.
> 
>> anova(aov2)
>                numDF denDF   F-value p-value
>    (Intercept)     1  1366 110.51125  <.0001
>    time            5  1366   9.84684  <.0001
> 
> while
> 
>> pairwise.t.test(x=table.metric2$value, g=table.metric2$time,
> p.adj="bonf")


And? 

Notice that pairwise.t.test does not take the plot variable into account. It might if you use paired=TRUE, *IF* your data layout allows it (so that when you split the data by times, observations in each subvector are from the same plots in the same order). 

-pd

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com