logLik.mixpoissonreg {mixpoissonreg}R Documentation

logLik Method for mixpoissonreg Objects

Description

Function to compute the log-likelihood at the estimated parameters for mixed Poisson regression models.

Usage

## S3 method for class 'mixpoissonreg'
logLik(object, ...)

Arguments

object

an object of class "mixpoissonreg" containing results from the fitted model.

...

further arguments passed to or from other methods.

Value

Returns an object of class LogLik containing the log-likelihood of the fitted mixpoissonreg object.

See Also

vcov.mixpoissonreg

Examples

daysabs_prog <- mixpoissonreg(daysabs ~ prog, data = Attendance)
logLik(daysabs_prog)


[Package mixpoissonreg version 1.0.0 Index]