-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make concentration in NegativeBinomialObservation
a RandomVariable
#267
Make concentration in NegativeBinomialObservation
a RandomVariable
#267
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #267 +/- ##
==========================================
+ Coverage 92.73% 92.80% +0.06%
==========================================
Files 40 40
Lines 909 903 -6
==========================================
- Hits 843 838 -5
+ Misses 66 65 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@damonbayer did you also look at equal tailed intervals for the posterior latent infection? |
No. I would accept a PR to add that figure, though :) |
690cc59
to
673bab2
Compare
Caught the problem in #269 from looking at the example figures highlighted here by @damonbayer. Suggest landing that first and merging it in here. |
…alobservation-a-randomvariable
@dylanhmorris #269 is merged here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There is some variability in latent infections (see my original post), but I agree it is strange. |
There is no within chain variability in the posterior samples |
The prior on the concentration is not working as written. I tried swapping in a LogNormal prior and things just worked. Will investigate further. |
Closes #178.
Partially addresses #198.
I now also estimate the overdipsersion parameter in
hospital_admissions_model.qmd
.This makes the inference take quite a while, so maybe we should look at reducing the scope of that tutorial.
It leads to a nice-looking posterior predictive:
But funky looking posterior latent infections:
Not sure if this is just an artifact of the hdi plots or if it indicates something undesirable about the model.