[R] error terms in mixed ANOVA's

About this list Date view Thread view Subject view Author view Attachment view

From: John Christie (jc@or.psychology.dal.ca)
Date: Sat 28 Jun 2003 - 07:26:15 EST


Message-id: <FBC32165-A8E5-11D7-94E8-000A9566473A@or.psychology.dal.ca>

Hi,
        Newbie here, just joined the list.
        I discovered something interesting when performing a mixed between and
within (repeated measure) ANOVA in R. The error terms (SS actually I
guess) are inflated by the number of factors of the within measure.
This just seems wrong. I think I'm doing it right

e. g.

subj grp test x
1 1 1 ...
1 1 1
1 1 2
1 1 2
2 2 1
2 2 1
2 2 2
2 2 2

So, the anova is done with

aov (x~ grp*test + Error(subj/test))

        Is there something I am doing wrong here? On a related note can I
properly analyze a subset of between measures by adding something to my
aov command instead of aggregating the data?

thanks
John

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST