On Tue, 2023-11-07 at 02:17 -0800, Dominique Soudant wrote:
> Dear Håvard,
>
> Thank you for all your help and support. It seems that I have managed
> to integrate a censoring process into a first-order dynamic linear
> time series model (TSDLM), perhaps in a quick and dirty way (cf.
> included script with one model with censoring process and another one
> without). In fact, I have a few requests, questions and thoughts: :
> * I need to fully understand what is done in this handling of
> censored data, equations and references : do you have any suggestions
> on this particular subject ? I already read the inla.doc().
this follows from std survial analysis on how cencoring is done. Like if
the observation is right censored, then the likelihood is 1-F(time),
where 'time' is the cencoring timd and F() is the CDF
> * the estimation of the model integrating the censoring process give
> this message :
> *** max_correction = 25.01 >= 25.00, so 'vb.correction' is
> aborted
> *** Please (re-)consider your model, priors, confounding,
> etc.
> *** You can change the emergency value (current
> value=25.00) by
> *** 'control.inla=list(control.vb=list(emergency=...))'
> I may change the ermergency value, but actually I' don't understand
> why I obtain this message, what does it meant, and what are the
> different corrective options and their meaning ;
This is a warning produced by the variational correction for the mean,
and that correction is to high to be meaningful hence the correction is
skipped. this usually happens when the model is not well identified or
weakly identified, and you are simply asking to much from the data. fix:
simplify or strengthen priors.
> * running the script several times, I noticed that the second model
> (i.e. without the censoring process) does not always give the same
> result, including one where the mean level goes through all the
> observations ; this multiplication of results is very disturbing and I
> do not understant it ;
maybe you can add an offset such that the mean value is about 0, which
will help. I guess the initial value for the intercept can be off and
then this can go wrong (as also the variance is estimated)...
> * I found the lognormal.surv family, I wonder if I'll need any more
> family : today I'm using log, logit and square root transformation,
> but I think the data used with the last two transformations are
> actually not censored;
that sounds easier to me...