Extracts the maximized log-likelihood from fitted models of formal class “glimML”.

# S4 method for class 'glimML'
logLik(object, ...)

Arguments

object

A fitted model of formal class “glimML” (functions betabin or negbin).

...

Other arguments passed to methods.

Methods

ANY

Generic function: see logLik.

glimML

Extract the maximized log-likelihood from models of formal class “glimML”, fitted by functions betabin and negbin.

Value

A numeric scalar with 2 attributes: “df” (number of parameters in the model) and “nobs” (number of observations = degrees of freedom of the residuals + number of parameters in the model).

See also

logLik in package stats.