epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

Scenario comparison for deterministic models #225

Closed pratikunterwegs closed 2 months ago

pratikunterwegs commented 2 months ago

This PR is WIP #221 and adds basic intervention scenario comparison functionality. The function outcomes_averted() offers options for calculating the differences in outcomes averted (cases, and deaths where applicable) between a baseline scenario (with parameter uncertainty), and multiple comparator scenarios (with identical parameter uncertainty).

Happy to take feedback on the implementation here, and more general discussion on scenario comparison in #221.

github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if a6e001e1866556521434ae4ca32ba757ee7da484 is merged into main:

github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if a6e001e1866556521434ae4ca32ba757ee7da484 is merged into main:

github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if a6e001e1866556521434ae4ca32ba757ee7da484 is merged into main:

github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if a6e001e1866556521434ae4ca32ba757ee7da484 is merged into main:

pratikunterwegs commented 2 months ago

Thanks @joshwlambert. I haven't found a good fix for the second issue, but I'm merging this now so I can move ahead with more scenario functionality.