-
Notifications
You must be signed in to change notification settings - Fork 14
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
Parameterise the model using a baseline prevalence (pfpr2-10) #40
Comments
Note: if this relies on the ODE to calculate total_M, this may be impossible. Since adult mosquitoes are now modelled individually. |
Hey @giovannic ! I've been playing around with a similar root-finding approach to the oneI implemented in the old model for calibrating a run. It is definitely not the most efficient approach, but is flexible, allowing a user to calibrate a specific model run to any number of outputpoints from any output variable. Would be good to hear if you think this kind of approach would be useful to implement in the package, or demonstrate in a vignette? It would be made more efficient if we can get a half decent starting guess for EIR, or the reduce the range of EIRs to search. Here's a quick example:
|
Closing, we would like to implement this in a separate package |
The current model does this by:
We would like to create behaviour like:
Which would run the simulation in a similar way and return simparams with an updated
total_M
to recreate the baseline prevalence.Developer notes:
R/parameters.R
.tests/testthat/test-biology.R
to make sure that it indeed produces a pfpr2-10 that is close to the desired one.The text was updated successfully, but these errors were encountered: