Description Usage Arguments Value
Runs the Gibbs sampler
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
U0 |
vector of change point indicators |
ftgrid |
vector of indexes of distinct failure times |
time |
vector of observed failure times. |
status |
vector of failure indicators |
a_rates |
shape parameter of the gamma distribution (prior for failure rates). |
b_rates |
scale parameter of the gamma distribution (prior for failure rates). |
cohesion |
type of prior cohesion (1 to 4). |
a_beta |
shape1 parameter of the beta distribution (prior for p - cohesion 4). |
b_beta |
shape2 parameter of the beta distribution (prior for p - cohesion 4). |
npost |
desired posterior sample size |
nburnin |
number of iterations to be discarded. |
nlag |
number of jumps to eliminate autocorrelation of the chain. |
posterior sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.