residuals.betareg {betareg}R Documentation

Residuals function for beta regression models.

Description

This function returns the standardized residuals from beta regression models, deviance residuals or the raw residuals.

Usage

residuals.betareg(object, type=c("standardized", "raw", "deviance"),...)

Arguments

object Fitted model using betareg.
type The desired type of residuals. This function returns by default the standardized residuals, also returns the deviance residuals and may return the raw residuals (which is the value minus estimated mean).
... Optional arguments

Author(s)

Alexandre de Bustamante Simas, Instituto de Matemática Pura e Aplicada (alesimas@impa.br).

References

FERRARI, S.L.P., CRIBARI-NETO, F. (2004). Beta regression for modeling rates and proportions. Journal of Applied Statistics, v. 31, n. 7, p. 799-815.

See Also

betareg, br.fit, summary.betareg, predict.betareg

Examples

data(pratergrouped)
fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + 
batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped)
residuals(fit)
residuals(fit,type="dev")
  

[Package betareg version 1.2 Index]