science-notes/source/statistics/bayes_theorem.rst

20 lines
747 B
ReStructuredText
Raw Normal View History

2023-10-15 18:12:50 +02:00
Bayes' Theorem
---------------
2023-10-16 17:26:45 +02:00
This page is inpired from `MathIsFun <https://www.mathsisfun.com/data/bayes-theorem.html>`__.
2023-10-16 17:28:57 +02:00
Video from 3Blue1Brown
2023-10-16 17:26:45 +02:00
=========
.. raw:: html
<video controls class="align-center" width="320" height="240" src="../_static/videos/bayes_theorem.mp4"></video>
2023-10-16 17:28:57 +02:00
<br><br>
2023-10-16 17:26:45 +02:00
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?