CDCgov / multisignal-epi-inference

Python package for statistical inference and forecast of epi models using multiple signals
https://cdcgov.github.io/multisignal-epi-inference/
10 stars 1 forks source link

221 demonstrate use of predictive distributions in tutorials using arviz #230

Closed sbidari closed 3 days ago

sbidari commented 3 days ago

Add 'hdi_type' plot with equal tailed credible intervals to demonstrate posterior predictive distribution using arviz

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.59%. Comparing base (4f20336) to head (9c5dde0). Report is 1 commits behind head on main.

:exclamation: Current head 9c5dde0 differs from pull request most recent head 2e80624

Please upload reports for the commit 2e80624 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #230 +/- ## ========================================== + Coverage 92.47% 92.59% +0.11% ========================================== Files 40 40 Lines 877 891 +14 ========================================== + Hits 811 825 +14 Misses 66 66 ``` | [Flag](https://app.codecov.io/gh/CDCgov/multisignal-epi-inference/pull/230/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/CDCgov/multisignal-epi-inference/pull/230/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) | `92.59% <100.00%> (+0.11%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sbidari commented 3 days ago

There was a lot of merging and reverting here. But the code relevant to this PR are lines 487-541 in 'examples_with_datasets.qmd' @damonbayer

sbidari commented 3 days ago

Closing this due to mangled history, see #234