[R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Marius 't Hart
Hi all, I'm doing a 3-way ANOVA like this: summary(aov(formula('FP ~ (lum * obj * man)^3 - Error(vp/(lum * obj * man)^3)'),data=dataf)) But in the output I only get 1- and 2-way effects, like this one: Error: vp:obj:man Df Sum Sq Mean Sq F value Pr(F) obj:man 1 1.5291e-34 1.5291e-34 5.7011

Re: [R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Joel
Marius think you wanted to do a new post and not reply to mine :P -- View this message in context: http://r.789695.n4.nabble.com/the-first-from-SAS-in-R-tp3055417p3055459.html Sent from the R help mailing list archive at Nabble.com. __

[R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Marius 't Hart
Hi all, I'm doing a 3-way ANOVA like this: summary(aov(formula('FP ~ (lum * obj * man)3 - Error(vp/(lum * obj * man)3)'),data=dataf)) But in the output I only get 1- and 2-way effects, like this one: Error: vp:obj:man Df Sum Sq Mean Sq F value Pr(F) obj:man 1 1.5291e-34 1.5291e-34 5.7011

Re: [R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Tal Galili
It seems your model defines more parameters then your data permits (e.g: singular). What you can do is try something like this: summary(aov(formula('FP ~ (lum + obj + man)^2 - Error(vp/(lum + obj + man)^2)),data=dataf)) (notice the use of + and ^) This is something your data might permit

Re: [R] Three-way ANOVA shows me two-way results

2010-11-23 Thread Mike Marchywka
From: tal.gal...@gmail.com Date: Tue, 23 Nov 2010 18:14:39 +0200 To: m.t.h...@ai.rug.nl CC: r-help@r-project.org Subject: Re: [R] Three-way ANOVA shows me two-way results It seems your model defines more parameters then your data permits (e.g: singular). if you do google search