Estimate Survival Quantiles and associated confidence bounds using BART, KM, and Weibull Regression.
1 2 | QuantAll(PosteriorDraws, Times, Event, Predictors = 1, Quantiles,
ConfLevel)
|
PosteriorDraws |
Draws from the posterior distribution of the survival function |
Times |
Observed time to events or right-censoring |
Event |
Vector of event status: 1 = Observed, 0 = Censored |
Predictors |
Desired model predictors |
Quantiles |
Quantiles to be estimated |
ConfLevel |
Desired confidence level to construct confidence intervals |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.