owl (version 0.1.1)

deviance.Owl: Model deviance

Description

Model deviance

Usage

# S3 method for Owl
deviance(object, ...)

Arguments

object

an object of class 'Owl'.

...

ignored

Value

For Gaussian models this is twice the residual sums of squares. For all other models, two times the negative loglikelihood is returned.

Examples

# NOT RUN {
fit <- owl(heart$x, heart$y, family = "binomial")
deviance(fit)
# }