Function which uses draws from the posterior distribution at each time point to construct a credible interval with set credible level
1 | CredibleInt(PosteriorDraws, CredLevel = 0.95)
|
PosteriorDraws |
Matrix of draws from the posterior distribution of the survival curve. Columns correspond to all draws at fixed time. Rows correspond to single draw of survival curve over all observed time points. |
CredLevel |
The Credible Level of the desired credible interval. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.