Returns the Log-likelihood for a fitted object of class serp
.
# 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
Examples
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog",
data = wine)
logLik(m)
#> [1] -87.71786