epiverse-trace / cfr

R package to estimate disease severity and under-reporting in real-time, accounting for reporting delays in epidemic time-series
https://epiverse-trace.github.io/cfr/
Other
13 stars 3 forks source link

Miscellaneous fixes for {cfr} #129

Closed pratikunterwegs closed 7 months ago

pratikunterwegs commented 7 months ago

This PR aims to fix some miscellaneous issues:

  1. Resolves #107 by implementing a switch on the profile likelihood function depending on the total number of cases and an initial estimate of the severity; see issue comments for more details. I'll count and tag this as a fix if reviews agree;
  2. Fixes #128 by printing a message for each call to cfr_rolling() - I'm happy to hear if this should be presented with a lower probability.
pratikunterwegs commented 7 months ago

Merging this PR, happy to hear retrospective feedback.