Let there be two events and . Denote the probabilities of and occurring independently be and . Let denote the probability of event occurring given happens, and the probability of event occurring given happens. Bayes’ Theorem states,
.
Take an example where the chance of getting COVID-19 is 64%. For our COVID-19 test, there will be a 1% chance that the test obtains a false positive, and a 5% chance that the test obtains a false negative.
Question: Suppose the test returns positive. What is the probability you really have COVID-19?