Skip to content

Type II and III sum of squares (R and SPSS)

2 messages · Marco Tommasi, Peter Dalgaard

#
On Mar 21, 2012, at 11:27 , Marco Tommasi wrote:

            
Well, it would primarily concern the maintainer of the "car" package, which is the one containing the (capital-A) Anova() function. The type III SS don't look right to me either. With aov() we get
Error: factor(id)
          Df Sum Sq Mean Sq F value  Pr(>F)   
fattA      1 26.042  26.042    16.3 0.00682 **
Residuals  6  9.583   1.597                   
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 

Error: Within
                   Df Sum Sq Mean Sq F value   Pr(>F)    
factor(time)        2  42.33  21.167   23.81 6.65e-05 ***
fattA:factor(time)  2  20.33  10.167   11.44  0.00166 ** 
Residuals          12  10.67   0.889                     
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1