Learn R Programming

Bayesianbetareg (version 1.2)

plotresiduals: Plot the residuals of the bayesian beta regression

Description

Plot the residuals (pearson standarized and deviance), the Cooks distance and the leverage against the predicted values for the Bayesian Beta Regression

Usage

plotresiduals(X, Y, betaresiduals, type)

Arguments

X
object of class matrix, with the independent variable for the mean
Y
object of class matrix, with the dependen variables
betaresiduals
object of class bayesbetareg, with the residuals of the Bayesianbetareg
type
type of residuals: 1. Deviance, 2.Pearson, 3.Standarized Pearson 4. Commun

Value

Plot the residuals of the bayesian beta regression