Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Macros for the Design and Analysis of Experiments

ADXRPRT: Randomize Design and Display a Data Collection Report

%adxrprt(ds, resp, bvar)

where

dsis the name of the data set that contains the design. By default, the name of the last design constructed is used.
respis the name of the response variable to add to the design.
bvaris 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
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.