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
Copy file name to clipboardExpand all lines: syllabus.md
+33-42Lines changed: 33 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,11 @@ This is a syllabus for a workshop on using [`macpan2`](https://canmod.github.io/
13
13
## Table of Contents
14
14
-[Instructor](#instructor)
15
15
-[Audience](#audience)
16
+
-[Schedule](#schedule)
16
17
-[Background](#background)
17
18
-[Objectives](#objectives)
18
19
-[Outcomes](#outcomes)
19
-
-[Schedule](#schedule)
20
20
-[Preparation](#preparation)
21
-
-[Footnotes](#footnotes)
22
21
23
22
24
23
## Instructor
@@ -33,15 +32,32 @@ During the workshop, we will alternate between conceptual discussions and hands-
33
32
34
33
Details on how to prepare for the workshop are covered [here](#preparation).
35
34
35
+
## Schedule
36
+
37
+
| Time | Activity |
38
+
| ----------- | ----------------------------- |
39
+
| 10:00-10:15 |**Welcome and Introduction**|
40
+
| 10:15-11:00 |**Session 1a: Exploration**|
41
+
| 11:00-11:15 |**Break**|
42
+
| 11:15-12:00 |**Session 1b: Exploration**|
43
+
| 12:00-1:00 |**Lunch**|
44
+
| 1:00-1:45 |**Session 2: Calibration**|
45
+
| 1:45-2:00 |**Break**|
46
+
| 2:00-2:45 |**Session 3: Inference**|
47
+
| 2:45-3:00 |**Break**|
48
+
| 3:00-3:30 |**Session 4: Stratification**|
49
+
| 3:30-3:45 |**Feedback**|
50
+
| 3:45-4:00 |**Finishing and Packing Up**|
51
+
36
52
## Background
37
53
38
54
The [`macpan2`](https://canmod.github.io/macpan2) package is a flexible compartmental modelling tool that has been optimized for fast calibration to data. This package grew out of lessons learned developing the [McMasterPandemic](https://github.com/mac-theobio/McMasterPandemic) COVID-19 model, which was used to support public health during the pandemic.
39
55
40
56
Applied compartmental modelling is a big topic. The following activities describe the aspects of this topic for which `macpan2` is designed.
41
57
42
-
***Exploration**: Compare simulations freely under alternative parameterizations, and with real and/or hypothetical data.
43
-
***Parameterization**: Refine default parameters for a specific population and question, possibly by formally calibrating parameters with data.
44
-
***Inference**: Use realistically parameterized models to make inferences (e.g. confidence intervals for parameters, forecasts, counter-factuals).
58
+
***Exploration**: Compare simulations freely under alternative parameter sets, and with real and/or hypothetical data.
59
+
***Calibration**: Refine default parameters for a specific population and question, possibly by formally calibrating parameters with data.
60
+
***Inference**: Use calibrated models to make inferences (e.g. confidence intervals for parameters, forecasts, counter-factuals).
45
61
***Stratification**: Separate individuals in one compartment into many (e.g. by age, space, vaccination status) and/or find stratified data.
46
62
47
63
<!-- omit from toc -->
@@ -51,24 +67,24 @@ Starting with exploration, and then iterating within the following model refinem
51
67
52
68
```mermaid
53
69
graph LR;
54
-
Exploration-->Parameterization;
55
-
Parameterization-->Inference;
70
+
Exploration-->Calibration;
71
+
Calibration-->Inference;
56
72
Inference-->Stratification;
57
73
Stratification-->Exploration;
58
74
```
59
-
In this cycle, exploration often clarifies if our existing parameter values need refinement. In turn, parameterization refines a model so that it can be used to make defensible inferences in a specific context. Such inferences can raise questions about whether a model should be stratified to make it more realistic. Finally, stratification can create new model behaviours that may require further exploration, starting the cycle over again.
75
+
In this cycle, exploration can clarify if existing parameter values need refinement. In turn, calibration refines a model so that it can be used to make defensible inferences in a specific context. Inferences can raise questions about whether a model should be stratified to make it more realistic. Finally, stratification can create new model behaviours that may require further exploration, starting the cycle over again.
60
76
61
-
In applied public health modeling, iterative cycles can be completed at different paces, depending on the context and objectives. A rapid approach, focusing on completing each iteration efficiently rather than aiming for a fully refined model upfront, can sometimes help maintain momentum. Limiting the scope of each step, or occasionally omitting less critical steps, may help mitigate delays associated with extensive analysis. Returning to the **inference** step frequently provides opportunities to refine insights and contribute to ongoing public health discussions.
77
+
In applied public health modeling, iterative cycles can be completed at different paces, depending on the context and objectives. A rapid approach, focusing on completing each iteration efficiently rather than aiming for a fully refined model upfront, can sometimes help maintain momentum. Limiting the scope of each step, or occasionally omitting less critical steps, may help mitigate delays associated with extensive analysis. Returning to the inference step frequently provides opportunities to refine insights and contribute to ongoing public health discussions.
62
78
63
-
The final stratification step will increase model complexity, which has both advantages and disadvantages. Therefore, complexity will tend to increase as a modelling project iterates through the cycle. Starting with a simple model will help ensure that the project converges on an appropriate level of complexity. Sometimes it is worth resetting the cycle by starting again with a simpler model.
79
+
The stratification step will increase model complexity, which has both advantages and disadvantages. Therefore, complexity will tend to increase as a modelling project iterates through the cycle. Starting with a simple model will help ensure that the project converges on an appropriate level of complexity. Sometimes it is worth resetting the cycle by starting again with a simpler model.
64
80
65
-
We will use this model refinement cycle to provide context when concepts are introduced in the workshop. The instructor will take a modelling example through one cycle during the workshop (Note: The example that we will use needs to be discussed as the contract proceeds). Participants will be given time to try some of these techniques on their own models.
81
+
We will use this model refinement cycle to provide context when concepts are introduced in the workshop. The instructor will take a modelling example through one cycle during the workshop. Participants will be given time to try some of these techniques on their own models.
66
82
67
83
## Objectives
68
84
69
85
The overall goal of the workshop is to introduce epidemiological modellers to the `macpan2` software for compartmental modelling to support public health. Each [session](#schedule) will cover techniques associated with one of the steps in the [model refinement cycle](#background).
70
86
71
-
There will not be enough time in the workshop to cover all of `macpan2`, so there will be a [companion set of online materials](https://canmod.github.io/macpan-workshop/companion-materials) that will cover more of the options available to modellers.
87
+
There will not be enough time in the workshop to cover all of `macpan2`, so there will be a companion set of online materials that will cover more of the available options.
72
88
73
89
74
90
<!-- omit from toc -->
@@ -79,7 +95,7 @@ Participants will learn about the following types of tasks required for explorin
79
95
* Find simulation models in the `macpan2`[library](#library-models) of starter models.
80
96
* Create simulation models from scratch.
81
97
* Run, summarize, and visualize simulations.
82
-
* Identify sets of model quantities to be parameterized.
98
+
* Identify sets of model quantities to be calibrated.
83
99
* Describe the relationships between the values of parameter inputs and simulated outputs.
84
100
* Prepare certain [types of data](#types-of-data) so that they can be compared with `macpan2` simulation output, both visually and numerically.
85
101
* Make [modifications to models](#model-modification-tools) in the library.
@@ -88,20 +104,20 @@ Participants will learn about the following types of tasks required for explorin
88
104
89
105
90
106
<!-- omit from toc -->
91
-
#### Session 2: Parameterization (Calibration)
107
+
#### Session 2: Calibration
92
108
93
109
Participants will learn about the following types of tasks required for parameterizing models, for exploring scenarios and making inferences and predictions about a particular population and public health problem.
94
110
95
111
* Use [optimization](#optimization) to calibrate parameters (e.g., transmission rate) so that the discrepancy between observed and simulated data is minimized.
96
112
* Apply basic troubleshooting techniques when optimization fails.
97
113
* Express uncertainty in model parameters (e.g., transmission rate) with prior distributions.
98
-
* Calibrate the functional form of time-variation of parameters using machine learning sub-models embedded within epidemiological models. This is a useful technique when the reasons for parameter time-variation are not well-understood.
114
+
* Calibrate the functional form of time-variation of parameters.
99
115
100
116
101
117
<!-- omit from toc -->
102
118
#### Session 3: Inference
103
119
104
-
Participants will learn about the following types of tasks that are often necessary when making inferences using realistically parameterized models.
120
+
Participants will learn about the following types of tasks that are often necessary when making inferences using calibrated models.
105
121
106
122
* Visualize goodness-of-fit.
107
123
* Generate confidence intervals for estimated parameters.
@@ -127,35 +143,10 @@ After participating in the workshop, modellers will be able to do the following.
127
143
128
144
* Determine if compartmental modelling is an appropriate tool for a particular applied public health problem.
129
145
* Use `macpan2` to create a simple compartmental model for a real public health problem.
130
-
* Navigate the [documentation](https://canmod.github.io/macpan2)and the [workshop companion material](https://canmod.github.io/macpan-workshop/companion-materials)to learn how to solve compartmental modelling problems that `macpan2` is able to solve.
146
+
* Navigate the [documentation](https://canmod.github.io/macpan2) to learn how to solve compartmental modelling problems that `macpan2` is able to solve.
131
147
* Suggest improvements to `macpan2`.
132
148
133
-
134
-
## Schedule
135
-
136
-
| Time | Activity |
137
-
| ----------- | ------------------------------- |
138
-
| 10:00-10:15 |**Welcome and Introduction**|
139
-
| 10:15-11:00 |**Session 1a: Exploration**|
140
-
| 11:00-11:15 |**Break**|
141
-
| 11:15-12:00 |**Session 1b: Exploration**|
142
-
| 12:00-1:00 |**Lunch**|
143
-
| 1:00-1:45 |**Session 2: Parameterization**|
144
-
| 1:45-2:00 |**Break**|
145
-
| 2:00-2:45 |**Session 3: Inference**|
146
-
| 2:45-3:00 |**Break**|
147
-
| 3:00-3:30 |**Session 4: Stratification**|
148
-
| 3:30-3:45 |**Feedback**|
149
-
| 3:45-4:00 |**Finishing and Packing Up**|
150
-
151
-
152
149
## Preparation
153
150
154
151
* Follow the [technical preparation](https://canmod.github.io/macpan-workshop/technical-preparation) document to ensure that your computer is ready for the workshop.
155
152
* Read the [video resources](https://canmod.github.io/macpan-workshop/video-resources) document and prioritize watching the first three videos giving background on the macpan2 software.
156
-
157
-
## Footnotes
158
-
159
-
[^Rfamiliarity]: Although participants familiar with [R](https://www.r-project.org/) will be more comfortable with the material, familiarity will not be assumed.
160
-
161
-
[^statisticalmodelling]: Deep technical knowledge is not required. We will briefly review some statistical concepts, including prediction intervals, parameter estimates, likelihood functions, and prior distributions, so that everyone is on the same page.
0 commit comments