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

Calling the Macros

There are 19 macros, as shown in Figure E.1. The macros are organized into four files according to their function. To use the macros, you need to define them in each SAS session. Since these macro files are included in the AUTOCALL library you can include a file simply by typing the filename preceded by the % symbol, as shown below.

You only need to include a file once for each SAS session. You must include ADXGEN first since it contains general macros that may be called by macros contained in the other three files. In addition, once you have included ADXGEN, you must call the ADXINIT macro whenever you start a new design.

For example, if you want to work with the macros found in the ADXFF file, you must first submit:

   %adxgen           Define general macros
   %adxff            Define macros for fractional factorial designs
   %adxinit          Initialize for a new design

The rest of this chapter consists of four major sections, corresponding to the four files that contain macros. The ADXGEN file is covered first, since it must be included before the other files.

macro1a.gif (7635 bytes)

Figure E.1: Structure of Files for the Macro Collection

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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