logLik.mixpoissonreg: logLik Method for 'mixpoissonreg' Objects

Description Usage Arguments Value See Also Examples

View source: R/2_diagnostic_functions.R

Description

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

Usage

1
2
## 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

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

mixpoissonreg documentation built on March 11, 2021, 1:07 a.m.