Runs the Gibbs sampler
gibbs(
U0,
ftgrid,
time,
status,
a_rates,
b_rates,
cohesion,
a_beta,
b_beta,
npost,
nburnin,
nlag
)
vector of change point indicators
vector of indexes of distinct failure times
vector of observed failure times.
vector of failure indicators
shape parameter of the gamma distribution (prior for failure rates).
scale parameter of the gamma distribution (prior for failure rates).
type of prior cohesion (1 to 4).
shape1 parameter of the beta distribution (prior for p - cohesion 4).
shape2 parameter of the beta distribution (prior for p - cohesion 4).
desired posterior sample size
number of iterations to be discarded.
number of jumps to eliminate autocorrelation of the chain.
posterior sample