residuals: Residuals

Description Usage Arguments Value Author(s) References

View source: R/resid.R

Description

residuals is a function which extracts model residuals from objects returned by modeling functions.

Usage

1
residuals(model,residual = "deviance")

Arguments

model

an object for which the extraction of model residuals is meaningful.

residual

type of residual to be used ("pearson","score", "deviance" or "quantile"). Default is the deviance.

Value

Residuals extracted from the object object.

Author(s)

Manoel Santos-Neto manoel.ferreira@ufcg.edu.br, F.J.A. Cysneiros cysneiros@de.ufpe.br, Victor Leiva victorleivasanchez@gmail.com and Michelli Barros michelli.karinne@gmail.com

References

Leiva, V., Santos-Neto, M., Cysneiros, F.J.A, Barros, M. (2014) Birnbaum-Saunders statistical modelling: a new approach. Statistical Modelling, v. 14, p. 21-48, 2014.

Santos-Neto, M., Cysneiros, F.J.A., Leiva, V., Barros, M. (2016) Reparameterized Birnbaum-Saunders regression models with varying precision. Electronic Journal of Statistics, 10, 2825–2855. doi: 10.1214/16-EJS1187.


santosneto/RBS documentation built on Feb. 5, 2021, 2:12 p.m.