SLOPE (version 0.3.2)

deviance.SLOPE: Model deviance

Description

Model deviance

Usage

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

Arguments

object

an object of class 'SLOPE'.

...

ignored

Value

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

See Also

SLOPE()

Other SLOPE-methods: coef.SLOPE(), plot.SLOPE(), predict.SLOPE(), print.SLOPE(), score()

Examples

Run this code
# NOT RUN {
fit <- SLOPE(abalone$x, abalone$y, family = "poisson")
deviance(fit)
# }

Run the code above in your browser using DataCamp Workspace