Skip to content

Commit ee70227

Browse files
committed
differences for PR #91
1 parent 5616a2a commit ee70227

File tree

4 files changed

+5355
-0
lines changed

4 files changed

+5355
-0
lines changed

config.yaml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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: 'epiverse-trace'
12+
13+
# Overall title for pages.
14+
title: 'Scenario modelling for 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: 'epidemic models, interventions'
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 materials (recommended CC-BY 4.0)
27+
license: 'CC-BY 4.0'
28+
29+
# Link to the source repository for this lesson
30+
source: 'https://github.com/epiverse-trace/tutorials-late'
31+
32+
# Default branch of your lesson
33+
branch: 'main'
34+
35+
# Who to contact if there are any issues
36+
contact: 'andree.valle-campos@lshtm.ac.uk'
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+
- contact-matrices.Rmd
63+
- simulating-transmission.Rmd
64+
- model-choices.Rmd
65+
- modelling-interventions.Rmd
66+
- compare-interventions.Rmd
67+
- vaccine-comparisons.Rmd
68+
- disease-burden.Rmd
69+
70+
# Information for Learners
71+
learners:
72+
73+
# Information for Instructors
74+
instructors:
75+
76+
# Learner Profiles
77+
profiles:
78+
79+
# Customisation ---------------------------------------------
80+
#
81+
# This space below is where custom yaml items (e.g. pinning
82+
# sandpaper and varnish versions) should live
83+
84+
85+
varnish: epiverse-trace/varnish@epiversetheme
86+
sandpaper: epiverse-trace/sandpaper@patch-renv-github-bug

md5sum.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"episodes/vaccine-comparisons.Rmd" "98921aa7df3045022a11a8b2774dfc7a" "site/built/vaccine-comparisons.md" "2025-04-01"
1313
"episodes/disease-burden.Rmd" "1259f9aa26a8ee46ec998447d7794c6a" "site/built/disease-burden.md" "2025-04-01"
1414
"instructors/instructor-notes.md" "ca3834a1b0f9e70c4702aa7a367a6bb5" "site/built/instructor-notes.md" "2025-04-01"
15+
"instructors/practical-late.md" "cd4a7a17eea6ceabd6ec4de8c0897ec8" "site/built/practical-late.md" "2025-04-04"
1516
"learners/BF_measles.Rmd" "96bb097b26f09276c095e12f5c9927dc" "site/built/BF_measles.md" "2025-04-01"
1617
"learners/reference.md" "9e836f1ec999f95f55135cdd2c78d2e6" "site/built/reference.md" "2025-04-01"
1718
"learners/setup.md" "30977fe4b0add6ea48f908226b2a2204" "site/built/setup.md" "2025-04-01"

