Skip to content
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

Non-mechanistic model with shifted cases can create explosive exponential growth #611

Closed
sbfnk opened this issue Mar 13, 2024 · 0 comments · Fixed by #612
Closed

Non-mechanistic model with shifted cases can create explosive exponential growth #611

sbfnk opened this issue Mar 13, 2024 · 0 comments · Fixed by #612
Assignees
Labels
bug Something isn't working

Comments

@sbfnk
Copy link
Contributor

sbfnk commented Mar 13, 2024

Summary:
Non-mechanistic model with a shifted cases prior can create explosive exponential growth

Description:
The case study at #545 has revealed an edge case when using the non-mechanistic model with large maximum generation time (and thus large seeding time) and an outbreak with small number of cases towards the end. In that case the create_shifted_reported_cases can create long (as long as the seeding time) periods of exponential growth because the rolling average goes below 1 but is then set to 1 with zeroes (interpreted as increase).

Reproducible Steps:
See closed PR linked above.

EpiNow2 Version:
1.4.9000

@sbfnk sbfnk added the bug Something isn't working label Mar 13, 2024
@sbfnk sbfnk self-assigned this Mar 13, 2024
@sbfnk sbfnk added this to the CRAN v1.5 release milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant