-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.R
42 lines (34 loc) · 1 KB
/
parameters.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## ---------------------------
##
## Script name: parameters.R
##
## Purpose of script: load up parameters needed
##
## Author: Ben Phillips
##
## Date Created: 2020-03-24
##
## Email: [email protected]
##
## ---------------------------
##
## Notes: Most of these are taken from Alison Hill's curated spreadsheet (fully referenced)
## Format will be {best, high low}
##
## --------------------------
## load up the packages we will need
## ---------------------------
# proportion symptomatic not requiring hospitalisation
fracMild <- c(0.8, 0.27, 0.81)
# proportion requiring hospitalisation but not ICU
fracSevere <- c(0.15, 0.14, 0.24)
# proportion requiring ICU
fracCritical <- c(0.05, 0.02, 0.06)
# duration of hospitalisation severe infection
durSevInf <- c(6, 5, 14)
# duration of hospitalisation, critical infection (includes + 8 days ICU)
durCritInf <- c(14, 13, 22)
# time from symptom onset to hospitalisation (days)
t_H <- c(6, 4.5, 12)
# case fatality ratio (symptomatic only)
cfr <- c(0.033)