bambinos / bambi

BAyesian Model-Building Interface (Bambi) in Python.
https://bambinos.github.io/bambi/
MIT License
1.08k stars 124 forks source link

Adding Mister P Docs #715

Closed NathanielF closed 1 year ago

NathanielF commented 1 year ago

I have an open ticket on the pymc examples page to demonstrate the technique of Multilevel Regression and post stratification, but while working on this I found that it's much simpler and probably recommended to implement in Bambi.

I can add an example documented here if you think that would fit?

zwelitunyiswa commented 1 year ago

@NathanielF this might be a good guide - https://marginaleffects.com/articles/mrp.html and would you to showcase the new predictions function

NathanielF commented 1 year ago

Added a draft PR here: https://github.com/bambinos/bambi/pull/716

I tried using those new functions but they broke for me with my Mr P model. Aside from that i think i have everything in there i wanted to say, but would appreciate any feedback you might have.

GStechschulte commented 1 year ago

Added a draft PR here: #716

I tried using those new functions but they broke for me with my Mr P model. Aside from that i think i have everything in there i wanted to say, but would appreciate any feedback you might have.

These issues are being resolved in PR #721

tomicapretto commented 1 year ago

Closed since #716