pymc-devs / pymc-examples

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

Propose making mediation and moderation notebooks more causal #555

Open drbenvincent opened 1 year ago

drbenvincent commented 1 year ago

I propose moving the Bayesian mediation analysis and Bayesian moderation analysis notebooks from the Case Studies section to the Causal Inference section of the docs.

Both notebooks would be heavily edited to incorporate more of a causal flavour. Important changes could include:

This would also help trim down the bloat of the currently rather large size of the Case Studies section.

Definitely open to recommendations or feedback about this idea.

Plans for Moderation notebook updates [update 2024 May 13th]

drbenvincent commented 1 year ago

It will presumably break any external inbound links because of the URL change.

OriolAbril commented 1 year ago

It will presumably break any external inbound links because of the URL change.

It should not be the case. We already have "rediraffe" extension set up, so we should add the "path movement mapping" to https://github.com/pymc-devs/pymc-examples/blob/main/examples/conf.py#L155 for sphinx to set up redirects automatically