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

Episode suggestion: advanced content on editing models #55

Open
adamkucharski opened this issue Oct 25, 2024 · 0 comments
Open

Episode suggestion: advanced content on editing models #55

adamkucharski opened this issue Oct 25, 2024 · 0 comments

Comments

@adamkucharski
Copy link
Member

As we build up options for easier-to-edit {odin} versions of the scenarios in {epidemics}, it would eventually be useful to have an advanced episode for learners who'd like to tweak the models (as this is a request we get from many who interact with {epidemics}. Note this {odin} option wouldn't change any of the other tutorials, as model_default would keep the same inputs and outputs. The only difference would be the model code it points to, and a nicer interface to make tweaks and recompile the mnodel.

In particular, we've narrowed down the conceptual list of potential model edits in this walkthrough for {epidemics}. This could be a useful breakdown for learners, to show many changes are actually just the same thing from a conceptual point of view.

Here's the list of what we thought would cover most things people would need out of a tweaked model:

  • Adding or removing model parameters. E.g. adding a uniform, age-independent, background mortality rate that is unrelated to the epidemic itself, or reparameterising $R_0$ and $beta$ inside model equations.
  • Modifying compartmental flows without changing the actual compartments. E.g. adding births/deaths, immigration, zoonosis, waning immunity
  • Modifying which parameters can be time dependent. E.g. change in infectious period with better isolation or treatment.
  • Group-specific infection parameters. E.g. vaccination targeted at certain ages.
  • Adding epidemiological compartments. E.g. more complex vaccination or natural history.
  • Changing vaccination rates over time. E.g. catch up or pulse vaccination - this was a special category because need to make sure numbers add up sensibly, and vaccines available can be tracked (i.e. when they're used up, can't vaccinate more).
amanda-minter added a commit to amanda-minter/tutorials-late that referenced this issue Oct 29, 2024
* Update model function names

Function names in `{epidemics}` are now `model_X()`

* Update model function names

Function names in `{epidemics}` are now `model_X()`

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Add checklist link

* Update model function names

Function names in `{epidemics}` are now `model_X()`

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Update episodes/model-choices.Rmd

Co-authored-by: Andree Valle Campos <[email protected]>

* Add checklist link

---------

Co-authored-by: Andree Valle Campos <[email protected]>
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