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 usual residuals.

Usage

residuals.betareg(object, type=c("standardized", "usual", "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 usual residuals (which is the value minus estimated mean).
... Optional arguments

Author(s)

Alexandre de Bustamante Simas, Department of Statistics, Federal University of Pernambuco (alexandre@cox.de.ufpe.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)
attach(pratergrouped)
y <- V11/100
X <- cbind(V1,V2,V3,V4,V5,V6,V7,V8,V9,V10)
fit <- betareg(y ~ X)
residuals(fit)
residuals(fit,type="dev")
  

[Package betareg version 1.1 Index]