maybe use BRMS? cf Spatial simultaneous autoregressive (SAR) structures in multilevel models
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| BYM model : translating from WinBUGS to STAN | 3 | 1525 | October 30, 2017 | |
| Spatial error model with Stan and comparison with maximum likelihood estimation | 17 | 1862 | December 15, 2017 | |
| BYM2 with unstructured country random effect | 39 | 3173 | February 11, 2022 | |
| Very slow brm multilevel mixed model with spatial auto-correlation in R | 3 | 1444 | July 7, 2020 | |
| Case study on spatial models for areal data - Poisson CAR/IAR | 116 | 12493 | July 12, 2018 |