residuals.betareg {betareg} | R Documentation |
This function returns the standardized residuals from beta regression models, deviance residuals or the raw residuals.
residuals.betareg(object, type=c("standardized", "raw", "deviance"),...)
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 |
Alexandre de Bustamante Simas, Instituto de Matemática Pura e Aplicada (alesimas@impa.br).
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.
betareg
, br.fit
, summary.betareg
, predict.betareg
data(pratergrouped) fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped) residuals(fit) residuals(fit,type="dev")