Re: [R] aov problem

From: Christophe Pallier <christophe_at_pallier.org>
Date: Tue, 15 May 2007 15:28:32 +0200

You probably have an unbalanced design (different number of cases in the different conditions defined by the crossing "fact1*fact2"). One possiblity is to use the 'car' package and Anova to get "type III" sums of squares. This is equivalent to pretending that there is no "unbalance".

Christophe Pallier

On 5/15/07, Anders Malmendal <anders_at_chem.au.dk> wrote:
>
> I am using R to make two-way ANOVA on a number of variables using
>
> g <- aov(var ~ fact1*fact2)
>
> where var is a matrix containing the variables.
> However the outcome seem to be dependent on the order of fact1 and fact2
> (i.e. fact2*fact1) gives a slightly (factor of 1.5) different result.
> Any ideas why this is?
>
> Thanks for any help
> Anders
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Christophe Pallier (http://www.pallier.org)

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 May 2007 - 13:41:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 May 2007 - 14:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.