logLik.lmList

0th

Percentile

Log-Likelihood of an lmList Object

If pool=FALSE, the (restricted) log-likelihoods of the lm components of object are summed together. Else, the (restricted) log-likelihood of the lm fit with different coefficients for each level of the grouping factor associated with the partitioning of the object components is obtained.

Keywords
models
Usage
## S3 method for class 'lmList':
logLik(object, REML, pool, \dots)
Value

either the sum of the (restricted) log-likelihoods of each lm component in object, or the (restricted) log-likelihood for the lm fit with separate coefficients for each component of object.

See Also

lmList, logLik.lme,

Aliases
Examples
fm1 <- lmList(distance ~ age | Subject, Orthodont)
logLik(fm1)   # returns NA when it should not
Documentation reproduced from package nlme, version 3.1-86, License: GPL (>=2)

Community examples

Looks like there are no examples yet.