Skip to contents

Returns the log-likelihood at convergence as a logLik object, with attributes for degrees of freedom and number of observations. This allows AIC() and BIC() to work directly on the result.

Usage

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

Arguments

object

A fitted sir object from sir.

...

Additional arguments (unused).

Value

A logLik object with attributes df (number of estimated parameters) and nobs (number of observations).