7. (20 points) Alice got a positive result from her breast cancer test, i.e. diagnose to…
- User
- (20 points) Alice got a positive result from her breast cancer test, i.e. diagnose to have a breast cancer. under the below conditions, what’s the probability that Alice has breast cancer? 1% of women have breast cancer in general 80% of people who have breast cancer get positive result from the test (true-positive case) 10% of people who don’t have breast cancer get positive result from the test (false-positive case)
[hint] Please use Bayes Theorem :
In this case, it will be Probability ( having cancer | got positive result ) = Probability ( got positive result | having cancer ) * Probability (having cancer) / Probability (got positive result)
- Assistant
Probability (having cancer) = 0.01 (given in the problem)
Probability (got positive result | having cancer) = 0.80 (given in the problem)
Probability (got positive result) = (Probability of true-positive + Probability of false-positive) = (0.80 * 0.01) + (0.10 * 0.99) = 0.018
Using Bayes Theorem, we get:
Probability (having cancer | got positive result) = (0.80 * 0.01) / 0.018 = 0.4444
Therefore, the probability that Alice has breast cancer given a positive test result is 44.44%.
- User
- (20 points) Alice got a positive result from her breast cancer test, i.e. diagnose to have a breast cancer. under the below conditions, what’s the probability that Alice has breast cancer? 1% of women have breast cancer in general 80% of people who have breast cancer get positive result from the test (true-positive case) 10% of people who don’t have breast cancer get positive result from the test (false-positive case)
[hint] Please use Bayes Theorem :
In this case, it will be Probability ( having cancer | got positive result ) = Probability ( got positive result | having cancer ) * Probability (having cancer) / Probability (got positive result)(Answer) Probability = ( % )
- Assistant
Probability = 44.44%