Dear all, i try to anderstand the AlgDesign package, so i make some tests to find with optFederoy some plan I know. I would like to find back a simple optimal design : 7 factors with 2 attributes each ( the beter plan is 2^(7-4) and needs 8 rows)
library(AlgDesign) levels.design = c(2,2,2,2,2,2,2) f.design <- gen.factorial(levels.design) # i know that optFederov(data=f.design,nTrials=8) # is the better # but optFederov(data=f.design) # 13 rows! optFederov(data=f.design,maxIteration=1000,nRepeats=500) # 13 rows! optFederov(data=f.design,maxIteration=1000,nRepeats=500,criterion="D") optFederov(data=f.design,maxIteration=1000,nRepeats=500,criterion="A") optFederov(data=f.design,maxIteration=1000,nRepeats=500,criterion="I") optFederov always find a 13 rows results.. how can i obtain the 8 row design ( if i dont know that the better is 8) ? Regards, [[alternative HTML version deleted]] ______________________________________________ R-help@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.