Hi INLA Group,
I was trying to model as follows:
For the i-th replicate and time t, the count y_{i,t} can be modeled as
y_{i,t} ~ Pois ( exp (f(time, rw1) + f(i, iid) + X'{i,s} \beta_{s} ) ), with \beta_{s} has a neighborhood structure generated by inla graph. Here we want to put a besag kernel for smoothing over \beta_{s}.
Generally, for besag we need to construct an ID for the locations s and implement besag. Here important to note that the covariates only depend on spatially, not temporally. The number of covariates is huge, for example, 700.
p.s. if we make id for each location s, and make it a dataframe in long format and try to implement, we say that y_{i,s,t} but actually the count only depends on i and t.
Can we implement such a model?