Learn R Programming

CLME (version 2.0-12)

logLik.clme: Log-likelihood

Description

Computes the log-likelihood of the fitted model for objects of class clme.

Usage

# S3 method for clme
logLik(object, ...)

# S3 method for summary.clme logLik(object, ...)

Arguments

object

object of class clme.

...

space for additional arguments

Value

Numeric.

Details

The log-likelihood is computed using the Normal distribution. The model uses residual bootstrap methodology, and Normality is neither required nor assumed. Therefore the log-likelihood may not be a useful measure in the context of CLME.

See Also

CLME-package clme

logLik.clme

Examples

Run this code
# NOT RUN {
data( rat.blood )
cons <- list(order = "simple", decreasing = FALSE, node = 1 )
clme.out <- clme(mcv ~ time + temp + sex + (1|id), data = rat.blood , 
                 constraints = cons, seed = 42, nsim = 0)

logLik( clme.out )

# }

Run the code above in your browser using DataLab