practical-late.md

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
# Week 2: Name
2+
3+
<!-- visible for instructors only -->
4+
<!-- practical-week.md is generated from practical-week.qmd. Please edit that file -->
5+
<!-- commit .md and .qmd files together -->
6+
<!-- does not work for instructors text messages -->
7+
<!-- works for text on PDF and MD only -->
8+
9+
This practical is based in the following tutorial episodes:
10+
11+
- <link/episode>
12+
- <link/episode>
13+
14+
Welcome!
15+
16+
- A reminder of our Code of Conduct:
17+
- <https://github.com/epiverse-trace/.github/blob/main/CODE_OF_CONDUCT.md>
18+
- If you experience or witness unacceptable behaviour, or have any other
19+
concerns, please report by email or online form available at the “How
20+
to report a violation” section.
21+
- To report an issue involving one of the organisers, please use the
22+
LSHTM’s Report and Support tool, where your concern will be triaged by
23+
a member of LSHTM’s Equity and Diversity Team.
24+
- <https://reportandsupport.lshtm.ac.uk/>
25+
26+
Roll call:
27+
28+
- Group 1: …, …
29+
- Group 2: …, …
30+
- Group 3: …, …
31+
- Group 4: …, …
32+
- Group 5: …, …
33+
- Group 6: …, …
34+
35+
# Practical
36+
37+
<!-- visible for learners and instructors at practical -->
38+
39+
This practical has two activities.
40+
41+
Before your start, as a group:
42+
43+
- Create one copy of the Posit Cloud project `<paste link>`.
44+
- Solve each challenge using the `Code chunk` as a guide.
45+
- Paste your figure and table outputs.
46+
- Write your answer to the questions.
47+
- Choose one person from your group to share your results with everyone.
48+
49+
During the practical, instead of copy-paste, we encourage learners to
50+
increase their fluency writing R by using:
51+
52+
- Tab key <kbd>↹</kbd> for [code completion
53+
feature](https://support.posit.co/hc/en-us/articles/205273297-Code-Completion-in-the-RStudio-IDE)
54+
and [possible arguments
55+
displayed](https://docs.posit.co/ide/user/ide/guide/code/console.html).
56+
- The double-colon `package::function()` notation. This helps us
57+
remember package functions and avoid namespace conflicts.
58+
- [R
59+
shortcuts](https://positron.posit.co/keyboard-shortcuts.html#r-shortcuts):
60+
- `Cmd/Ctrl`+`Shift`+`M` to Insert the pipe operator (`|>` or `%>%`)
61+
- `Alt`+`-` to Insert the assignment operator (`<-`)
62+
- The `help()` function or `?` operator to access function reference
63+
manual.
64+
65+
# Paste your !Error messages here
66+
67+
68+
69+
70+
71+
72+
## Activity 1: Theme
73+
74+
Estimate … using the following available inputs:
75+
76+
- input 1
77+
- input 2
78+
79+
As a group, Write your answer to these questions:
80+
81+
- … phase?
82+
- … results expected?
83+
- Interpret: How would you communicate these results to a
84+
decision-maker?
85+
- Compare: What differences you identify from other group outputs? (if
86+
available)
87+
88+
### Inputs
89+
90+
| Group | Incidence | Link |
91+
|-------|---------------|---------------------------------------------------------------------------|
92+
| 1 | COVID 30 days | <https://epiverse-trace.github.io/tutorials-middle/data/covid_30days.rds> |
93+
| 2 | Ebola 35 days | |
94+
| 3 | Ebola 60 days | |
95+
| 4 | COVID 60 days | |
96+
97+
| Disease | params |
98+
|---------|--------|
99+
| Ebola ||
100+
| COVID ||
101+
102+
### Solution
103+
104+
<!-- visible for instructors and learners after practical (solutions) -->
105+
106+
#### Code
107+
108+
``` r
109+
# Load packages -----------------------------------------------------------
110+
library(epiparameter)
111+
library(EpiNow2)
112+
library(tidyverse)
113+
114+
# Read reported cases -----------------------------------------------------
115+
116+
# runnable howto-like
117+
```
118+
119+
#### Outputs
120+
121+
##### Group 4: COVID 60 days
122+
123+
With reporting delay plus Incubation time:
124+
<img src="https://hackmd.io/_uploads/S1q6ItjvC.png" style="width:50.0%"
125+
alt="image" />
126+
127+
With reporting delay plus Incubation time:
128+
129+
> summary(covid60_epinow_delays)
130+
measure estimate
131+
<char> <char>
132+
1: New infections per day 1987 (760 -- 4566)
133+
2: Expected change in daily reports Likely decreasing
134+
3: Effective reproduction no. 0.81 (0.43 -- 1.3)
135+
4: Rate of growth -0.047 (-0.2 -- 0.092)
136+
5: Doubling/halving time (days) -15 (7.5 -- -3.5)
137+
138+
#### Interpretation
139+
140+
Interpretation template:
141+
142+
- From the summary of our analysis we see that the expected change in
143+
reports is `Likely decreasing` with the estimated new infections, on
144+
average, of `1987` with 90% credible interval of `760` to `4566`.
145+
146+
-
147+
148+
Interpretation Helpers:
149+
150+
- About the effective reproduction number:
151+
- An Rt greater than 1 implies an increase in cases or an epidemic.
152+
- An Rt less than 1 implies a decrease in cases or extinction.
153+
-
154+
155+
# Continue your learning path
156+
157+
<!-- Suggest learners to Epiverse-TRACE documentation or external resources --->
158+
159+
Where
160+
161+
- <link>
162+
163+
# end

0 commit comments

Comments
 (0)