Hi All,
I'd appreciate help with troubleshooting fitting a competing risks model. I've attached the data, where readmission1 = event for readmission, death2 = event for death, and readdeath_time = time to event and sexo is a covariate.
Here is my model specification:
compreaddeathmod<-joint(formSurv=list(inla.surv(time=readdeath_time,event=readmission1)~sexo,inla.surv(time=readdeath_time,event=death2)~sexo),basRisk=rep("weibullsurv",2),dataSurv=dat,control=list(priorFixed=list(mean=0,prec=(1/((log(5)/1.96)^2)))))
summary(compreaddeathmod)
The error I receive is:
*** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1
Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, :
The inla program call crashed.
The inla program failed and the maximum number of tries has been reached.
Thank you in advance!
Best,
Drew