residuals()
returns the residuals specified in type
from a "chantrics"
object.
# S3 method for chantrics residuals(object, type = c("response", "working", "pearson"), ...)
object | an object of class |
---|---|
type | the type of residuals which should be returned. The alternatives
are: |
... | further arguments passed to or from other methods |
A vector of residuals.
The different types of residuals are as in stats::residuals.glm()
.
A. C. Davison and E. J. Snell, Residuals and diagnostics. In: Statistical Theory and Modelling. In Honour of Sir David Cox, FRS, 1991. Eds. Hinkley, D. V., Reid, N. and Snell, E. J., Chapman & Hall.
M. Döring, Interpreting Generalised Linear Models. In: Data Science Blog, 2018. https://www.datascienceblog.net/post/machine-learning/interpreting_generalized_linear_models/
adj_loglik()
for model fitting, stats::residuals.glm()
, and
stats::residuals()
.