Model deviance
# S3 method for SLOPE deviance(object, ...)
an object of class 'SLOPE'.
'SLOPE'
ignored
For Gaussian models this is twice the residual sums of squares. For all other models, two times the negative loglikelihood is returned.
SLOPE()
Other SLOPE-methods: coef.SLOPE(), plot.SLOPE(), predict.SLOPE(), print.SLOPE(), score()
coef.SLOPE()
plot.SLOPE()
predict.SLOPE()
print.SLOPE()
score()
# NOT RUN { fit <- SLOPE(abalone$x, abalone$y, family = "poisson") deviance(fit) # }
Run the code above in your browser using DataLab