Antti Härkönen
2023-11
\[ y_i \sim Poisson(\lambda_i) \] \[ \log{\lambda_i} = \beta_0 + \beta_1 x_i + \theta_i + \phi_i \] \[ \beta_0 \sim Normal(\mu=4, \sigma=0.05) \] \[ \beta_1 \sim Normal(\mu=0, \sigma=0.05) \]
\[ \theta_i \sim Normal(\mu=0, \tau=\tau_{independent}) \] \[ \phi | \phi_{j~i} \sim Normal(\mu=\alpha \sum^{n_i}_{j=1} \phi_j, \tau=\tau_{spatial}) \] \[ \tau_{independent} \sim Gamma(\alpha=1, \beta=1) \] \[ \tau_{spatial} \sim Gamma(\alpha=1, \beta=1) \]