AFUNITS procedure
Forms a factor to index the units of the final stratum of a design (R.W. Payne & W. van den Berg).
Option
Parameter
Description
When analysing experimental data in GenStat, it is usually unnecessary to specify the final stratum of the design. For example ANOVA, as explained in the Guide to GenStat, Part 2, Section 4.2.1, will set up an internal factor called *Units* to define (along with the other block factors) the final stratum. However, it is then impossible, for example, to put the residuals into a table classified by the block factors, or to tabulate the treatment levels according to the block structure. Thus AFUNITS takes a set of block factors (specified in either a pointer or a model formula by the BLOCKSTRUCTURE option) and sets up the necessary extra factor, which is then returned by the UNITS parameter.
Option: BLOCKSTRUCTURE. Parameter: UNITS.
Method
The FCLASSIFICATION and FORMULA directives are used, if necessary, to form a list of factors from the block formulae and then the factor values are set up using the standard GenStat facilities for calculations and manipulation.
Action with
RESTRICT
None of the block factors must be restricted.