Giter Club home page Giter Club logo

sanseir's Introduction

SanSEIR

Solves a stochastic SEIR model for disease progression. SanSEIR reproduces the results presented in the paper

Yao Yu Yeo, Yao-Rui Yeo, Wan-Jin Yeo, A Computational Model for Estimating the Progression of the COVID-19 Cases in the US West and East Coasts, MedRxiv, https://doi.org/10.1101/2020.03.24.20043026

Sample results based on the inputs of Yeo et al. are given in the yeo-etal directory.

Building and Running

To build with gfortran simply:

make

You will need to modify the Makefile if you use a different FORTRAN compiler. Once you have sanseir build, to run simply pass the input file (in FORTRAN namelist format) as an argument

cd yeo-etal/usa
../../sanseir.exe usa.inp

This generates an ensemble of 50 runs with output files called output.*, scaled.*, rates.*.

These can be plotted using gnuplot. For example, to plot the cummulative deaths

gnuplot
plot for [i=1:50] file=sprintf("output.%d",i) file using 1:12 w l lt 'grey' title ""

There are a number of gnuplot scripts for making typical plots in the plot directory.

For example, to make the West Coast plot shown at the bottom of this page, do the following

cd yeo-etal/west
../../sanseir.exe west.inp
gnuplot
load "../../plot/all-infected.com"

Descriptions of contents

Item Description
yeo-etal Inputs and results for https://doi.org/10.1101/2020.03.24.20043026
test Additional experimental input files
plot Scripts to make plots using gnuplot
sanseir.f90 SanSEIR source code in FORTRAN90
cleanup Script to cleanup all output files from SanSEIR`

Baseline results: Infections on the West Coast

West Coast Infections

Baseline results: Infections on the East Coast

East Coast Infections

Baseline results: Infections for USA

USA Infections

S. Scott Collis\

sanseir's People

Contributors

sscoll avatar sscollis avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.