logLik.reStruct | R Documentation |
Calculates the log-likelihood, or restricted log-likelihood, of the
Gaussian linear mixed-effects model represented by object
and
conLin
(assuming spherical within-group covariance structure),
evaluated at coef(object)
. The settings
attribute of
object
determines whether the log-likelihood, or the restricted
log-likelihood, is to be calculated. The computational methods are
described in Bates and Pinheiro (1998).
## S3 method for class 'reStruct'
logLik(object, conLin, ...)
object |
an object inheriting from class |
conLin |
a condensed linear model object, consisting of a list
with components |
... |
some methods for this generic require additional arguments. None are used in this method. |
the log-likelihood, or restricted log-likelihood, of linear
mixed-effects model represented by object
and conLin
,
evaluated at coef{object}
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
reStruct
,
pdMat
,
logLik.lme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.