add US CDC age-stratified IFR

This commit is contained in:
Marc Bevand
2020-09-25 23:19:23 -07:00
parent 7f13c349f1
commit 73d742e4d1
+8 -10
View File
@@ -90,17 +90,15 @@ for (bracket, deaths) in deaths_by_age.items():
ifrs[bracket] = ifr ifrs[bracket] = ifr
print('True IFR may be higher due to right-censoring and under-reporting of deaths') print('True IFR may be higher due to right-censoring and under-reporting of deaths')
# unused, test code # IFRs estimated by the US CDC as of 10 Sep 2020
ifrs_test = { # https://www.cdc.gov/coronavirus/2019-ncov/hcp/planning-scenarios.html
(0,9): 0.01, ifrs_cdc = {
(10,19): 0.00, (0,19): 0.00003 * 100,
(20,29): 0.01, (20,49): 0.0002 * 100,
(30,39): 0.03, (50,69): 0.005 * 100,
(40,49): 0.11, (70,199): 0.054 * 100,
(50,59): 0.22,
(60,69): 0.71,
(70,199): 2.40,
} }
#ifrs = ifrs_cdc
# Now we apply the age-stratified IFR to a target country with a different # Now we apply the age-stratified IFR to a target country with a different
# population pyramid. # population pyramid.