Given a model object from asreml
and a range of estimates of the
parameter, the function will supply the likelihood ratio test statistic for
the comparison of the full model to one where the parameter of interest is
constrained.
constrainFun(parameter.val, full, fm2, comp, G, mit = 600)
a value for which the log-Likelihood of a model is to be calculated
the full model asreml
object
starting values for the full model
which variance component to constrain
logical, indicating if the component is part of the G structure
numeric, indicating maximum number of iterations for the constrained asreml model
Used internally in the proLik
function
See also proLik