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 | |
---|---|---|---|---|
Can't fit binomial hierarchical model on proportion data | 3 | 365 | April 11, 2023 | |
Struggling with Beta mixture models | 3 | 1746 | February 2, 2019 | |
Fitting a Beta Regression | 3 | 1734 | September 19, 2018 | |
Bambi Beta Regression Inference | 5 | 1395 | September 6, 2022 | |
Mixture of Beta Binomials | 2 | 754 | February 3, 2023 |