I will let one of the more bambi-savvy folks answer you actual question. However, I will note that there are several examples of this type of model built in pymc (rather than bambi). This thread, and Alex’s chiming in with a pointer to this notebook, as well as the discussion on this old issue. If you’re looking to get your hands dirty a bit, those may help you get going (and of course you can ask here if they aren’t exactly what you need).
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Question about Hierarchical Dirichlet-Multinomial | 9 | 453 | April 22, 2024 | |
| Help with Hierarchical regression for discrete data | 11 | 786 | August 24, 2022 | |
| Help with model for estimating difference in proportions | 2 | 441 | November 10, 2022 | |
| regression with Dirichlet process mixtures | 0 | 468 | June 14, 2019 | |
| Including predictors in Dirichlet-multinomial models | 1 | 503 | October 21, 2022 |