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

Add uncertainty to estimates #107

Open
njtierney opened this issue Oct 24, 2022 · 0 comments
Open

Add uncertainty to estimates #107

njtierney opened this issue Oct 24, 2022 · 0 comments
Milestone

Comments

@njtierney
Copy link
Collaborator

Two options (paraphrased from Nick Golding)

  1. Bootstrap - bootstrap resample the polymod contact data multiple times, fit a different contact model to each, and then use each model to create a separate matrix - those will be the bootstrap samples of the matrix.

  2. Conditional simulations from the fitted model (as opposed to the mean prediction with marginal noise, which would just create a bunch of speckly contact matrices and ruin the structure). Maybe we can pull some methods out of this package? It shouldn't be too difficult once we find the right objects inside the mgcv object, but will be fiddly and take time to write the code.

@njtierney njtierney added this to the 0.1.0 milestone Dec 12, 2022
@njtierney njtierney modified the milestones: 0.1.0, 0.2.0 Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant