- times
Numeric positive vector. Failure times.
- delta
Logical vector. Status indicator. TRUE
(1) indicates
exact lifetime is known, FALSE
(0) indicates that the corresponding
failure time is right censored.
- type.t
Integer. 1=computes uniformly-dense intervals; 2=
partition arbitrarily defined by the user with parameter utao and 3=same length intervals.
- K
Integer. Partition length for the hazard function if
type.t
=1 or type.t
=3.
- utao
vector. Partition specified by the user when type.t = 2. The first value of
the vector has to be 0 and the last one the maximum observed time, either censored or uncensored.
- alpha
Nonnegative entry vector. Small entries are recommended in
order to specify a non-informative prior distribution.
- beta
Nonnegative entry vector. Small entries are recommended in order
to specify a non-informative prior distribution.
- c.r
Nonnegative vector. The higher the entries, the higher the correlation of two consecutive intervals.
- type.c
1=defines c.r
as a zero-entry vector; 2=lets the user
define c.r
freely; 3=assigns c.r
by computing an exponential
prior distribution with mean epsilon; 4=assigns c.r
by computing an exponential hierarchical
distribution with mean epsilon
which in turn has a Ga(a.eps, b.eps)
distribution.
- epsilon
Double. Mean of the exponential distribution assigned to
c.r
when type.c = 3
. When type.c = 4
, epsilon
is
assigned a Ga(a.eps,b.eps) distribution.
- c.nu
Tuning parameter for the proposal distribution for c.
- a.eps
Numeric. Shape parameter for the prior gamma distribution of
epsilon when type.c = 4
.
- b.eps
Numeric. Scale parameter for the prior gamma distribution of
epsilon when type.c = 4
.
- a.mu
Numeric. Shape parameter for the prior gamma distribution of
mu
- b.mu
Numeric. Scale parameter for the prior gamma distribution of
mu
- iterations
Integer. Number of iterations including the burn.in
to be computed for the Markov Chain.
- burn.in
Integer. Length of the burn-in period for the Markov chain.
- thinning
Integer. Factor by which the chain will be thinned. Thinning
the Markov chain is to reduces autocorrelation.
- printtime
Logical. If TRUE
, prints out the execution time.