Generates designs to estimate main effects of two-level factors (R.W. Payne).
|Controls printed output (
||Controls whether or not to analyse the design, and produce a skeleton analysis-of-variance table using
||Whether to include an extra “folded” replicate with the levels of each factor interchanged (
||Seed to be used to randomize each design; a negative value implies no randomization|
||Saves a command to recreate the design (useful if the design information has been specified in response to questions from
AGMAINEFFECT generates designs for estimating main effects of factors with two levels, using a minimum number of experimental units; see Plackett & Burman (1946). The numbers of treatment factors for which designs are available can be printed by setting option
PRINT=catalogue. They are, however, all expressible as 4n-1 for some integer n. The treatment factors are listed using the
TREATMENTFACTOR parameter. If this is omitted in an interactive run, you will be asked how many factors you want and their names.
The basic design allows the main effects to be estimated, but has no residual degrees of freedom. This is fine if you merely want to screen the main effects to identify the largest. Otherwise you can generate a design for more factors than are needed, and then use the degrees of freedom of the unnecessary factors to provide the residual. Alternatively, if you set option
AGMAINEFFECT will include a “folded” replicate of the design: this is identical to the initial replicate except that the levels of the factors are swapped (level one instead of level two and vice versa). This particular arrangement has the advantage that no main effect is aliased with any first-order interaction.
SEED parameter allows you to specify a seed to be used to randomize the design. In batch the default seed is -1, to suppress randomization. If you do not set
SEED when running interactively
AGMAINEFFECT will ask for a seed, and again a negative value suppresses any randomization. The
design to print the plan of the design. By default, if you are running Genstat in batch, the plan is not printed. If you do not set
AGMAINEFFECT will ask whether or not you wish to print the design. Similarly the
ANALYSE option governs whether or not
AGMAINEFFECT produces a skeleton analysis-of-variance table (containing just source of variation, degrees of freedom and efficiency factors). Again
AGMAINEFFECT assumes that this is not required if
ANALYSE is unset in a batch run, and asks whether it is required if
ANALYSE is unset in an interactive run. The
ORTHOGONAL is set to
yes for the analysis. (If this is not done, the larger designs can take a very long time to analyse.)
STATEMENT option allows you to save a Genstat text structure containing a command to recreate the design. This is particularly useful if
AGMAINEFFECT is being used interactively, and the information to define the design has been provided in response to questions from the procedure.
The designs are based on Hadamard matrices, which can be generated by procedure
QUESTION procedure is used to obtain the necessary details of the design and this is then generated by the standard Genstat manipulation directives.
Plackett, R.L. & Burman, J.P. (1946). The design of optimum factorial experiments. Biometrika, 33, 305-325 & 328-332.
Commands for: Design of experiments.
CAPTION 'AGMAINEFFECT example'; STYLE=meta AGMAINEFFECT [PRINT=design; ANALYSE=yes] A,B,C,D,E,F,G