Skip to content

Code and data for an agent-based model of COVID-19 spread incorporating distributions of age and household structure.

License

Notifications You must be signed in to change notification settings

rebekka-burkholz/COVID19-Demography

 
 

Repository files navigation

Agent-based Modeling of COVID19 using age distribution and family structure

Code for the preprint: The Role of Age Distribution and Family Structure on COVID-19 Dynamics: A Preliminary Modeling Assessment for Hubei and Lombardy

Running experiments

  • To get started: python3 run_simulation.py

  • To run simulations of different age-based policies python3 simulate_agepolicies.py -h

  • To run large scale parameter sweeps python3 parameter_sweep.py -h

    • Also see: README_parameter_sweep.txt

The simulator

See seir_individual.py

Fitting comorbidity models

See comorbidity_inference.py. Estimates from the paper are already saved, so you can start doing simulations without rerunning this step unless you would like to fit your own model.

Data sources needed to run for specific country

Data already available in model (most countries)

  1. Age distribution: Source
  2. Age specific fertility of mothers: Source
  3. Contact Matrices: Source

Outside data needed:

  1. Distribution of household types: single household, couple without children, single parent +1/2/3 children, couple +1/2/3 children, family without a nucleus, nucleus with other persons, households with two or more nuclei (a and b)
  2. Age specific rates of diabetes
  3. Age specific rates of hypertension

About

Code and data for an agent-based model of COVID-19 spread incorporating distributions of age and household structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 65.5%
  • Python 34.3%
  • Shell 0.2%