Answer:
0.967 = 96.7% probability the rock sample actually contains raritanium
Step-by-step explanation:
Conditional Probability
We use the conditional probability formula to solve this question. It is
[tex]P(B|A) = \frac{P(A \cap B)}{P(A)}[/tex]
In which
P(B|A) is the probability of event B happening, given that A happened.
[tex]P(A \cap B)[/tex] is the probability of both A and B happening.
P(A) is the probability of A happening.
In this question:
Event A: Positive reading
Event B: Contains raritanium
Probability of a positive reading:
98% of 13%(positive when there is raritanium).
0.5% of 100-13 = 87%(false positive, positive when there is no raritanium). So
[tex]P(A) = 0.98*0.13 + 0.005*0.87 = 0.13175[/tex]
Positive when there is raritanium:
98% of 13%
[tex]P(A) = 0.98*0.13 = 0.1274[/tex]
What is the probability the rock sample actually contains raritanium?
[tex]P(B|A) = \frac{P(A \cap B)}{P(A)} = \frac{0.1274}{0.13175} = 0.967[/tex]
0.967 = 96.7% probability the rock sample actually contains raritanium