cmhoove14 / LEMMAABMv4

GNU General Public License v3.0
0 stars 2 forks source link

LEMMAABMv4

Overview

LEMMAABMv4 is an agent-based model of COVID-19 transmission dynamics, currently parameterized to represent the city and county of San Francisco. Future development may focus on generalizing data importation and processing for use in other settings. Transmission proceeds through a modified Susceptible-Exposed-Infected-Recovered (SEIR) model that allows for inclusion of pre- and asymptomatic states ($I_p$ and $I_a$ , respectively) and age-dependent variability in symptom severity ($Im$, mildly symptomatic, and $I{mh}$ to $I_h$ for symptomatic pre-hospitalization and hospitalized, respectively) and mortality. Agent movement between census tracts is informed by Safegraph mobility metrics derived from anonymized mobile phone panels. There are no explicit network connections, rather all agents are members of households, workplaces, and communities which they attend depending on circumstances of the simulation and transmission occurs according to a location-specific FOI for each location at each time step.

User Guide

Installation

devtools::install_github("cmhoove14/LEMMAABMv4")

Installation will load all scripts necessary to set up and simulate the model, but the data folder also contains pre-processed data inputs that will allow users to simulate the model right out of the box. Forking the repository may therefore be the best route to quick and easy setup and simulation.

Simulation

The main simulation function is covid_abm_v4 which takes inputs:

The bash folder also contains scripts to run in parallel via bash scripts in which model inputs are passed in shell