search for: taov

Displaying 3 results from an estimated 3 matches for "taov".

Did you mean: tao
2004 Aug 26
1
library(car) Anova() and Error-term in aov()
.... Or am I tackling Type III calculation, in this case with Error(), the wrong way (besides ignoring advice concerning Type I vs III)?? For instance, dat <- rnorm(12) pp <- factor(c(rep(1:3,2), rep(4:6,2))) betw <- gl(2,6) A <- factor(rep(c(rep('a',3),rep('b',3)), 2)) taov <- aov(dat~betw*A+Error(pp/A)) Anova(taov, type="III") # Goes wrong with following error. #Error in Anova(taov, type = "III") : no applicable method for "Anova" Phrased differently, ?Anova says "Calculates type-II or type-III analysis-of-variance tables for m...
2005 Nov 09
0
contrasts
...Df Sum Sq Mean Sq F value Pr(>F) w 1 1.3889 1.3889 1.1364 0.3465 gp:w 1 0.2222 0.2222 0.1818 0.6918 Residuals 4 4.8889 1.2222 ... with contrasts i got the same results using the following code: contr <- matrix(c( 1, 1, 1, 1, 1, 1,-1, -1, -1,-1,-1,-1,), ncol=1) taov <- aov(cbind ( w1x1y, w1x1y2, w1x1y3, w1x2y, w1x2y2, w1x2y3,w2x1y, w2x1y2, w2x1y3, w2x2y, w2x2y2, w2x2y3) %*% contr ~ gp, data = both.mul) summary(taov,intercept=T) now, things get a little more complicated for the three-level factor, 'y.' If my memory serves me correctly, i can ac...
2004 Apr 23
0
Sum Sq of SPSS and R different for repeated measures Anova
...;data.txt') # data set attached as text. avg.cond[1:5,] # pp pictcat cond rt exp #1 1 animal con 517.8125 exp11b #2 2 animal con 425.9375 exp11b #3 3 animal con 379.6563 exp11b #4 4 animal con 410.6563 exp11b #5 5 animal con 420.3125 exp11b Then I do the anova: summary(taov <- aov(rt~exp*pictcat*cond+Error(pp/(pictcat*cond)), data=subset(avg.cond, cond=='con'|cond=='incon'))) # #Error: pp # Df Sum Sq Mean Sq F value Pr(>F) #exp 1 178 178 0.0102 0.9202 #Residuals 39 683329 17521 # #Error: pp:pictcat # Df Sum S...