ppredEG | R Documentation |
The Exponential-Gamma Predictive Distribution
ppredEG(ypred, y, c, dt, gm)
ypred |
survival time(s) for which predictive density is desired |
y |
ordered list of observed survival times and censored survival times (y1,...,yN), yi ~ exp(theta), theta ~ Gamma(dt, gm) |
c |
censoring indicator (vector of 0s and 1s for censored and fully observed, respectively) |
dt |
Gamma shape parameter for distribution of theta |
gm |
Gamma rate parameter for distribution of theta |
Exponential-Gamma cumulative predictive probability
1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.