Add howto on estimating ascertainment with EpiNow2 - #105
Open
jamesmbaazam wants to merge 7 commits into
Open
Conversation
avallecam
approved these changes
Jun 3, 2025
avallecam
left a comment
Member
There was a problem hiding this comment.
Thanks @jamesmbaazam for the contribution! I tagged you on comments that I need to have your input to proceed with the suggested changes.
I can take charge of some downstream pending actions:
- create an
estimate-ascertainment/folder - move this entry to this new folder
- add namespace to functions
| # (scale) with a secondary case | ||
| res <- estimate_secondary( | ||
| df, | ||
| obs = obs_opts( |
Member
There was a problem hiding this comment.
@jamesmbaazam a question about the obs argument:
- when used in
estimate_infections()it refers to the % observed reported cases among infections - when used in
estimate_secondary()it refers to the % observed secondary cases among primary cases.
Is this right? Slightly different if you confirm my interpretation, which could be more explicit in the documentation?
Member
There was a problem hiding this comment.
Or does it always refer to the % of observed primary observations?
Member
There was a problem hiding this comment.
Sorry for lagging this entry. I just filled in a discussion with a question I would like to clarify. epiforecasts/EpiNow2#1102
After it, my question would be:
- To estimate the ascertainment rate as done by
{cfr}, defined asascertainment = defined / estimated(as in cfr::estimate_ascertainment()), should we add an extra step to the reprex code? For example, assuming that the prior of Normal(0.2,0.2) was thedefinedCFR.
jamesmbaazam
commented
Jun 9, 2025
Co-authored-by: James Azam <james.m.azam@gmail.com>
avallecam
reviewed
Jun 18, 2025
avallecam
self-requested a review
June 18, 2025 17:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a howto guide on how to estimate ascertainment or the fraction of observed cases from a time series of primary and secondary observations.