Hello,
I am trying to build a cox PH model that considers 3 aspects:
- Time dependent covariates
- Spatial random effects for the geostatical data
- Temporal effect
I have some time to event, across an area of interest (spatial) and the measures are taken every year in the same location (temporal)
Does it make sense for the function inla.surv() if I include two Flailrty terms, one for space and one for time. something like:
inla.surv(time, event) ~ L + # time dependent covariate
f(spatial.field, model=spde)+ # spatial random effect
f(year, model = "ar1") # temporal correlation
Thank you for your help, any other comments will be helpful.
:)