Prints data forms for an experimental design (R.W. Payne).
Options
BLOCKSTRUCTURE = formula |
Defines the block factors to be used to label the units of the design; default takes those specified in an earlier BLOCKSTRUCTURE directive |
---|---|
TREATMENTSTRUCTURE = formula |
Defines the treatment factors to be used, if any, to label the forms |
NLINES = scalar |
Number of lines to be allowed for each measurement; default 1 |
Parameters
LABEL = texts |
Labels for the measurements to be recorded on the forms |
---|---|
FIELDWIDTH = scalar |
Fieldwidth to be allowed for each label |
Description
AFORMS
prints data forms which can be used to record data from an experimental design. Several measurements can be recorded, in separate columns across the page, and space is provided for a row of values for each unit of the design. The block factors to label the units can be supplied by setting the BLOCKSTRUCTURE
option to the block formula of the design. If this is not set AFORMS
will use the formula, if any, defined previously by the BLOCKSTRUCTURE
directive.
The units can also be labelled with the treatments that have been used in the design, by setting the TREATMENTSTRUCTURE
option to the appropriate treatment formula. However, to guard against bias, experimenters will often prefer not to know which treatments were applied to each unit when recording the results, so if this is omitted no treatment information is included.
The LABEL
parameter supplies the column label to identify each column of measurements, and the FIELDWIDTH
parameter can specify the width of the column. By default, a single line is provided for row of measurements but this can be increased using the NLINES
option.
Options: BLOCKSTRUCTURE
, TREATMENTSTRUCTURE
, NLINES
.
Parameters: LABEL
, FIELDWIDTH
.
Method
AFORMS
uses the standard Genstat directives for printing and manipulation.
ction with RESTRICT
AFORMS
needs to use RESTRICT
in order to organise the labelling of the forms, and so any existing restrictions will be cancelled.
See also
Procedure: ADSPREADSHEET
.
Commands for: Design of experiments.
Example
CAPTION 'AFORMS example',!t('Split plot design, see the',\ 'Guide to Genstat, Part 2, Section 4.2.1.'); STYLE=meta,plain FACTOR [NVALUES=72; LEVELS=6] Block & [LEVELS=3] Wplot & [LEVELS=4] Subplot GENERATE Block,Wplot,Subplot FACTOR [LABELS=!T('0 cwt','0.2 cwt','0.4 cwt','0.6 cwt')] Nitrogen & [LABELS=!T(Victory,'Golden rain',Marvellous)] Variety READ [SERIAL=yes] Nitrogen,Variety 4 3 2 1 1 2 4 3 1 2 3 4 3 1 2 4 4 1 2 3 2 1 3 4 2 3 4 1 4 2 3 1 1 4 2 3 3 4 1 2 1 3 4 2 2 3 4 1 4 1 3 2 3 4 1 2 3 4 2 1 3 1 4 2 4 3 1 2 1 2 3 4 : 3 3 3 3 1 1 1 1 2 2 2 2 3 3 3 3 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 1 1 1 1 3 3 3 3 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 1 3 3 3 3 1 1 1 1 2 2 2 2 3 3 3 3 : AFORMS [BLOCKS=Block/Wplot/Subplot; TREATMENTS=Variety*Nitrogen] \ 'yield','1000 grain weight','% mildew'