Chapter Contents |
Previous |
Next |
Details of 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 q, you can construct the design using pseudo-factors, where the levels of k q-level pseudo-factors are associated with the levels of a single derived factor with q^{k} levels. Refer to Section 5 of Chakravarti (1956) and see "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 levels of 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 15.8.1.
Output 15.8.1: 4×2^{3} Design of Resolution IV in 16 Runs
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.