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 tutorial on contact matrices #52

Closed

Conversation

amanda-minter
Copy link
Collaborator

This PR adds a tutorial on contact matrices and fixes #47 #30

Any feedback on this draft is welcome. I think to highlight the importance of normalisation we need a worked example and/or exercise of some kind. Is this the place to put a final size or reff conversion worked example? Or will these feature in a different tutorial? Or if there are any other suggestions let me know.

amanda-minter and others added 30 commits February 2, 2024 20:06
And tidy up package usage in setup
From 'transmission heterogeneity' to 'geographical heterogeneity'
adapted from https://github.com/epiverse-trace/casestudies/blob/more-cases/casestudies/casestudy_03/casestudy_03.qmd

@avallecam the data file is an incidence data set created from a cleaned linelist object (code in above link) that can be used for the early tasks challenge as part of epiverse-trace#54
Ebola case study challenged added in response to epiverse-trace#54
Copy link

github-actions bot commented Oct 11, 2024

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/epiverse-trace/tutorials-late/compare/md-outputs..md-outputs-PR-52

The following changes were observed in the rendered markdown documents:

 config.yaml                |   4 +-
 contact-matrices.md (new)  | 278 +++++++++++++++++++++++++++++++++++++++++++++
 md5sum.txt                 |   5 +-
 simulating-transmission.md |   9 +-
 4 files changed, 285 insertions(+), 11 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2024-10-23 14:18:22 +0000

Copy link
Contributor

@sbfnk sbfnk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice! I left some comments.

episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
Copy link
Member

@adamkucharski adamkucharski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting together, really useful to have this as an episode. I've added some additional content around the $R_{eff}$ vs $\beta$ distinction, which I've found can be a common pitfall for new learners.

episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Show resolved Hide resolved
episodes/contact-matrices.Rmd Show resolved Hide resolved
episodes/contact-matrices.Rmd Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
episodes/contact-matrices.Rmd Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

add how a contact matrix is expressed in the system of differential equations?
6 participants