Displaying 5 results from an estimated 5 matches for "mcfromnz".
2012 Oct 07
1
Why do I get different results for type III anova using the drop1 or Anova command?
...d new R prompt, ran parts 0 and 2 ->got result 2, ran part 1
following part 2, got result 2a
Why are the results different when they are run seperately and why do
the commands produce the same results when running one after the other?
Which results can I rely on? I based my script on:
http://mcfromnz.wordpress.com/2011/03/0 ... explained/
<http://mcfromnz.wordpress.com/2011/03/02/anova-type-iiiiii-ss-explained/>
but I surely made mistakes.
Thanks for help.
Kind regards,
Christiane
#0
library(car)
P<-read.table("rhoPgegenrhoAgewichtet-mit Befruchtungssystem0912.txt",
se...
2024 Aug 07
1
Manually calculating values from aov() result
...there are several ways to calculate the
SS for C. What you have calculated looks like the "Type I SS" in SAS
notation, if I remember correctly, assuming that C enters the model
before B. That's not what R uses; I think it is Type II SS.
For some details about this, see
https://mcfromnz.wordpress.com/2011/03/02/anova-type-iiiiii-ss-explained/
2024 Aug 07
3
Manually calculating values from aov() result
...o calculate the
> SS for C. What you have calculated looks like the "Type I SS" in SAS
> notation, if I remember correctly, assuming that C enters the model
> before B. That's not what R uses; I think it is Type II SS.
>
> For some details about this, see
> https://mcfromnz.wordpress.com/2011/03/02/anova-type-iiiiii-ss-explained/
>
2024 Aug 07
1
Manually calculating values from aov() result
Hi,
I have performed ANOVA as below
dat = data.frame(
'A' = c(-0.3960025, -0.3492880, -1.5893792, -1.4579074, -4.9214873,
-0.8575018, -2.5551363, -0.9366557, -1.4307489, -0.3943704),
'B' = c(2,1,2,2,1,2,2,2,2,2),
'C' = c(0,1,1,1,1,1,1,0,1,1))
summary(aov(A ~ B * C, dat))
However now I also tried to calculate SSE for factor C
Mean = sapply(split(dat, dat$C), function(x)
2024 Aug 07
1
Manually calculating values from aov() result
...SS for C. What you have calculated looks like the "Type I SS" in SAS
>> notation, if I remember correctly, assuming that C enters the model
>> before B. That's not what R uses; I think it is Type II SS.
>>
>> For some details about this, see
>> https://mcfromnz.wordpress.com/2011/03/02/anova-type-iiiiii-ss-explained/
>>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-...