[R] Between-group variance from ANOVA
mark_difford at yahoo.co.uk
Mon Aug 24 20:54:50 CEST 2009
R gives you the tools to work this out.
TDat <- data.frame(response = c(rnorm(100, 5, 2), rnorm(100, 20, 2)))
TDat$group <- gl(2, 100, labels=c("A","B"))
with(TDat, boxplot(split(response, group)))
summary(aov(response ~ group, data=TDat))
> can anyone advise me please?
> emj83 wrote:
>> I have done some ANOVA tables for some data that I have, from this I can
>> read the within-group variance. can anyone tell me how i may find out the
>> between-group variance?
>> Thanks Emma
View this message in context: http://www.nabble.com/Between-group-variance-from-ANOVA-tp24954045p25121532.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help