GithubHelp home page GithubHelp logo

mpanaggio / positive-predictive-value Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yungster/positive-predictive-value

0.0 1.0 0.0 384 KB

Interactive Tool for Interpreting positive COVID-19 antibody tests

Home Page: https://yungster.github.io/positive-predictive-value/

HTML 81.13% JavaScript 18.87%

positive-predictive-value's Introduction

Positive Predictive Value Calculator

This work consists of an interactive visualization of the positive predictive value (i.e. precision) of a COVID-19 antibody test given the antibody prevalence in a population (i.e. the fraction of the population that possesses COVID-19 antibodies). The positive predictive value of a test gives the probability of having a condition given a positive test result for a test of that condition.

While this tool presents the result in the context of COVID-19 antibody testing, it can apply to population testing for any condition. For example, in the context of testing for the COVID-19 virus, the selected prevalence would be the fraction of a population that is currently infected with the virus.

The calculator updates the positive predictive value based on user selections for the prevalence in the population and the false positive/negative rates for the test. The population prevalence is used as the prior probability for possessing antibodies.

Demo Graphic

Blog Posts

The work complements two blog posts from April 2020 on the topic of, Where You Live Affects What Your COVID-19 Test Means.

The concept for this visualization comes from one created by Yael Yungster and Jeff Mekler in the second blog post above to illustrate the false positive paradox.

False Positive Paradox

Even with very accurate tests, positive predictive power can be low when a condition is rare in a population. In particular, when the false positive rate is higher than the prevalence of the condition, this can give rise to what's sometimes referred to as a false positive paradox, or a base rate fallacy.

Computation of Positive Predictive Value

This is calculated with Bayes' Theorem:

positive-predictive-value's People

Contributors

yungster avatar

Watchers

James Cloos 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.