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

survival in bloodmeal sampling #7

Open
slwu89 opened this issue May 14, 2023 · 0 comments
Open

survival in bloodmeal sampling #7

slwu89 opened this issue May 14, 2023 · 0 comments

Comments

@slwu89
Copy link
Member

slwu89 commented May 14, 2023

Let the current time step be t0, and the next time step begins at t1 = t0 + dt. When we are sampling S->E events in mosquitoes (https://github.com/dd-harp/mini-mash/blob/main/src/disaggregated/pop/bloodmeal.cpp#L41) the issue is that not all of these bites will go to mosquitoes that are alive at t1 of the next time step. If we assume all bites sampled during the bloodmeal module during [t0, t0+dt) go to mosquitoes alive at time t1, we will overestimate the number of S->E events, because some bites go to mosquitoes that die before reaching t1. We currently fix this by sampling the survival probability for each bite within the mosquito module when the bites are fed in: https://github.com/dd-harp/mini-mash/blob/main/src/disaggregated/pop/mosquito.cpp#L107

Additionally when calculating the intensity, we must subtract the total amount of bites sampled so far; H2M_lambda = a * c * (IH/NH) * (SV - (double)H2M_tot) * delta;. This is because the risk set of mosquitoes gets smaller as bites happen, because those mosquitoes are no longer susceptible.

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