Open djinnome opened 6 months ago
Scenario 1 notebook PR https://github.com/ciemss/pyciemss/pull/501 , with notebook located here.
@VigneshSella the notebook link above doesn't work, is it supposed to?
No this link is deprecated now, we're working within this branch/repo itself now: https://github.com/ciemss/program-milestones/tree/epi-scenario-1/18-month-milestone/hackathon/epi/scenario1/ciemss
Scenario 1: Calibrating models and estimating causal effects
In this scenario, we are interested in determining the effects of masking and social distancing on Covid-19 infections using simulated data for four different countries: Afghanistan, Colombia, France, and the United Kingdom. The simulations use contact matrices and populations subdivided into age groups for each of the countries. In these simulations, each country implements interventions at the same time, and we are interested in understanding how the effects of the interventions differ between countries. The data are generated from an SEIRD model.
In these questions, we provide the contact matrices and population data for each country, as well as the outputs of the simulated SEIRD model. We ask you to calibrate a model to estimate R0, and to estimate the causal effects of interventions.
In the data provided, UK_population.csv and UK_contact_matrix.csv contain data on the population counts and the contact matrix for each age group in the UK. ‘UK_compartments.csv’ has compartments
S, E, ICase, IMild, R
, andD
. All patients inIMild
transition toR
, whereas all patients inICase
transition to the hospital (IHospital
, not currently included in this output).From there, some patients recover and others transition to D. ‘UK_infections.csv’ has total infections for each day. There are analogous files for the other countries.
In each country:
During this same time frame, each country begins implementing a social distancing policy at t = 60 days. Due to the policy, contact decreases to 30% of its original levels for the interactions of people over the age of 65 with others over the age of 65 (i.e., the 3x3 matrix on the bottom right of the contact matrix) and it decreases to 60% of its original levels otherwise.
Because this model is stochastic, (in particular, the number of people transitioning between compartments is randomly drawn from a binomial distribution), we run each simulation ten times for each country. The dt parameter is set to 0.2 so that there are 5 time steps per day and 1000 time steps in each 200-day simulation.
For example, one simulation exhibits the following data:
Using the data provided, which includes contact matrices and population counts for all four countries, along with the output from running 10 simulations for each country:
(Optional)