logLik.serp: Log-likelihood for a fitted serp object

View source: R/serp.method.R

logLik.serpR Documentation

Log-likelihood for a fitted serp object

Description

Returns the Log-likelihood for a fitted object of class serp.

Usage

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

Arguments

object

An object of class serp.

...

additional arguments.

Value

A single numeric value of model log-likelihood

See Also

serp, AIC.serp, BIC.serp, coef.serp

Examples

library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog",
          data = wine)
logLik(m)

serp documentation built on March 18, 2022, 6:33 p.m.