Brms approach to Stan models for nested versus non-nested multi-level models?

(1 | A/B) translates to (1 | A) + (1 | A:B) where A:B simply means creating a new grouping factor with the levels of A and B pasted together. This is explained a little bit longer in https://journal.r-project.org/archive/2018/RJ-2018-017/index.html

1 Like