I have a few Design of Experiment type questions about the AlgDesign package in R that I can't find answered online:
Will using the
center=TRUE
option in the gen.factorial function always provide one run with the base level (of -1's) across all factors? For example,fractional3
does not have a run with the base level across all whilefractional4
does:all_possible3 <- gen.factorial(levels=2,nVars=4,varNames=c("A","B","C","D")) fractional3 <- optFederov(~.,all_possible3,nTrials=8) all_possible4 <- gen.factorial(levels=2,nVars=4,center=TRUE,varNames=c("A","B","C","D")) fractional4 <- optFederov(~.,all_possible4,nTrials=8,nRepeats=50)
What do the coefficients in the confounding matrix represent? I would love a brief interpretation for what the confounding matrix in
eval2
would represent and how such results would impact estimating the parameters, standard errors and significance usingglm()
:all_possible2 <- gen.factorial(levels=3,nVars=3,center=TRUE,varNames=c("A","B","C")) fractional2 <- optFederov(~.,all_possible2,nTrials=9,nRepeats=50) eval2 <- eval.design(~.^2,fractional2$design,confounding=TRUE)
Why can't a confounding matrix be calculated for
eval4
in the following code? It throws an error message about a singular design. Is there another way to understand confounding or aliasing?all_possible4 <- gen.factorial(levels=2,nVars=4,center=TRUE,varNames=c("A","B","C","D")) fractional4 <- optFederov(~.,all_possible4,nTrials=8,nRepeats=50) eval4 <- eval.design(~.^2, fractional4$design,confounding=TRUE)