[R] Nested Designs
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Nov 8 18:43:46 CET 1999
"Alan T. Arnholt" <arnholt at math.appstate.edu> writes:
> > Hmm. You're not giving us any data to try it on, but I think I'd have
> >
> > aov(Strain~Machine + Error(Machine:Head))
> Here is the data I am using:
>
> > strain
> Strain Head Machine
> 1 6 A A
....
> 80 0 D E
>
> Your suggestion gives
> > summary(aov(Strain~Machine + Head%in%Machine + Error(Machine:Head)))
>
> Error: Machine:Head
> Df Sum Sq Mean Sq
> Machine 4 45.075 11.269
> Machine:Head 15 282.875 18.858
>
> Error: Within
> Df Sum Sq Mean Sq F value Pr(>F)
> Residuals 60 642.0 10.7
>
> Unfortunately no F-values.....
But that's not what I said:
> summary(aov(Strain~Machine + Error(Machine:Head)))
Error: Machine:Head
Df Sum Sq Mean Sq F value Pr(>F)
Machine 4 45.075 11.269 0.5975 0.67
Residuals 15 282.875 18.858
Error: Within
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 60 642.0 10.7
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list