-
Notifications
You must be signed in to change notification settings - Fork 0
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
Validate the analytical solution #7
Comments
See tweaks added to ring-vax-model README. There's some adjustments that I think are necessary to the expected timing model, but should be basically the same. |
If we do end up implementing #8 (or similar) as our simulation methodology, we'll want to double check that this stochastic simulation at least somewhat matches the analytical model setup |
After thinking through some alternatives, I think the thing I want here is: probability of k=0, 1, 2, ... infected contacts-of-contacts-of-contacts assuming that:
This is likely a conservative estimate, but it's way easier to do the math for, compared to the situation with passive and active detection (where you need to deal with the two detection times being potentially different). Doing this with pgf's also means that we could get analytical solutions for values beyond k=0 (although I personally wouldn't do the math by hand; I'd ask Sage or sympy to do the derivatives for me). |
Here's the simpler thing I think we can do:
In this case, all infected people produce iid numbers of offspring, Poisson with mean that is a mixture of the detected and undetected situations If the generating function for that is |
https://github.com/cdcent/ring-vax-model
The text was updated successfully, but these errors were encountered: