lrt.asreml {asreml} | R Documentation |
Extracts the REML log likelhood and numbers of variance parameters
from a sequence of asreml
objects, and computes a sequence
of pairwise likelihood ratio tests.
## S3 method for class 'asreml' lrt(..., boundary = TRUE)
... |
A sequence of asreml objects assumed nested when arranged in increasing order of number of parameters. |
boundary |
If |
The models are arranged in increasing order of number of variance
parameters and assumed nested in this sequence. If the reduced
model is obtained by setting positively-constrained variance
parameters in the full model to zero, set boundary
to
TRUE
. In this case the probability is computed using a
mixture of chi-square distributions as described in Self and Liang
(1987).
A data frame with a row for each successive pairwise test, and columns for the likelihood ratio statistic, degrees of freedom and number of parameters.
Self SC, Liang KY (1987). “Asymptotic Properties of Maximum Likelihood Estimators and Likelihood Ratio Tests Under Non-standard Conditions.” Journal of the American Statistical Association, 82, 605-610.