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

Description Usage Arguments Value See Also Examples

View source: R/serp.method.R

Description

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

Usage

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

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

serp documentation built on Nov. 8, 2021, 1:08 a.m.