Learn R Programming

lame (version 1.3.4)

logLik.ame_als: Log-likelihood is not defined for a fast AME fit

Description

The fast estimator minimises a (working-response) least-squares objective, not a family likelihood, so it has no log-likelihood and AIC / BIC are undefined. Calling logLik() raises an informative error rather than returning a misleading number.

Usage

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

Value

Never returns; raises an error.

Arguments

object

an ame_als object.

...

ignored.