AMERGE procedure

Merges extra units into an experimental design (R.W. Payne).


Option

SORT = string
Whether to sort the factors afterwards (no, yes); default no


Parameters

FACTOR = factors
Factors to which the new units are to be added

NEWUNITS = factors, variates or scalars
Extra units to be added to each factor


Description

AMERGE provides a convenient way of adding extra units into an experimental design. In the simplest case, this can be used to add control treatments to an already generated factorial design. More complicated uses may join together two completely different designs, for example a randomized block design to a balanced incomplete block design. These are both illustrated in the example.

   The factors of the design which is to be augmented are specified using the FACTOR parameter, and the units that are to be added to each one are specified by the NEWUNITS parameter. The same number of units must be added to every FACTOR, and their levels (and labels) will be extended, if necessary, according to those defined on the units that are added. New units of a factor that are to receive different levels should be specified in a factor or a variate. Alternatively, if every new unit is to receive the same level of the FACTOR, NEWUNIT can be set to a scalar.

   The SORT option can be set to yes to request that the FACTOR values are sorted after the new units have been added. Otherwise, they are simply placed at the end of the existing values.


Option: SORT. Parameters: FACTOR, NEWUNITS.


Method

AMERGE uses the standard GenStat manipulation facilities.


Action with RESTRICT

Any restrictions on the vectors are ignored.