You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -315,6 +228,19 @@ In `{epidemics}` the contact matrix normalisation happens within the function ca
315
228
316
229
::::::::::::::::::::::::::::::::::::::::::::::::
317
230
231
+
:::::::::::::::::::::: instructor
232
+
233
+
Make a pause.
234
+
235
+
Use slides to introduce the topics of:
236
+
237
+
- Initial conditions and
238
+
- Population structure.
239
+
240
+
Then continue with the livecoding.
241
+
242
+
::::::::::::::::::::::
243
+
318
244
### 2. Initial conditions
319
245
320
246
The initial conditions are the proportion of individuals in each disease state $S$, $E$, $I$ and $R$ for each age group at time 0. In this example, we have three age groups age between 0 and 20 years, age between 20 and 40 years and over. Let's assume that in the youngest age category, one in a million individuals are infectious, and the remaining age categories are infection free.
@@ -377,6 +303,18 @@ uk_population <- population(
377
303
```
378
304
379
305
306
+
:::::::::::::::::::::: instructor
307
+
308
+
Make a pause.
309
+
310
+
Use slides to introduce the topics of:
311
+
312
+
- Model parameters and
313
+
- New infections.
314
+
315
+
Then continue with the livecoding.
316
+
317
+
::::::::::::::::::::::
380
318
381
319
382
320
### 4. Model parameters
@@ -540,6 +478,16 @@ newinfections_bygroup %>%
540
478
541
479
:::::::::::::::::::::::
542
480
481
+
:::::::::::::::::::::: instructor
482
+
483
+
Stop the livecoding.
484
+
485
+
Suggest learners to read the rest of the episode.
486
+
487
+
Return to slides.
488
+
489
+
::::::::::::::::::::::
490
+
543
491
## Accounting for uncertainty
544
492
545
493
The epidemic model is [deterministic](../learners/reference.md#deterministic), which means it runs like clockwork: the same parameters will always lead to the same trajectory. A deterministic model is one where the outcome is completely determined by the initial conditions and parameters, with no random variation. However, reality is not so predictable. There are two main reasons for this: the transmission process can involve randomness, and we may not know the exact epidemiological characteristics of the pathogen we're interested in. In the next episode, we will consider 'stochastic' models (i.e. models where we can define the process that creates randomness in transmission). In the meantime, we can include uncertainty in the value of the parameters that go into the deterministic model. To account for this, we must run our model for different parameter combinations.
0 commit comments