cox.snell.survregbayes | R Documentation |
This function provides the Cox-Snell diagnostic plot (Zhou and Hanson, 2018) for fitting for Bayesian semiparametric survival models.
cox.snell.survregbayes(x, ncurves = 10, PLOT = TRUE)
x |
an object obtained from the function |
ncurves |
the number of posterior draws. |
PLOT |
a logical value indicating whether the estimated survival curves will be plotted. |
The function returns the plot (if PLOT = TRUE
) and a list with the following components:
resid |
the |
resid* |
the |
St1 |
the |
St2 |
the |
Delta |
The status indicator: 0=right censored, 1=event at time, 2=left censored, 3=interval censored. |
Haiming Zhou and Timothy Hanson
Zhou, H. and Hanson, T. (2018). A unified framework for fitting Bayesian semiparametric models to arbitrarily censored survival data, including spatially-referenced data. Journal of the American Statistical Association, 113(522): 571-581.
survregbayes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.