In this problem we are going to calculate the probability that a patient has an illness given a positive test result for the illness. A positive test result means the test thinks the patient has the illness.
Things that we know:
This example was originally presented in the context of the nasal swab tests for COVID-19. I realize that may be sensitive to some of you. The seriousness of this pandemic underscores the potential for Bayesian probability to be applied to important contexts.
The probability that the patient has the illness given a positive test result is: