CredibleInt: Construct Credible Interval for survival curve

Description Usage Arguments

Description

Function which uses draws from the posterior distribution at each time point to construct a credible interval with set credible level

Usage

1
CredibleInt(PosteriorDraws, CredLevel = 0.95)

Arguments

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.


nillen0/SurvBART documentation built on June 3, 2019, 6:58 p.m.