envelope.beta {betareg} | R Documentation |
Two plots are provided together with an envelope: A Half-Normal plot of standardized residuals and a Half-Normal plot of deviance residuals.
envelope.beta(model=fit.model,sim=100,conf=.90, pch="+",font.main=1, cex.main=1.5, type = c("standardized","deviance"))
model |
Fitted model using betareg |
sim |
The number of simulations used to produce the confidence bounds |
conf |
The confidence level |
pch |
Determines if the points are presented as "+" or "-" |
font.main |
Determines the type of the font in the main title |
cex.main |
The size of the font in the main title |
type |
Determines if the type of the residual is "standardized" or "deviance" |
Alexandre de Bustamante Simas, Instituto de Matemática Pura e Aplicada (alesimas@impa.br).
This function was made by Elias Krainski.
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
, summary.betareg
, predict.betareg
, residuals.betareg
data(pratergrouped) fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped) envelope.beta(fit)