Learn R Programming

Bayesiangammareg (version 0.1.0)

gammaresiduals: Residuals of the Gamma Regression

Description

This function calculates the Gamma regression residuals

Usage

gammaresiduals(Y, X, model)

Arguments

Y

object of class matrix, with the dependent variable.

X

object of class matrix, with the independent variable.

model

object of class Bayesiangammareg.

Value

rabs

Pearson absolute residuals

rp

Pearson residuals

rd

deviance residuals

rast

Asteric residuals

References

1. Cepeda-Cuervo E. (2001) Modelagem da variabilidade em modelos lineares generalizados. Ph.D. tesis. Instituto de Matematicas. Universidade Federal do Rio do Janeiro. 2. Cepeda-Cuervo E. and Gamerman D. (2005). Bayesian Methodology for modeling parameters in the two-parameter exponential family. Estadistica 57, 93 105. 3. Cepeda Cuervo E., Corrales, M., Cifuentes, M. V., and Zarate, H. (2016). On Gamma Regression Residuals.