Model deviance

# 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

fit <- SLOPE(abalone$x, abalone$y, family = "poisson")
deviance(fit)
#>  [1] 1037.0277  997.7979  979.7133  971.3346  967.2121  955.4363  949.2969
#>  [8]  946.7080  944.4784  942.5502  941.6779  941.2731  941.1136  941.0527
#> [15]  941.0286  941.0196