Skip to content

Commit 3699e95

Browse files
committed
differences for PR #16
1 parent f4d2e43 commit 3699e95

7 files changed

+8
-29
lines changed

compare-interventions.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ exercises: 30 # exercise time in minutes
2323

2424
::::::::::::::::::::::::::::::::::::: prereq
2525

26-
## Prerequisites
2726
+ Complete tutorials [Simulating transmission](../episodes/simulating-transmission.md) and [Modelling interventions](../episodes/modelling-interventions.md)
2827

2928
Learners should familiarise themselves with following concept dependencies before working through this tutorial:
@@ -227,8 +226,6 @@ output <- model_vacamole(
227226

228227
::::::::::::::::: solution
229228

230-
### SOLUTION
231-
232229
1. Run the model
233230

234231

@@ -672,8 +669,8 @@ intervention_effect
672669
``` output
673670
scenario averted_median averted_lower averted_upper
674671
<int> <num> <num> <num>
675-
1: 1 31 2 119
676-
2: 2 20 -16 113
672+
1: 1 32 1 112
673+
2: 2 22 -17 112
677674
```
678675

679676

2.29 KB
Loading
92 Bytes
Loading

md5sum.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"config.yaml" "01ba2faa4b450855eba2fba32408867c" "site/built/config.yaml" "2024-11-04"
55
"index.md" "32bc80d6f4816435cc0e01540cb2a513" "site/built/index.md" "2024-10-01"
66
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2024-10-01"
7-
"episodes/simulating-transmission.Rmd" "96a960983a0b9c17c299830bc42b1ae0" "site/built/simulating-transmission.md" "2024-10-01"
8-
"episodes/model-choices.Rmd" "d30a11c5547d221fa999a4648f812ad7" "site/built/model-choices.md" "2024-10-23"
9-
"episodes/modelling-interventions.Rmd" "c24d8bf7b881e058f0118d5b5cf99b22" "site/built/modelling-interventions.md" "2024-10-01"
10-
"episodes/compare-interventions.Rmd" "077add8024fd071891f3cb583c891c30" "site/built/compare-interventions.md" "2024-10-23"
7+
"episodes/simulating-transmission.Rmd" "946faeb2fbc86729c97e1e64bf66add2" "site/built/simulating-transmission.md" "2024-11-06"
8+
"episodes/model-choices.Rmd" "597b512fd487349fe19eeb1ce3b565dc" "site/built/model-choices.md" "2024-11-06"
9+
"episodes/modelling-interventions.Rmd" "92be2434ff4fd8fd79eb981fc45687a3" "site/built/modelling-interventions.md" "2024-11-06"
10+
"episodes/compare-interventions.Rmd" "2d9b19604352386139e3527d4a6e5918" "site/built/compare-interventions.md" "2024-11-06"
1111
"instructors/instructor-notes.md" "ca3834a1b0f9e70c4702aa7a367a6bb5" "site/built/instructor-notes.md" "2024-10-01"
1212
"learners/reference.md" "3c3b0a87a98f91231d47f5a2e24ad27d" "site/built/reference.md" "2024-10-01"
1313
"learners/setup.md" "84c16abddfc207bfb445fdd69d4f36a9" "site/built/setup.md" "2024-10-01"

model-choices.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ exercises: 20 # exercise time in minutes
2222

2323
::::::::::::::::::::::::::::::::::::: prereq
2424

25-
## Prerequisites
2625
+ Complete tutorial [Simulating transmission](../episodes/simulating-transmission.md)
2726
:::::::::::::::::::::::::::::::::
2827

@@ -117,8 +116,6 @@ Which of the following models would be an appropriate choice for this task:
117116

118117
::::::::::::::::: hint
119118

120-
### HINT
121-
122119
Consider the following questions:
123120

124121
::::::::::::::::::::::::::::::::::::: checklist
@@ -136,9 +133,6 @@ Consider the following questions:
136133

137134
::::::::::::::::: solution
138135

139-
### SOLUTION
140-
141-
142136
+ What is the infection/disease of interest? **Ebola**
143137
+ Do we need a deterministic or stochastic model? **A stochastic model would allow us to explore variation in the early stages of the outbreak**
144138
+ What is the outcome of interest? **Number of infections**
@@ -148,8 +142,7 @@ Consider the following questions:
148142

149143
A deterministic SEIR model with age specific direct transmission.
150144

151-
<!--html_preserve--><div class="grViz html-widget html-fill-item" id="htmlwidget-de81f282fc7eeda36f0a" style="width:504px;height:504px;"></div>
152-
<script type="application/json" data-for="htmlwidget-de81f282fc7eeda36f0a">{"x":{"diagram":"digraph {\n\n # graph statement\n #################\n graph [layout = dot,\n rankdir = LR,\n overlap = true,\n fontsize = 10]\n\n # nodes\n #######\n node [shape = square,\n fixedsize = true\n width = 1.3]\n\n S\n E\n I\n R\n\n # edges\n #######\n S -> E [label = \" infection \n(transmissibility &beta;)\"]\n E -> I [label = \" onset of infectiousness \n(infectiousness rate &alpha;)\"]\n I -> R [label = \" recovery \n(recovery rate &gamma;)\"]\n\n}","config":{"engine":"dot","options":null}},"evals":[],"jsHooks":[]}</script><!--/html_preserve-->
145+
<img src="fig/model-choices-rendered-diagram-1.png" style="display: block; margin: auto;" />
153146

154147

155148
The model is capable of simulating an Ebola type outbreak, but as the model is deterministic, we are not able to explore stochastic variation in the early stages of the outbreak.
@@ -168,8 +161,7 @@ The key parameters affecting the transition between states are:
168161

169162
**Note: the functional relationship between the preinfectious period ($\rho^E$) and the transition rate between exposed and infectious ($\gamma^E$) is $\rho^E = k^E/\gamma^E$ where $k^E$ is the shape of the Erlang distribution. Similarly for the infectious period $\rho^I = k^I/\gamma^I$. For more detail on the stochastic model formulation refer to the section on [Discrete-time Ebola virus disease model](https://epiverse-trace.github.io/epidemics/articles/model_ebola.html#details-discrete-time-ebola-virus-disease-model) in the "Modelling responses to a stochastic Ebola virus epidemic" vignette. **
170163

171-
<!--html_preserve--><div class="grViz html-widget html-fill-item" id="htmlwidget-da752f7cf7bda5d9def9" style="width:504px;height:504px;"></div>
172-
<script type="application/json" data-for="htmlwidget-da752f7cf7bda5d9def9">{"x":{"diagram":"digraph {\n\n # graph statement\n #################\n graph [layout = dot,\n rankdir = LR,\n overlap = true,\n fontsize = 10]\n\n # nodes\n #######\n node [shape = square,\n fixedsize = true\n width = 1.3]\n\n S\n E\n I\n H\n F\n R\n\n # edges\n #######\n S -> E [label = \" infection (&beta;)\"]\n E -> I [label = \" onset of \ninfectiousness (&gamma; E)\"]\n I -> F [label = \" death (funeral) \n(&gamma; I)\"]\n F -> R [label = \" safe burial (one timestep) \"]\n I -> H [label = \" hospitalisation (p hosp)\"]\n H -> R [label = \" recovery or safe burial \n (&gamma; I)\"]\n\n subgraph {\n rank = same; I; F;\n }\n subgraph {\n rank = same; H; R;\n }\n}","config":{"engine":"dot","options":null}},"evals":[],"jsHooks":[]}</script><!--/html_preserve-->
164+
<img src="fig/model-choices-rendered-unnamed-chunk-1-1.png" style="display: block; margin: auto;" />
173165

174166
The model has additional parameters describing the transmission risk in hospital and funeral settings:
175167

@@ -263,8 +255,6 @@ Adapt the code from the [accounting for uncertainty](../episodes/simulating-tran
263255

264256
::::::::::::::::: solution
265257

266-
### SOLUTION
267-
268258
1. Run the model once and plot the number of infectious individuals through time
269259

270260

modelling-interventions.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ exercises: 30 # exercise time in minutes
1111

1212
- How do I investigate the effect of interventions on disease trajectories?
1313

14-
1514
::::::::::::::::::::::::::::::::::::::::::::::::
1615

1716
::::::::::::::::::::::::::::::::::::: objectives
@@ -22,7 +21,6 @@ exercises: 30 # exercise time in minutes
2221

2322
::::::::::::::::::::::::::::::::::::: prereq
2423

25-
## Prerequisites
2624
+ Complete tutorial on [Simulating transmission](../episodes/simulating-transmission.md).
2725

2826
Learners should also familiarise themselves with following concept dependencies before working through this tutorial:
@@ -394,8 +392,6 @@ Plot the three interventions vaccination, school closure and mask mandate and th
394392

395393
:::::::::::::::::::::::: solution
396394

397-
## Output
398-
399395

400396
``` r
401397
# create intervention_type column for plotting

simulating-transmission.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ exercises: 30 # exercise time in minutes
2626

2727
::::::::::::::::::::::::::::::::::::: prereq
2828

29-
## Prerequisites
30-
3129
Learners should familiarise themselves with following concept dependencies before working through this tutorial:
3230

3331
**Mathematical Modelling** : [Introduction to infectious disease models](https://doi.org/10.1038/s41592-020-0856-2), [state variables](../learners/reference.md#state), [model parameters](../learners/reference.md#parsode), [initial conditions](../learners/reference.md#initial), [differential equations](../learners/reference.md#ordinary).
@@ -153,8 +151,6 @@ contact_matrix
153151
```
154152

155153
:::::::::::::::::::::::: solution
156-
157-
## Output
158154

159155

160156
``` output

0 commit comments

Comments
 (0)