![]() Chapter Contents |
![]() Previous |
![]() Next |
Details of the FACTEX Procedure |
See FACTEX6C in the SAS/QC Sample Library |
You can construct a mixed-level design by collapsing factors, that is, by replacing a factor with n levels by a factor with m levels, where m<n. Orthogonality is retained in the sense that estimates of different effects are uncorrelated, although not all estimates have equal variance; refer to Section 6 of Chakravarti (1956). This method has been used by Addelman (1962) to derive main effects plans for factors with mixed numbers of levels and by Margolin (1967) to construct plans that consider two-factor interactions.
You can use the value specification in the OUTPUT statement as a convenient tool for collapsing factors. For example, the following statements create a 27-run design for two two-level factors (X1 and X2) and two three-level factors (X3 and X4) such that all main effects and two-factor interactions are uncorrelated:
proc factex; factors x1-x4 / nlev = 3; size design=27; model r=4; output out=savmixed x1 nvals=(-1 1 -1) x2 nvals=(-1 1 -1); proc print data=savmixed; run;
The mixed-level design is a three-quarter fraction with resolution 5; refer to Margolin (1967). The design is displayed in Output 15.9.1.
Output 15.9.1: 22×32 Design of Resolution V in 27 Runs
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.