File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 9
9
from typing import Optional
10
10
11
11
12
- # (0.02, 7) is 2%, 7 days
13
- # be sure to multiply by 100 when using as a default to the percent widgets!
12
+ # Parameters for each disposition (hospitalized, icu, ventilated)
13
+ # The rate of disposition within the population of infected
14
+ # The average number days a patient has such disposition
15
+
16
+ # Hospitalized:
17
+ # 2.5 percent of the infected population are hospitalized: hospitalized.rate is 0.025
18
+ # Average hospital length of stay is 7 days: hospitalized.days = 7
19
+
20
+ # ICU:
21
+ # 0.75 percent of the infected population are in the ICU: icu.rate is 0.0075
22
+ # Average number of days in an ICU is 9 days: icu.days = 9
23
+
24
+ # Ventilated:
25
+ # 0.5 percent of the infected population are on a ventilator: ventilated.rate is 0.005
26
+ # Average number of days on a ventilator: ventilated.days = 10
27
+
28
+ # Be sure to multiply by 100 when using the parameter as a default to a percent widget!
29
+
30
+
14
31
Disposition = namedtuple ("Disposition" , ("rate" , "days" ))
15
32
16
33
You can’t perform that action at this time.
0 commit comments