NMB DASA Covid-19 User Guide

From Numerus
Jump to navigation Jump to search

Overview

This WebApp contains a new extended SEIR model and simulation engine for tracking the progress of instances and mortality in the Covid-19 pandemic, based on a set of 20 model parameter inputs. The model and simulation are used to fit sample data and subsequently facilitate forecasting under various conditions.

The user creates a project by:

  • Providing some initial settings for model inputs (default settings are available); and
  • Uploading a CSV file containing sequences of incidence and mortality data over some span of days.

Model data are retained by the WebApp for use on all pages. Data will be retained even if the WebApp is reloaded. Model input settings are first tuned by fitting the simulation to the sample curves up to any point in their length. Forecasting with various scenarios can start at any point of fitting interval of the sample sequence. Forecasting begins with the model initialized to the state determined by the fit.

During forecasting two sets of data are used:

  • Optimization Settings (shown in green) are the results of performing the data fit and are used until a selected Forecast Onset point, chosen in the range of the fit, to initialize the state of the model to the state obtained by the fit. Optimization settings also appear on the settings page.
  • Forecast Settings (shown in red) kick in at the Forecast Onset and may include changes in slider values and switch positions. In particular, enabling the Det_Stoc switch introduces randomness into the simulation during the forecast.

An MCMC Metropolis-Hastings algorithm implementation page produces MCMC distributions for selected parameters. These can be used to select new parameter values for use from the point of Forecast Onset

The Model

A schematic of the model is shown below. Note that it has an expanded number of classes and divides its inputs into Epidemic Parameters and Drivers.



Model.png

Model inputs are organized into two groups:

  • Epidemic Parameters: These are fixed at the beginning of the simulation or at the beginning of a forecast run.
  • Drivers: These are either fixed like the parameters or, if "switched-on" will follow a logistic "ramping up" pattern at a given switch time and with a given slope.



Model1.png

Further details are provided | here

WebApp Organization

The site is organized into these pages:

  • The Settings Page: Create, save, load and edit a project pairing sample data with initial model inputs.
  • The Optimization Page: Select model inputs to vary and perform a Nelder-Mead optimization using an MLE error calculation to fit the data.
  • The Forecast Page: Investigate various future scenarios by changing model inputs with the model tuned according to the optimization.
  • The MCMC Page: Create parameter distributions using the method of Markov chain Monte Carlo (MCMC) for stochastic forecasting.

Important: the WebApp maintains a single database of inputs and other settings. Changes made on any page after initial settings are recorded are propagated to all pages.

Settings Page

Model settings are entered into three tables:

  • Epidemic Parameters: Enter 3 values for each: minimum, preferred, maximum.



Fig1.png

  • Drivers: Entries in this table define the location and shape of the logistic onset for each driver.
Switches on the optimization and forecast page determine the choice of driver values.
Pre-onset values are used throughout if the driver is not "switched on".


Fig2.png
The Epidemic and Driver values entered when the project is being set up are stored as both Optimization and Forecast settings. Later this page can be used to view the changes between these parameter sets by clicking the "Optimization Settings" or "Forecast Settings" radio buttons.

  • Timing Settings
    • Fitting interval [0, Tfit] on which optimization will take place.
    • Data size: Determined by the WebApp when data is uploaded.
    • Simulation start/finish: Simulations currently must start at 0. Forecast end time should exceed the fitting interval.


Fig3.png  Fig4.png
Note: These settings can be overridden on subsequent pages.