This is another block entry. The block begins with a line containing the code MODEL (can be abbreviated to MOD), and finishes with a line beginning with END. The block then should contain one line for each effect to be fitted and one line for each trait in the analysis.
Each of the ‘effect’ lines comprises the following
(a) a three-letter code for the type of effect,
(b) the effect name, where the effect name is a combination of the variable
name for a column in the data file and, if appropriate, some additional
information.
No abbreviations for variable names are permitted, i.e. there must be an
exact match with the names specified in the DATA block.
(c) If the effect is to be fitted for a subset of traits only, the running numbers
of these traits must be given (space separated).
Fixed effects can be cross-classified or nested fixed effects or covariables. The
following codes are recognised :
FIX This specifies a fixed effect in the model of analysis.
NB The name for a fixed effect should not contain a “(“, otherwise it is assumed
that this effect is a covariable.
A simple, one-way interaction of two variables can be specified as vn1*vn2,
with vn1 and vn2 valid variables names. [Not yet implemented !]
HINT: ‘Not implemented’ here means merely that WOMBAT will not code the interaction for you – you can, of course, still fit a model with an interaction effect, but you a) have to insert an additional column in the data file with the code for the appropriate subclass, b) fit this as if it were a crossclassified fixed effect, and c) specify any additional dependencies arising explicitly (using ZEROUT, see below).
,BAF)”, where vn is a variable name,
gives the degree of fit and
BAF stands for a three-letter code describing the basis functions to be used in
the regression.
)” is equivalent to
“vn(
,POL)”.
The INTEGER variable
gives the number of regression coefficients fitted.
For instance, for polynomials
denotes a quadratic regression. By
default, for ordinary polynomials, POL, intercepts for covariables are not fitted.
The reason for this is that WOMBAT deviates both records and covariables
from their respective means prior to analysis.
N.B.: This yields a regression equation of the form

rather than an equation of form

This should be born in mind when interpreting any
solutions for regression coefficients for POL covariables
from WOMBAT - while there is a straightforward
relationship between coefficients
and
, they are not
interchangeable.
Fitting of an intercept (in addition to deviation from means) can be enforced
by preceding
with a minus sign, but is not recommended unless there are no
other fixed effects in the model.
For analyses fitting spline functions, the degree of the spline is selected by
specifying “L”, “Q” or “C” for linear, quadratic and cubic, respectively,
immediately (no space) after the code BSP.
A covariable to be fitted as nested within a fixed effect is specified as
“vn1*vn2(
,BAF)”, with vn1 the name of the fixed effect. If vn1 is not
fitted as a fixed effect, it must be specified an an ‘extra’ effect (see
below).
WOMBAT is fussy when it encounters a covariable which has a value of zero:
Covariables which can take such value are only permitted if a SPECIAL option
is given which confirms that these are valid codes and not ‘missing’ values; see
4.8.5.
Random effects include the ‘control variables’, i.e. random covariables for random
regression analyses. The following codes are recognised :
RAN This code specifies a random effect. It should be followed (space separated) by
the name of the random effect. After the name, a three-letter code describing
the covariance structure of the effect can be given.
Valid codes for covariance structures are :
NRM which denotes that the random effect is distributed proportionally
to the numerator relationship matrix.
If this code is given, a pedigree file must be supplied.
IDE which denotes that different levels of the random effect are
uncorrelated. This is the default and can be omitted.
GIN which denotes that the random effect is distributed proportionally
to an arbitrary covariance matrix.
The user must supply the inverse of this matrix in the form outlined
in 6.
PEQ which denotes a permanent environmental effect of the animal
for data involving ‘repeated’ records, which is not to be fitted
explicitly. Instead, an equivalent model is used, which accounts for the
respective covariances as part of the residual covariance matrix. This is
useful for the joint analysis of traits with single and repeated
records.
N.B.: Do not use this option for other effects - WOMBAT has no mechanism for checking that this option is appropriate.
For ’standard’ uni- and multivariate analyses, the random effect name is simply
the variable name as given for data file.
For random regression analyses, the variable name is augmented by information
about the number of random regression coefficients for this effect and
the basis functions used. It becomes “vn(
,BAF)”, analogous to the
specification for covariables above. As above,
specifies the number of
regression coefficients to be fitted. In contrast to fixed covariables,
however, an intercept is always fitted. This implies that
gives the
order, not the degree of fit. For instance,
in conjunction with a
polynomial basis function specifies a quadratic polynomial with the 3
coefficients corresponding to the intercept, a linear and a quadratic
term.
RRC This codes specifies a ‘control variable’ in a random regression analysis.
For some models, coding is required for effects which are not explicitly fitted in the
model of analysis, for instance, when fitting nested effects. These need to be specified
as ‘extra’ effects.
EXT This code, followed by the respective variable name, denotes an effect which
is not fitted in the model but which is required to define other effects.
One line should be given for each trait. It should contain the following information
:
(a) The code TRAIT (can be abbreviated to TR).
(b) The name of the trait, as specified in the DATA block.
(c) The running number of the trait.
, where
is the
total number of traits in a multivariate analysis.