deviance.Owl: Model deviance

Description Usage Arguments Value Examples

View source: R/deviance.R

Description

Model deviance

Usage

1
2
## S3 method for class '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

1
2
fit <- owl(heart$x, heart$y, family = "binomial")
deviance(fit)

jolars/prague documentation built on March 4, 2020, 7:13 p.m.