Skip to content

Commit 60f71da

Browse files
committed
source commit: 2137f56
0 parents  commit 60f71da

27 files changed

+3442
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Contributor Code of Conduct"
3+
---
4+
5+
As contributors and maintainers of this project,
6+
we pledge to follow the [The Epiverse-TRACE Code of Conduct][coc].
7+
8+
<!--
9+
Instances of abusive, harassing, or otherwise unacceptable behavior
10+
may be reported by following our [reporting guidelines][coc-reporting].
11+
-->
12+
13+
[coc-reporting]: https://forms.gle/guKqVXPk6K43jPn59
14+
[coc]: https://github.com/epiverse-trace/.github/blob/main/CODE_OF_CONDUCT.md
15+

LICENSE.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: "Licenses"
3+
---
4+
5+
## Instructional Material
6+
7+
The tutorials in this repository are developed by Epiverse-TRACE, based on the [lesson template from the Carpentries](https://github.com/carpentries/workbench-template-rmd) (template under CC BY license).
8+
9+
All Epiverse-TRACE
10+
instructional material is made available under the [Creative Commons
11+
Attribution license][cc-by-human]. The following is a human-readable summary of
12+
(and not a substitute for) the [full legal text of the CC BY 4.0
13+
license][cc-by-legal].
14+
15+
You are free:
16+
17+
- to **Share**---copy and redistribute the material in any medium or format
18+
- to **Adapt**---remix, transform, and build upon the material
19+
20+
for any purpose, even commercially.
21+
22+
The licensor cannot revoke these freedoms as long as you follow the license
23+
terms.
24+
25+
Under the following terms:
26+
27+
- **Attribution**---You must give appropriate credit (mentioning that your work
28+
is derived from work that is Copyright (c) Epiverse-TRACE, where
29+
practical, linking to <https://epiverse-trace.github.io/>), provide a [link to the
30+
license][cc-by-human], and indicate if changes were made. You may do so in
31+
any reasonable manner, but not in any way that suggests the licensor endorses
32+
you or your use.
33+
34+
- **No additional restrictions**---You may not apply legal terms or
35+
technological measures that legally restrict others from doing anything the
36+
license permits. With the understanding that:
37+
38+
Notices:
39+
40+
* You do not have to comply with the license for elements of the material in
41+
the public domain or where your use is permitted by an applicable exception
42+
or limitation.
43+
* No warranties are given. The license may not give you all of the permissions
44+
necessary for your intended use. For example, other rights such as publicity,
45+
privacy, or moral rights may limit how you use the material.
46+
47+
## Software
48+
49+
Except where otherwise noted, the example programs and other software provided
50+
by Epiverse-TRACE are made available under the [OSI][osi]-approved [MIT
51+
license][mit-license].
52+
53+
Permission is hereby granted, free of charge, to any person obtaining a copy of
54+
this software and associated documentation files (the "Software"), to deal in
55+
the Software without restriction, including without limitation the rights to
56+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
57+
of the Software, and to permit persons to whom the Software is furnished to do
58+
so, subject to the following conditions:
59+
60+
The above copyright notice and this permission notice shall be included in all
61+
copies or substantial portions of the Software.
62+
63+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
64+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
66+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
67+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
68+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
69+
SOFTWARE.
70+
71+
[cc-by-human]: https://creativecommons.org/licenses/by/4.0/
72+
[cc-by-legal]: https://creativecommons.org/licenses/by/4.0/legalcode
73+
[mit-license]: https://opensource.org/licenses/mit-license.html
74+
[osi]: https://opensource.org

compare-interventions.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
title: 'Comparing public health outcomes of interventions'
3+
teaching: 45 # teaching time in minutes
4+
exercises: 30 # exercise time in minutes
5+
6+
---
7+
8+
9+
10+
:::::::::::::::::::::::::::::::::::::: questions
11+
12+
- How can I quantify the effect of an intervention?
13+
14+
15+
::::::::::::::::::::::::::::::::::::::::::::::::
16+
17+
::::::::::::::::::::::::::::::::::::: objectives
18+
19+
- Understand how to compare intervention scenarios
20+
21+
::::::::::::::::::::::::::::::::::::::::::::::::
22+
23+
::::::::::::::::::::::::::::::::::::: prereq
24+
25+
## Prerequisites
26+
+ Complete tutorials [Simulating transmission](../episodes/simulating-transmission.md) and [Modelling interventions](../episodes/modelling-interventions.md)
27+
28+
This tutorial has the following concept dependencies:
29+
30+
**Outbreak response** : [Intervention types](https://www.cdc.gov/nonpharmaceutical-interventions/).
31+
:::::::::::::::::::::::::::::::::
32+
33+
34+
## Introduction
35+
36+
In this tutorial we will compare intervention scenarios against each other. To quantify the effect of the intervention we need to compare our intervention scenario to a counter factual scenario. The *counter factual* is the scenario in which nothing changes, often referred to as the 'do nothing' scenario. The counter factual scenario may include no interventions, or if we are investigating the potential impact of an additional intervention in the later stages of an outbreak there may be existing interventions in place.
37+
38+
We must also decide what our *outcome of interest* is to make comparisons between intervention and counter factual scenarios. The outcome of interest can be:
39+
40+
+ a model outcome, e.g. number of infections or hospitalisations,
41+
+ a metric such as the epidemic peak time or size,
42+
+ a measure that uses the model outcomes such as QALY/DALYs.
43+
44+
45+
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: instructor
46+
47+
In this tutorial we introduce the concept of the counter factual and how to compare scenarios (counter factual versus intervention) against each other.
48+
49+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
50+
51+
## Vacamole model
52+
53+
The Vacamole model is a deterministic model based on a system of ODEs in [Ainslie et al. 2022]( https://doi.org/10.2807/1560-7917.ES.2022.27.44.2101090). The model consists of 11 compartments, individuals are classed as one of the following:
54+
55+
+ susceptible, $S$,
56+
+ partial vaccination ($V_1$), fully vaccination ($V_2$),
57+
+ exposed, $E$ and exposed while vaccinated, $E_V$,
58+
+ infectious, $I$ and infectious while vaccinated, $I_V$,
59+
+ hospitalised, $H$ and hospitalised while vaccinated, $H_V$,
60+
+ dead, $D$,
61+
+ recovered, $R$.
62+
63+
The diagram below describes the flow of individuals through the different compartments.
64+
65+
<img src="fig/compare-interventions-rendered-unnamed-chunk-1-1.png" style="display: block; margin: auto;" />
66+
67+
See `?epidemics::model_vacamole_cpp` for detail on how to run the model.
68+
69+
## Comparing scenarios
70+
71+
*Coming soon*
72+
73+
## Challenge
74+
75+
*Coming soon*
76+
77+
<!-- ::::::::::::::::::::::::::::::::::::: challenge -->
78+
79+
<!-- ## The effect of vaccination on COVID-19 hospitalisations -->
80+
81+
82+
83+
<!-- ::::::::::::::::: hint -->
84+
85+
<!-- ### HINT -->
86+
87+
88+
<!-- :::::::::::::::::::::: -->
89+
90+
91+
<!-- ::::::::::::::::: solution -->
92+
93+
<!-- ### SOLUTION -->
94+
95+
96+
97+
98+
99+
<!-- ::::::::::::::::::::::::::: -->
100+
101+
102+
<!-- :::::::::::::::::::::::::::::::::::::::::::::::: -->
103+
104+
105+
106+
::::::::::::::::::::::::::::::::::::: keypoints
107+
108+
- The counter factual scenario must be defined to make comparisons
109+
110+
::::::::::::::::::::::::::::::::::::::::::::::::

config.yaml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
#------------------------------------------------------------
2+
# Values for this lesson.
3+
#------------------------------------------------------------
4+
5+
# Which carpentry is this (swc, dc, lc, or cp)?
6+
# swc: Software Carpentry
7+
# dc: Data Carpentry
8+
# lc: Library Carpentry
9+
# cp: Carpentries (to use for instructor training for instance)
10+
# incubator: The Carpentries Incubator
11+
carpentry: 'incubator'
12+
13+
# Overall title for pages.
14+
title: 'Outbreak analytics with R'
15+
16+
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
17+
created: ~
18+
19+
# Comma-separated list of keywords for the lesson
20+
keywords: 'forecasts, epidemic models, interventions' #FIXME
21+
22+
# Life cycle stage of the lesson
23+
# possible values: pre-alpha, alpha, beta, stable
24+
life_cycle: 'pre-alpha'
25+
26+
# License of the lesson
27+
license: 'CC-BY 4.0' #FIXME
28+
29+
# Link to the source repository for this lesson
30+
source: 'https://github.com/epiverse-trace/tutorials'
31+
32+
# Default branch of your lesson
33+
branch: 'main'
34+
35+
# Who to contact if there are any issues
36+
contact: '[email protected]' #FIXME
37+
38+
# Navigation ------------------------------------------------
39+
#
40+
# Use the following menu items to specify the order of
41+
# individual pages in each dropdown section. Leave blank to
42+
# include all pages in the folder.
43+
#
44+
# Example -------------
45+
#
46+
# episodes:
47+
# - introduction.md
48+
# - first-steps.md
49+
#
50+
# learners:
51+
# - setup.md
52+
#
53+
# instructors:
54+
# - instructor-notes.md
55+
#
56+
# profiles:
57+
# - one-learner.md
58+
# - another-learner.md
59+
60+
# Order of episodes in your lesson
61+
episodes:
62+
- simulating-transmission.Rmd
63+
- model-choices.Rmd
64+
- modelling-interventions.Rmd
65+
- compare-interventions.Rmd
66+
67+
# Information for Learners
68+
learners:
69+
70+
# Information for Instructors
71+
instructors:
72+
73+
# Learner Profiles
74+
profiles:
75+
76+
# Customisation ---------------------------------------------
77+
#
78+
# This space below is where custom yaml items (e.g. pinning
79+
# sandpaper and varnish versions) should live
80+
varnish: epiverse-trace/varnish@epiversetheme
81+
sandpaper: 'carpentries/sandpaper#533'

0 commit comments

Comments
 (0)