envelope.beta {betareg}R Documentation

Half-Normal Plot of Standardized and Deviance Residuals

Description

Two plots are provided together with an envelope: A Half-Normal plot of standardized residuals and a Half-Normal plot of deviance residuals.

Usage

envelope.beta(model=fit.model,sim=100,conf=.90, pch="+",font.main=1, 
cex.main=1.5, type = c("standardized","deviance"))

Arguments

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"

Author(s)

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

This function was made by Elias Krainski.

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, summary.betareg, predict.betareg, residuals.betareg

Examples

data(pratergrouped)
fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + 
batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped)
envelope.beta(fit)

[Package betareg version 1.2 Index]