Skip to content
Prev 138539 / 398506 Next

simulating the anova

On Mar 5, 2008, at 12:03 AM, Will Holcomb wrote:

            
I don't know if you can without writing an explicit model or not, but  
writing the model isn't that hard:

simdata2 <- do.call(data.frame, sim.data)
names(simdata2) <- LETTERS[1:4]
simdata3 <- stack(simdata2)
fit <- lm(values~ind, data=simdata3)
summary(fit)
anova(fit)

Unless I misunderstood what you wanted to do.
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College