cox.snell.beta4reg: Cox-Snell Diagnostic Plot

Description Usage Arguments Value Author(s) See Also

Description

This function provides the Cox-Snell diagnostic plot for fitting for Bayesian beta regression models.

Usage

1
cox.snell.beta4reg(x, ncurves = 10, CI = 0.95, PLOT = TRUE)

Arguments

x

an object obtained from the function beta4reg.

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 ngrid

Hhat

the ngrid by 1 averaged cumulative hazard values across the nsave posterior samples

Hhatlow

the ngrid by 1 lower bound cumulative hazard values

Hhatup

the ngrid by 1 upper bound cumulative hazard values

H

the ngrid by nsave cumulative hazard values

Author(s)

Haiming Zhou <zhouh@niu.edu> and Xianzheng Huang <huang@stat.sc.edu>

See Also

beta4reg


betaBayes documentation built on June 8, 2021, 9:07 a.m.