-
Notifications
You must be signed in to change notification settings - Fork 33
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
Discretisation #411
Comments
|
Can you link some of the recent work here? |
https://github.com/epinowcast/epinowcast/blob/05b4f64be8ecb5f319c4cffb970698e91434c3a5/inst/stan/functions/discretised_logit_hazard.stan#L35 and see the package docs for the maths behind it. The parts are all put together here: https://github.com/epinowcast/epinowcast/blob/05b4f64be8ecb5f319c4cffb970698e91434c3a5/inst/stan/functions/discretised_logit_hazard.stan#L127 The EpiNow2/inst/stan/functions/pmfs.stan Line 7 in af8c1f3
|
Thanks, Sam. I'll take a look. |
The current discretisation of delay distributions integrates between integer boundaries [0, 1], [1, 2], ...
Recent work has shown that this leads to bias. A better option would be to discretise as [0, 1], [0, 2], [1, 3], ...
The text was updated successfully, but these errors were encountered: