cox.snell.beta4reg {betaBayes} | R Documentation |
Cox-Snell Diagnostic Plot
Description
This function provides the Cox-Snell diagnostic plot for fitting for Bayesian beta regression models.
Usage
cox.snell.beta4reg(x, ncurves = 10, CI = 0.95, PLOT = TRUE)
Arguments
x |
an object obtained from the function |
ncurves |
the number of posterior draws. |
CI |
the level of confidence for point-wise credible intervals. |
PLOT |
a logical value indicating whether the Cox-Snell residuals will be plotted. |
Value
The function returns the plot (if PLOT = TRUE
) and a list with the following components:
tgrid |
the x-axis values with length, say |
Hhat |
the |
Hhatlow |
the |
Hhatup |
the |
H |
the |
Author(s)
Haiming Zhou and Xianzheng Huang
See Also
[Package betaBayes version 1.0.1 Index]