epiforecasts / EpiNow2

Estimate Realtime Case Counts and Time-varying Epidemiological Parameters
https://epiforecasts.io/EpiNow2/dev/
Other
116 stars 33 forks source link

Check tail of nonparametric PMFs #752

Closed jamesmbaazam closed 3 months ago

jamesmbaazam commented 3 months ago

Description

This PR closes #738.

This PR adds a check on the tail of a supplied nonparametric vector to see if consecutive values are below a certain threshold and throws a warning if so. See the linked issue and this comment for an explanation of the rationale for this check. In summary, it is an optimisation issue.

Initial submission checklist

After the initial Pull Request