epiforecasts / EpiNow2

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

Improve discretise #776

Open seabbs opened 1 month ago

seabbs commented 1 month ago

primarycensoreddist now supports numerically solved double censored pmf calculation (https://primarycensoreddist.epinowcast.org/dev/articles/primarycensoreddist.html#compute-the-primary-event-censored-probability-mass-function-pmf-with-dprimarycensoreddist) which we should replace our current approximate dicretise approach with either wrapped or directly.

seabbs commented 1 month ago

@sbfnk as discussed f2f today

kaitejohnson commented 1 month ago

Will open a new issue re making more explicit how the indexing is handled (starting at t=1, as indicated in model definition) in the case when a user passes in a discrete pmf.