Learn R Programming

aod (version 1.3.3)

logLik-methods: Methods for Functions "logLik" in Package "aod"

Description

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

Usage

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

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).

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.

See Also

logLik in package stats.