This function served as a basis for further developed
bayesBisurvreg
, bayessurvreg2
and
bayessurvreg3
functions. However, in contrast to these
functions, bayesHistogram
does not allow for doubly censoring.
Bivariate case:
Let $Y_{i,l},\; i=1,\dots,N,\; l=1,2$ be observations for the $i$th cluster and the first and the second unit (dimension). The bivariate observations $Y_i=(Y_{i,1},\,Y_{i,2})',\;i=1,\dots,N$ are assumed to be i.i.d. with a~bivariate density $g_{y}(y_1,\,y_2)$. This density is expressed as a~mixture of Bayesian G-splines (normal densities with equidistant means and constant variance matrices). We distinguish two, theoretically equivalent, specifications.
[object Object],[object Object] Univariate case:
It is a~direct simplification of the bivariate case.
bayesHistogram(y1, y2,
nsimul = list(niter = 10, nthin = 1, nburn = 0, nwrite = 10),
prior, init = list(iter = 0),
mcmc.par = list(type.update.a = "slice", k.overrelax.a = 1,
k.overrelax.sigma = 1, k.overrelax.scale = 1),
store = list(a = FALSE, y = FALSE, r = FALSE),
dir = getwd())
Surv
.Surv
. If the response
is one-dimensional this item is missing.NULL
such parameters that you want the program should itself sample
for you or parameters that are not needed in your model.
[object Object],[object Object],[object Object],[obayesHistogram
containing an information
concerning the initial values and prior choices.Komárek, A. (2006). Accelerated Failure Time Models for Multivariate Interval-Censored Data with Flexible Distributional Assumptions. PhD. Thesis, Katholieke Universiteit Leuven, Faculteit Wetenschappen.
Komárek, A. and Lesaffre, E. (2008). Bayesian accelerated failure time model with multivariate doubly-interval-censored data and flexible distributional assumptions. Journal of the American Statistical Association, 103, 523--533.
Komárek, A. and Lesaffre, E. (2006b). Bayesian semi-parametric accelerated failurew time model for paired doubly interval-censored data. Statistical Modelling, 6, 3--22. Neal, R. M. (2003). Slice sampling (with Discussion). The Annals of Statistics, 31, 705 - 767.