Answer:
The probability that she has breast cancer if she gives a positive test result is P=0,16.
Step-by-step explanation:
The information we have is:
P(C)=1/101≈0.01
P(H)=100/101≈0.99
P(P|C)=0.80 (probability of having a positive result given that the patient has cancer)
P(P|H)=0.05 (probability of having a positive result given that the patient hasn't cancer)
where the events are:
C: have cancer
H: not have cancer
P: positive test
We need to calculate P(C|P), the probability of having cancer given a positive test result.
According to the Bayes theorem, we have:
[tex]P(C|P)=\frac{P(C)*P(P|C)}{P(C)*P(P|C)+P(H)*P(P|H)}\\\\P(C|P)=\frac{0.01*0.80}{0.01*0.8+0.99*0.05}=\frac{0.008}{0.008+0.050}=\frac{0.008}{0.050}= 0.16[/tex]
The probability that she has breast cancer if she gives a positive test result is P=0,16.