The FACTEX Procedure |
[See FACTEX6A in the SAS/QC Sample Library]If the numbers of levels for the factors of the mixed-level design are all powers of the same prime power , you can construct the design by using pseudo-factors, where the levels of -level pseudo-factors are associated with the levels of a single derived factor with levels. Refer to Section 5 of Chakravarti (1956) and see the section Types of Factors for details.
For example, the following statements create a design for one four-level factor (A) and three two-level factors (B, C, and D) in 16 runs (a half replicate):
proc factex; factors A1 A2 B C D; model estimate =(B C D A1|A2 ) nonnegligible=(B|C|D@2 A1|A2|B A1|A2|C A1|A2|D); size design=16; output out=DesignA [A1 A2]=A cvals = ('A' 'B' 'C' 'D'); proc print; var A B C D; run;
The levels of two two-level pseudo-factors (A1 and A2) are used to represent the four levelsof A. Hence the three degrees of freedom associated with A will be given by the main effects of A1 and A2 and their interaction A1*A2, and you can thus refer to (A1|A2) as the main effect of A.
The MODEL statement specifies that the main effects of all factors are to be estimable, and that all of the two-factor interactions between B, C, and D, as well as the interactions between each of these and (A1|A2), are to be nonnegligible. As a result, the mixed-level design has resolution 4. The design is saved in the data set DesignA, combining the levels of the two pseudo-factors, A1 and A2, to obtain the levels of the four-level factor A. The data set DesignA is listed in Output 7.8.1.
Copyright © SAS Institute, Inc. All Rights Reserved.