The PLAN Procedure

PROC PLAN Statement

PROC PLAN <options> ;

The PROC PLAN statement invokes the PLAN procedure. Optionally, you can also specify a random number seed or a default method for selecting levels of factors. By default, the procedure uses a random number seed generated from reading the time of day from the computer’s clock and randomly selects levels of factors. These defaults can be modified with the SEED= and ORDERED options, respectively. Unlike many SAS/STAT procedures, the PLAN procedure does not have a DATA= option in the PROC PLAN statement; in this procedure, both the input and output data sets are specified in the OUTPUT statement.

Table 68.1 summarizes the options available in the PROC PLAN statement.

Table 68.1: PROC PLAN Statement Options

Option

Description

ORDERED

Selects the levels of the factor as the integers $1,2,\ldots , m,$ in order

SEED=

Specifies an integer used to start the pseudo-random number generator


You can specify the following options in the PROC PLAN statement:

ORDERED

selects the levels of the factor as the integers $1,2,\ldots , m,$ in order. For more detail, see Selection-Types and Specifying Factor Structures.

SEED=number

specifies an integer used to start the pseudo-random number generator for selecting factor levels randomly. If you do not specify a seed, or if you specify a value less than or equal to zero, the seed is by default generated from reading the time of day from the computer’s clock.