Giter VIP home page Giter VIP logo

batchtest_covid19's Introduction

Batch Test for COVID-19

This repository explores the techniques developed in:

[Modeling and Computation of High Efficiency and Efficacy Multi-Step Batch Testing for Infectious Diseases] (https://arxiv.org/abs/2006.16079) Hongshik Ahn, Haoran Jiang, and Xiaolin Li

Table of Contents

  1. Installation
  2. Motivation
  3. Code and Notebook

Installation

This project requires Python 3.x and the following Python libraries installed:

  • Scipy
  • Numpy
  • Pandas
  • matplotlib
  • scikit-learn
  • Numba

Installation is easily done by using pip.

  1. Create or activate a virtual environment (e.g. using virtualenv or conda)
  2. Install required packages
cd <your directory>
git clone https://github.com/Haoran-Jiang/batchtest_covid19
cd batchtest_covid19
pip install --ignore-installed -r requirements.txt

You will also need to have software installed to run and execute an iPython Notebook

We recommend you install Anaconda, a pre-packaged Python distribution that contains most of the necessary libraies and software for this project.

Motivation

We propose a mathematical model based on probability theory to optimize COVID-19 testing by a multi-step batch testing approach with variable batch sizes. This model and simulation tool dramatically increase the efficiency and efficacy of the tests in a large population at a low cost, particularly when the infection rate is low. The proposed method combines statistical modeling with numerical methods to solve nonlinear equations and obtain optimal batch sizes at each step of tests, with the flexibility to incorporate geographic and demographic information. In theory, this method substantially improves the false positive rate and positive predictive value as well. We also conducted a Monte Carlo simulation to verify this theory. Our simulation results show that our method significantly reduces the false negative rate. More accurate assessment can be made if the dilution effect or other practical factors are taken into consideration. The proposed method will be particularly useful for the early detection of infectious diseases and prevention of future pandemics. The proposed work will have broader impacts on medical testing for contagious diseases in general.

Code and Notebook

All necessary code is contained in fast_btk.py. We have one notebook showing how to run our code and reproduce results.

Citation

@misc{ahn2020modeling,
      title={Modeling and Computation of High Efficiency and Efficacy Multi-Step Batch Testing for Infectious Diseases}, 
      author={Hongshik Ahn and Haoran Jiang and Xiaolin Li},
      year={2020},
      eprint={2006.16079},
      archivePrefix={arXiv},
      primaryClass={stat.ME}
}

batchtest_covid19's People

Contributors

haoran-jiang avatar

Watchers

 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.