Chapter Contents |
Previous |
Next |
Macros for the Design and Analysis of Experiments |
where
ds | is the name of the data set that contains the design. By default, the name of the last design constructed is used. |
resp | is the name of the response variable to add to the design. |
bvar | is the name of the block factor for the design. Omit bvar if your design does not have a block factor. |
The ADXRPRT macro randomizes the design and displays a data collection form, taking the block structure into account if bvar is specified. This form is listed in the output window and contains the randomized design with the addition of a column of blanks for entering the response variable. The form contains a column for entering response values. To obtain this column, the macro adds a numeric variable to the design (with the name you specify) with missing values formatted as underscores.
Suppose you want a data collection form for a design stored in the data set DESIGN. The block factor is named DAY, and you want to add a column for the response variable YIELD. Use the following call:
%adxgen %adxrprt(design,yield,day)
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.