Normal Probability Plots of Residuals with Simulated Envelope for robustbetareg Objects
Normal Probability Plots of Residuals with Simulated Envelope for robustbetareg Objects
plotenvelope is used to display normal probability plots of residuals with simulated envelope for the robust beta regression. Currently, eight types of residuals are supported: sweighted2, pearson, weighted, sweighted, sweighted.gamma, sweighted2.gamma, combined, and combined.projection residuals.
plotenvelope( object, type = c("sweighted2","pearson","weighted","sweighted","sweighted.gamma","sweighted2.gamma","combined","combined.projection"), conf =0.95, n.sim =100, PrgBar =TRUE, control = robustbetareg.control(...),...)
Arguments
object: fitted model object of class robustbetareg.
type: character indicating the type of residuals to be used, see residuals.robustbetareg. Default is type = "sweighted2".
conf: numeric specifying the confidence level of the simulated envelopes. Default is conf = 0.95.
n.sim: a positive integer representing the number of iterations to generate the simulated envelopes. Default is n.sim = 100.
PrgBar: logical. If PrgBar = TRUE the progress bar will be shown in the console. Default is PrgBar = TRUE.
control: a list of control arguments specified via robustbetareg.control.
...: arguments passed to plot.
Returns
plotenvelope returns normal probability plot of residuals with simulated envelope.
Details
The plotenvelope creates normal probability plots with simulated envelope (see Atkinson (1985) for details). Under the correct model, approximately 100*conf of the residuals are expected to be inside the envelope.
Maluf, Y.S., Ferrari, S.L.P., and Queiroz, F.F. (2022). Robust beta regression through the logit transformation. arXiv:2209.11315.
Atkinson, A.C. (1985) Plots, transformations and regression: an introduction to graphical methods of diagnostic regression analysis. Oxford Science Publications, Oxford.