We shall denote by "A" and "B" the following events:
Event "A" : A person has a disease;
Event "B" : A test for a person is positive;
The aim is to find a conditional probability "p(A|B)" . Namely, we have (https://en.wikipedia.org/wiki/Conditional_probability):
"p(A|B)=\\frac{p(A\\cap B)}{p(B)}"
By direct computations we have: "p(A\\cap B)=0.08\\cdot0.8=0.064"
In order to compute "p(B)" we use the law of total probability. Namely, we have:
"p(B)=0.08\\cdot0.8+0.92\\cdot0.2=0.248"
Thus, we receive:
"p(A|B)=0.2581" (it is rounded to 4 decimal places)
Answer: 0.2581 (it is rounded to 4 decimal places)
Comments
Leave a comment