[R] 2^k designs "anova"

From: Kenneth Roy Cabrera Torres <krcabrer_at_une.net.co>
Date: Tue, 11 Nov 2008 21:57:16 -0500


Hi R users:

How can I obtain the same "anova" table for the effects for a 2^k experiment design that MINITAB shows (and authors recommends Box, Hunter, & Hunter).

http://www.stat.psu.edu/online/development/stat503/06_2k/04_2k_unreplicate.html

Here is the code that I use for this case:

D<-C<-B<-A<-c("-","+")
design<-expand.grid(A=A,B=B,C=C,D=D)
design$yield<-c(45,71,48,65,68,60,80,65,43,100,45,104,75,86,70,96) model1<-aov(yield~A+C+D+A:C+A:D,data=design) summary(model1)
model.tables(model1,se=T)

Thank you for your help.

Kenneth



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 12 Nov 2008 - 02:59:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 03:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive