Skip to content

Commit 8c86552

Browse files
committed
add last changes
1 parent ba1954e commit 8c86552

File tree

2 files changed

+88
-35
lines changed

2 files changed

+88
-35
lines changed

instructors/04-practical-tutors.qmd

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,23 @@ This practical is based in the following tutorial episodes:
5151

5252
This practical has three activities.
5353

54-
## Activity 1: Generate disease trajectories across age groups
54+
## Activity 1: Generate Disease Trajectories Across Age Groups
5555

5656
Generate disease trajectories of **infectious individuals** and **new infections** across age groups using the following available inputs:
5757

5858
- Social contact matrix
5959
- Age group of the infectious population
6060
- Disease parameters (basic reproduction number, pre infectious period, infectious period)
6161

62+
**Steps:**
63+
64+
Open the file `04-practical-activity-1.R` and complete all the lines marked with `#<COMPLETE>`, following the detailed steps provided within the R file.
65+
66+
**Questions:**
67+
6268
Within your room, Write your answers to these questions:
6369

64-
- What are the time and size of the epidemic peak for *infectious individuals* in each age group?
70+
- What are the time and size of the epidemic peak for *infectious individuals* in each age group? Use the table output.
6571
- Compare and describe the similarities and differences between these two outputs: the table with epidemic peak of *infectious individuals* across age groups, and the plot of *new infections* across age groups.
6672
- Compare: What differences do you observe compared to the outputs from other rooms (if available)?
6773

@@ -80,7 +86,7 @@ Within your room, Write your answers to these questions:
8086
| Basic Reproduction Number | 1.46 | R₀ value for influenza |
8187
| Pre-infectious Period | 3 days | Incubation before becoming infectious |
8288
| Infectious Period | 7 days | Duration of infectiousness |
83-
| Max Timesteps (days) | 1000 | Total simulation time |
89+
| Time end | 1000 days | Total simulation time |
8490

8591

8692

@@ -98,7 +104,7 @@ Room 1
98104
| **Output** | **Paste below** |
99105
|---|---|
100106
| Plot of *all compartments* and age groups | |
101-
| Table of *infectious* across age groups | |
107+
| Table of peak of *infectious* across age groups | |
102108
| Plot of *new infections* across age groups | |
103109

104110
Write your answers to the questions above:
@@ -121,7 +127,7 @@ Room 2
121127
| **Output** | **Paste below** |
122128
|---|---|
123129
| Plot of *all compartments* and age groups | |
124-
| Table of *infectious* across age groups | |
130+
| Table of peak of *infectious* across age groups | |
125131
| Plot of *new infections* across age groups | |
126132

127133
Write your answers to the questions above:
@@ -144,7 +150,7 @@ Room 3
144150
| **Output** | **Paste below** |
145151
|---|---|
146152
| Plot of *all compartments* and age groups | |
147-
| Table of *infectious* across age groups | |
153+
| Table of peak of *infectious* across age groups | |
148154
| Plot of *new infections* across age groups | |
149155

150156
Write your answers to the questions above:
@@ -190,7 +196,7 @@ epidemics::epidemic_peak(data = simulate_baseline)
190196

191197
Interpretation template:
192198

193-
+ In the population, the demographic group of `age from [0,20]` has a peak of infectious individuals at day 320 with a size of `513,986`.
199+
+ In the population, the demographic group of `age from [0,20]` has a peak of infectious individuals at day `320` with a size of `513,986` individuals at that time.
194200

195201
Compare output types:
196202

@@ -200,8 +206,8 @@ Compare output types:
200206
+ We can not get exact value for time and size of peak of *new infections*.
201207
+ We can make qualitative comparisons.
202208
+ Comparing plots:
203-
+ The peak size of *new infections* is lower than the peak size of *infectious individuals*.
204-
+ Both plot trajectories seem to share the time of peak.
209+
+ The peak size of *new infections* is lower than the peak size of *infectious individuals*. New infections are defined as the daily outflow of individuals from the susceptible to the exposed compartment.
210+
+ The peak time may be similar in both outputs.
205211
+ Other packages that can estimate trend of new infections are `{EpiNow2}` and `{epichains}`.
206212

207213
Comparison between rooms:
@@ -246,14 +252,25 @@ contact_data$demography
246252

247253

248254

249-
## Activity 2: Compare the baseline scenario with a single intervention
255+
## Activity 2: Compare the Baseline Scenario with a Single Intervention
250256

251-
Compare the disease trajectories of **new infections** in the whole population with those under an intervention, using the following available inputs:
257+
Compare the disease trajectories of **new infections** in the whole population under two conditions:
252258

253-
- Time to start the intervention
259+
1. The baseline scenario (no intervention)
260+
2. A scenario with a single intervention
261+
262+
Use the following inputs to define and explore the intervention scenario:
263+
264+
- Start time of the intervention
254265
- Duration of the intervention
255-
- Type of intervention (on contacts, on transmission rate, or vaccination)
256-
- Reduction effect or rate of vaccination
266+
- Type of intervention (on contact reduction, on transmission rate reduction, or vaccination)
267+
- Reduction or Vaccination rate
268+
269+
**Steps:**
270+
271+
Open the file `04-practical-activity-2.R` and complete all the lines marked with `#<COMPLETE>`, following the detailed steps provided within the R file.
272+
273+
**Questions:**
257274

258275
Within your room, write your answers to these questions:
259276

@@ -287,7 +304,7 @@ Room 1
287304
| **Output** | **Paste below** |
288305
|---|---|
289306
| Plot of *all compartments* and age groups | |
290-
| Table of *infectious* across age groups | |
307+
| Table of peak of *infectious* across age groups | |
291308
| Plot of *new infections* in the whole population | |
292309

293310
Write your answers to the questions above:
@@ -310,7 +327,7 @@ Room 2
310327
| **Output** | **Paste below** |
311328
|---|---|
312329
| Plot of *all compartments* and age groups | |
313-
| Table of *infectious* across age groups | |
330+
| Table of peak of *infectious* across age groups | |
314331
| Plot of *new infections* in the whole population | |
315332

316333
Write your answers to the questions above:
@@ -333,7 +350,7 @@ Room 3
333350
| **Output** | **Paste below** |
334351
|---|---|
335352
| Plot of *all compartments* and age groups | |
336-
| Table of *infectious* across age groups | |
353+
| Table of peak of *infectious* across age groups | |
337354
| Plot of *new infections* in the whole population | |
338355

339356
Write your answers to the questions above:
@@ -379,9 +396,15 @@ Interpretation Helpers:
379396

380397

381398

382-
## Activity 3: Combine multiple interventions (Optional)
399+
## Activity 3: Combine Multiple Interventions
400+
401+
Compare the baseline scenario with a simulation that includes two interventions applied simultaneously. Use the intervention parameters described in the previous activity.
402+
403+
**Steps:**
404+
405+
Open the file `04-practical-activity-3.R` and complete all the lines marked with `#<COMPLETE>`, following the detailed steps provided within the R file.
383406

384-
Compare the baseline scenario with two intervention in the same simulation. Use the intervention parameters above.
407+
**Questions:**
385408

386409
Within your room, Write your answers to these questions:
387410

@@ -411,7 +434,7 @@ Room 1
411434

412435
| **Output** | **Paste below** |
413436
|---|---|
414-
| Table of *infectious* across age groups | |
437+
| Table of peak of *infectious* across age groups | |
415438
| Plot of *new infections* in the whole population comparing interventions | |
416439

417440
Write your answers to the questions above:
@@ -433,7 +456,7 @@ Room 2
433456

434457
| **Output** | **Paste below** |
435458
|---|---|
436-
| Table of *infectious* across age groups | |
459+
| Table of peak of *infectious* across age groups | |
437460
| Plot of *new infections* in the whole population comparing interventions | |
438461

439462
Write your answers to the questions above:
@@ -455,7 +478,7 @@ Room 3
455478

456479
| **Output** | **Paste below** |
457480
|---|---|
458-
| Table of *infectious* across age groups | |
481+
| Table of peak of *infectious* across age groups | |
459482
| Plot of *new infections* in the whole population comparing interventions | |
460483

461484
Write your answers to the questions above:

instructors/files/04-practical-tutors.md

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This practical is based in the following tutorial episodes:
2020

2121
This practical has three activities.
2222

23-
## Activity 1: Generate disease trajectories across age groups
23+
## Activity 1: Generate Disease Trajectories Across Age Groups
2424

2525
Generate disease trajectories of **infectious individuals** and **new
2626
infections** across age groups using the following available inputs:
@@ -30,10 +30,18 @@ infections** across age groups using the following available inputs:
3030
- Disease parameters (basic reproduction number, pre infectious period,
3131
infectious period)
3232

33+
**Steps:**
34+
35+
Open the file `04-practical-activity-1.R` and complete all the lines
36+
marked with `#<COMPLETE>`, following the detailed steps provided within
37+
the R file.
38+
39+
**Questions:**
40+
3341
Within your room, Write your answers to these questions:
3442

3543
- What are the time and size of the epidemic peak for *infectious
36-
individuals* in each age group?
44+
individuals* in each age group? Use the table output.
3745
- Compare and describe the similarities and differences between these
3846
two outputs: the table with epidemic peak of *infectious individuals*
3947
across age groups, and the plot of *new infections* across age groups.
@@ -55,7 +63,7 @@ Within your room, Write your answers to these questions:
5563
| Basic Reproduction Number | 1.46 | R₀ value for influenza |
5664
| Pre-infectious Period | 3 days | Incubation before becoming infectious |
5765
| Infectious Period | 7 days | Duration of infectiousness |
58-
| Max Timesteps (days) | 1000 | Total simulation time |
66+
| Time end | 1000 days | Total simulation time |
5967

6068
### Solution
6169

@@ -134,17 +142,30 @@ Comparison between rooms:
134142
#> 2: [20,40) 5179150 0.3282628 2015
135143
#> 3: 40+ 2362911 0.1497651 2015
136144

137-
## Activity 2: Compare the baseline scenario with a single intervention
145+
## Activity 2: Compare the Baseline Scenario with a Single Intervention
138146

139147
Compare the disease trajectories of **new infections** in the whole
140-
population with those under an intervention, using the following
141-
available inputs:
148+
population under two conditions:
142149

143-
- Time to start the intervention
150+
1. The baseline scenario (no intervention)
151+
2. A scenario with a single intervention
152+
153+
Use the following inputs to define and explore the intervention
154+
scenario:
155+
156+
- Start time of the intervention
144157
- Duration of the intervention
145-
- Type of intervention (on contacts, on transmission rate, or
146-
vaccination)
147-
- Reduction effect or rate of vaccination
158+
- Type of intervention (on contact reduction, on transmission rate
159+
reduction, or vaccination)
160+
- Reduction or Vaccination rate
161+
162+
**Steps:**
163+
164+
Open the file `04-practical-activity-2.R` and complete all the lines
165+
marked with `#<COMPLETE>`, following the detailed steps provided within
166+
the R file.
167+
168+
**Questions:**
148169

149170
Within your room, write your answers to these questions:
150171

@@ -192,10 +213,19 @@ Interpretation Helpers:
192213
effectiveness of vaccination can depend on various factors, including
193214
vaccine efficacy and timing relative to the outbreak.
194215

195-
## Activity 3: Combine multiple interventions (Optional)
216+
## Activity 3: Combine Multiple Interventions
217+
218+
Compare the baseline scenario with a simulation that includes two
219+
interventions applied simultaneously. Use the intervention parameters
220+
described in the previous activity.
221+
222+
**Steps:**
223+
224+
Open the file `04-practical-activity-3.R` and complete all the lines
225+
marked with `#<COMPLETE>`, following the detailed steps provided within
226+
the R file.
196227

197-
Compare the baseline scenario with two intervention in the same
198-
simulation. Use the intervention parameters above.
228+
**Questions:**
199229

200230
Within your room, Write your answers to these questions:
201231

0 commit comments

Comments
 (0)