Git Product home page Git Product logo

seir_pde's Introduction

SEIR PDE

SEIR PDE estimates effective distance based on time series data of infection, enabling us to understand infection-related human mobility networks.

Manuscript (preprint)

Tetsuya Yamada* and Shoi Shi*, Estimating infection-related human mobility networks based on time series data of COVID-19 infection in Japan. bioRxiv.

Requirements

This project requires the following libraries.

  • NumPy
  • SciPy
  • Pandas
  • odeintw > 0.1.0
  • emcee > 3.0.0
  • corner > 2.2.0
  • tqdm

Folder structure

src

All source codes used in our manuscript are in this folder.

  • models.py:
    • The SEIR model expressed by ordinary differential equations (ODE)
    • The diffusion model expressed by partial differential equations (PDE).
    • The diffusion model that was used for estimating impacts of the effective distance on the scale of the pandemic.
    • The diffusion model in inter-prefecture network graph.
  • mcmc.py:
    Run Markov chain Monte Carlo (MCMC) using affine invariant methods to estimate parameters, judge convergence based on an auto-correlation function, and visualize a result using estimated parameters.
  • cartogram.py
    Distort a map based on the effective distance from a reference point (e.g., Tokyo) and local connectivity such as geographical distance between nearby prefectures.

cartogram

cli

You can use command line interface to run source codes in src.

data

All data used in our manuscript are in this folder.

  • distance.xlsx:
    Geographical distance between any two prefectures.
  • gadm36_JPN.gpkg:
    GeoPackage data of the entire Japan, downloaded from Database of Global Administrative Areas (GADM).
  • passenger_traffic_2019.xlsx:
    The survey data of passenger traffic between prefectures in 2019, provided by Ministry of Land, Infrastructure, Transport, and Tourism.
  • population.csv:
    Population in each prefecture, provided by Statistics Bureau of Japan.
  • prefectures.csv:
    Infection status by prefecture, provided by Toyo Keizai Inc.

seir_pde's People

Stargazers

Alonso Ogueda-Oliva avatar

Watchers

Tetsuya Yamada-Saito avatar

Forkers

janeteey

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.