It is assumed that only a few factors are important, and that high-order interactions between factors can be neglected.
1. Define the number of experiment factors.
2. Define the fraction power for a fractional factorial design.
3. Call fractfact to create the design matrix X.
4. Define string gen to record the factors and aliasing of the design matrix X.
5. Call fractresol and fractruns to find out the resolution and the number of runs of the design matrix X.
The design matrix X represents an 8-run fractional factorial of resolution III (its main factors are not aliased with one another but they are aliased with second-order interactions).
6. Record the results of the experiment in matrix Y1 with one row per run and one column per replicate.
7. Call the quickscreen function.
8. Call the effectsgraph function and create an effects plot to determine which factors are significant.
Factors B, C and F display large effects.
9. Call fractalias to find out which second order interactions are aliased with B, C and F.
When B and C are significant factors, there is a high probability that the interaction BC is also significant. BC is aliased with F and we do not know if the effect seen for F is caused by F or BC. The same problem occurs for B and F, and for C and F. The main factors and the second order interactions need to be dealiased.
10. Call foldover to fold-over the design matrix X and to break the aliases between main factors and second-order interactions.
The eight rows of matrix X are inverted in the lower half of F. You can choose specific factors to foldover.
11. Record the results of the additional runs of the folded-over design matrix F.
12. Use function stack to stack the original and the additional runs in matrix Y.
13. Call the quickscreen and effectsgraph functions and create an effects plot to determine the factor effects.
Only factors B and F are significant. The previous effect seen for factor C was therefore due to the BF interaction. You can now carry out further experiments to analyze how factor B (the distance between the target and the eye) and factor F (the density) affect the focus time.
Reference
Montgomery, D.C., Design and Analysis of Experiments, 5th ed, John Wiley & Sons, New York, 2001, pp. 341.