plot.betareg {betareg} | R Documentation |
This function returns four plots: a plot of residuals against fitted values, a plot of standardized residuals against fitted values, a generalized leverage plot against fitted values and a plot of Cook's distances versus row labels.
plot.betareg(x, which = 1:4, caption = c("Deviance residuals vs indices of obs.", "Standardized residuals vs indices of obs.", "Generalized leverage vs. Predicted values", "Cook's distance plot"), panel = points, sub.caption = deparse(x$call), main = "", ask = prod(par("mfcol")) < length(which) && dev.interactive(), ..., id.n = 3, labels.id = names(residuals(x)), cex.id = 0.75)
x |
Fitted model by betareg. |
which |
If a subset of the plots is required, specify a subset of the numbers '1:4'. |
caption |
Captions to appear above the plots. |
panel |
Panel function. A useful alternative to 'points' is 'panel.smooth'. |
sub.caption |
common title-above figures if there are multiple; used as 'sub' (s.'title') otherwise. |
main |
title to each plot-in addition to the above 'caption'. |
ask |
logical; if `TRUE', the user is asked before each plot, see `par(ask=.)'. |
... |
optional arguments. |
id.n |
number of points to be labelled in each plot, starting with the most extreme. |
labels.id |
vector of labels, from which the labels for extreme points will be chosen. 'NULL' uses observation numbers. |
cex.id |
magnification of point labels. |
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
, predict.betareg
, residuals.betareg
data(pratergrouped) fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped) plot(fit)