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

Error model #3

Closed
seabbs opened this issue Oct 22, 2021 · 1 comment
Closed

Error model #3

seabbs opened this issue Oct 22, 2021 · 1 comment

Comments

@seabbs
Copy link
Collaborator

seabbs commented Oct 22, 2021

Currently, a negative binomial error model is used with a single overdispersion parameter. This is problematic because data with little truncation (and hence well known) is treated equally with data that is highly truncated (and hence poorly known). To some degree this uncertainty is modelled in the truncation distribution but having a single overdispersion parameter does allow additional model flexibility for which there is not much justification.

A potential option, that has been partially explored with quite poor results, would be to have an overdispersion parameter for each day of truncation. Alternatively, the simplest solution may be to assume a Poisson error model.

The effect of the single overdispersion can be seen in the posterior prediction plots where the model is quite uncertain about data with very little truncation even though these data should be very well known.

plot

@seabbs
Copy link
Collaborator Author

seabbs commented Oct 27, 2021

Resolved by changing the form of the input data to be by reference date with counts by date of report.

@seabbs seabbs closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant