The degrees of freedom (DF) are the number of number of variance parameters that
have been estimated, excluding those whose estimates have a code for bound
specified in bound.exclusions. If DF is not NULL, the supplied value
is used. Otherwise DF is determined from the information in asreml.obj.
If ASReml-R version 4 is being used then the codes specified in bound.exclusions are
not restricted to a subset of the default codes, but a warning is issued if a code other
than these is specified.
For ASReml-R version 3, only a subset of the default codes are allowed:
F (Fixed), B (Boundary), C (Constrained) and
S (Singular).
The AIC is calculated as \(- 2 \times log(REML) + 2 \times DF\)
and the BIC as \(- 2 \times log(REML) + DF \times (n - p)\),
where \(n\) is the number of observations and \(r\) is the rank of the fixed effects
design matrix.