pymc-devs / pymc-examples

Examples of PyMC models, including a library of Jupyter notebooks.
https://www.pymc.io/projects/examples/en/latest/
MIT License
280 stars 243 forks source link

Counterfactual generation using pymc do-operator example notebook #569

Open shekharkhandelwal1983 opened 1 year ago

shekharkhandelwal1983 commented 1 year ago

This notebook provides a detailed steps required to generate counterfactuals, and demonstrates the newly introduced do-operator capabilities. And how it can be used to achieve Causality.

Helpful links


:books: Documentation preview :books:: https://pymc-examples--569.org.readthedocs.build/en/569/

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

drbenvincent commented 1 year ago

Might overlap with #554 which I'm working on with @juanitorduz. Not necessarily the end of the world though - there's a clear opportunity for stuff on this topic. Would like to review this - but just became a father (yesterday!) so there might be a minor delay

twiecki commented 1 year ago

What I really like about this NB is how it lays out the new workflow with creating the skeleton model first. Maybe that should be the focus.

twiecki commented 1 year ago

@shekharkhandelwal1983 Can you update the NB to focus on the new workflow? Mainly I think the title needs to be changed and some of the narrative. Also, since pymc 5.8.0 the do and observe functions are now in pymc!