[R] Doubt about nested aov output

Ronaldo Reis-Jr. chrysopa at gmail.com
Tue Aug 30 16:01:32 CEST 2005


Hi,

I have two doubts about the nested aov output.

1) I have this:
> anova.ratos <- aov(Glicogenio~Tratamento+Error(Tratamento/Rato/Figado))
> summary(anova.ratos)

Error: Tratamento
           Df  Sum Sq Mean Sq
Tratamento  2 1557.56  778.78

Error: Tratamento:Rato
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals  3 797.67  265.89               

Error: Tratamento:Rato:Figado
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals 12  594.0    49.5               

Error: Within
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals 18 381.00   21.17               

R dont make the F and P automatically, it is possible?

I Like an output like this:

Error: Tratamento
           Df  Sum Sq Mean Sq F value Pr(>F)
Tratamento  2 1557.56  778.78   2.929 0.197

Error: Tratamento:Rato
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals  3 797.67  265.89   5.372 0.0141      

Error: Tratamento:Rato:Figado
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals 12  594.0    49.5   2.339 0.0503        

Error: Within
          Df Sum Sq Mean Sq F value Pr(>F)
Residuals 18 381.00   21.17         

Why it not make automatic calculations? It is possible?


2) I can say that Error: Tratamento:Rato means an interaction between 
Tratamento and Rato? Normally the : represents an interaction, but in this 
output I think that it dont mean the interaction. 

Any explanation are welcome.

Thanks
Ronaldo
-- 
O casamento é o caminho mais caro para se dormir com uma mulher.
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36570-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list