rpredEG_v0 | R Documentation |
The Exponential-Gamma Predictive Distribution
rpredEG_v0(S, y, d, dt, gm)
S |
desired random sample size |
y |
list of observed and censored survival times (y1,...,yN), yi ~ exp(theta), theta ~ Gamma(dt, gm) |
d |
< N s.t. (yd+1, ..., yN) are censored |
dt |
Gamma shape parameter for distribution of theta |
gm |
Gamma rate parameter for distribution of theta |
random sample of size S from the Exponential-Gamma predictive probability distribution
1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.