Last chance! 50% off unlimited learning
Sale ends in
sigb
. Additional residual error can be specified through sige
.
objfnD_BD(des, ntmt, blksz, sigb, sige, means, probs)
findOptimalBlockDesign
, and as such shares the arguments of updateDesign_BD
. It can, however, be used on its own. The probs
argument is not used in this function, but is in updateDesign_BD
.findOptimalBlockDesign
, updateDesign_BD
# Finding the D-optimality objective value for the design ((1,1,2,2),(1,1,2,3),(1,2,2,3))
# where there are three treatments in three blocks of size four when the treatment means
# are 1, 2, and 4, the between block standard deviation is 0.2 (sigb=0.2) and there is
# no overdispersion (sige=0)
objfnD_BD(c(1,1,2,2,1,1,2,3,1,2,2,3), ntmt=3, blksz=4, sigb=0.2, sige=0, means=c(1,2,4))
Run the code above in your browser using DataLab