How to: counterfactual inference in PyMC

Hi all.
I’ve just put up a new pymc-example here Counterfactual inference: calculating excess deaths due to COVID-19 — PyMC example gallery which demonstrates how to do counterfactual inference in PyMC. There’s a full worked example of calculating excess deaths since the onset of COVID-19.

13 Likes