residuals.chantrics: Residuals of chantrics model fits

Description Usage Arguments Details Value References See Also

View source: R/adj_loglik_methods.R

Description

residuals() returns the residuals specified in type from a "chantrics" object.

Usage

1
2
## S3 method for class 'chantrics'
residuals(object, type = c("response", "working", "pearson"), ...)

Arguments

object

an object of class "chantrics", returned by adj_loglik().

type

the type of residuals which should be returned. The alternatives are: "response" (default), "working", and "pearson" (for glm fits).

...

further arguments passed to or from other methods

Details

The different types of residuals are as in stats::residuals.glm().

Value

A vector of residuals.

References

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/

See Also

adj_loglik() for model fitting, stats::residuals.glm(), and stats::residuals().


chantrics documentation built on Sept. 29, 2021, 9:08 a.m.