Bayes' Theorem
---------------

This page is inpired from `MathIsFun <https://www.mathsisfun.com/data/bayes-theorem.html>`__.

Video
=========

.. raw:: html
         
         <video controls class="align-center" width="320" height="240" src="../_static/videos/bayes_theorem.mp4"></video>

Example
=========

Hunter says she is itchy. There is a test for Allergy to Cats, but this test is not always right:
For people that really do have the allergy, the test says "Yes" 80% of the time
For people that do not have the allergy, the test says "Yes" 10% of the time ("false positive")
If 1% of the population have the allergy, and Hunter's test says "Yes", what are the chances that Hunter really has the allergy?
