pymc-devs / pymc-devs/pymc-examples
Interventions versus counterfactuals
@drbenvincent is already working on this.
Since Sep 1, 2023.
- Dominant language
- Python
- Stars
- 398
- Forks
- 325
- Avg merge
- 9d 15m
- Merged PRs (30d)
- 1
Description
Notebook proposal
Title: Interventions versus counterfactuals
Why should this notebook be added to pymc-examples?
There is a lot of excitement about causal inference at the moment. Interventions and Counterfactuals map on to Pearl's Rung 2 and Rung 3 of the causal ladder. So having a notebook that succinctly explains the concepts and how to implement these in PyMC would be valuable.
I'd aim to introduce the concepts, then illustrate with a practical example. This could perhaps be time-series based in order to emphasise the retrospective vs prospective aspects of intervention and counterfactuals.
Suggested categories:
- Level: Intermediate
- Diataxis type: Explanation or How-To
Related notebooks
This notebook would compliment the range of other causal focussed notebooks that I've put together:
It could be a good sequel to the Interventional distributions and graph mutation with the do-operator example, but it wouldn't really overlap with it.
References
- Pearl
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.