Skip to content
Prev 76747 / 398502 Next

Doubt about nested aov output

Hi Spencer,

Em Dom 04 Set 2005 20:31, Spencer Graves escreveu:
I'm using the R version 2.1.1 on Linux Debian
Version 2.1.1  (2005-06-20), ISBN 3-900051-07-0
Yes, this is my preference too, but I need aov for classes.
I send the complete example. This is a example from the Crwaley's book 
(Statistical Computing: An introdution to data analysis using S-Plus.

This is a classical experiment to show pseudoreplication, from Sokal and Rohlf 
(1995).

In this experiments, It have 3 treatmens applied to 6 rats, for each rat it  
make 3 liver preparation and for each liver it make 2 readings of glycogen. 
This generated 6 pseudoreplication per rat. I'm interested on the effect os 
treatment on the glycogen readings.

Look the R analyses:

--------------------
c(131,130,131,125,136,142,150,148,140,143,160,150,157,145,154,142,147,153,151,155,147,147,162,152,134,125,138,138,135,136,138,140,139,138,134,127)
[1] 131 130 131 125 136 142 150 148 140 143 160 150 157 145 154 142 147 153 
151
[20] 155 147 147 162 152 134 125 138 138 135 136 138 140 139 138 134 127
[1] 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3
Levels: 1 2 3
[1] 1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 1 1 1 2 2 2 2 2 2
Levels: 1 2
[1] 1 1 2 2 3 3 1 1 2 2 3 3 1 1 2 2 3 3 1 1 2 2 3 3 1 1 2 2 3 3 1 1 2 2 3 3
Levels: 1 2 3
Error: Treatment
          Df  Sum Sq Mean Sq
Treatment  2 1557.56  778.78

Error: Treatment:Rat
              Df Sum Sq Mean Sq
Treatment:Rat  3 797.67  265.89

Error: Treatment:Rat:Liver
                    Df Sum Sq Mean Sq
Treatment:Rat:Liver 12  594.0    49.5

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

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

Error: Treatment:Rat:Liver
          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               
--------------------

What it dont calculate the F and P for treatment?

Thanks
Ronaldo