Hello INLA Group,
We considered the model:
\[
y_{nt} \sim\text{Pois}(\lambda_{nt}),\\
\lambda_{nt}= \exp(\beta_{0} + \sum_{i=1}^{13} \sum_{j=1}^{13} \beta_{ij} X_{nij} + \beta_{n}),
\]
where $n=1,\cdots,3939$ and $t=1,\cdots,300$. Here we consider $\beta_{0}$ as fixed effect, $\beta_{n} \sim N(0, \frac{1}{\tau})$ as random effect. We also considered the image location-specific effect as a random effect, which we considered as an SPDE kernel; i.e. (\beta_{ij}) as a vector follows SPDE kernel.
Q1. Is there any inla formulation that can handle SPDE accordingly?
Q2: What if we make the model a little more complicated to be spatio-temporal? Instead of \beta_{ij} we want \beta_{ijt}. Is there any formulation that can work?
Ultimately, the goal is to work as
formula <- y ~ 1 +
f(rep_id, model = "iid") +
f(spatial_field, model = spde)..