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)
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) Probability = ( )
- Assistant
Probability ( having cancer | got positive result ) = Probability ( got positive result | having cancer ) * Probability (having cancer) / Probability (got positive result)
Probability ( having cancer ) = 0.01 Probability ( got positive result | having cancer ) = 0.8 Probability ( got positive result | not having cancer ) = 0.1 Probability (not having cancer) = 0.99
Using Bayes theorem, we get:
Probability ( having cancer | got positive result ) = (0.8 * 0.01) / ((0.8 * 0.01) + (0.1 * 0.99)) = 0.074 or 7.4% (approximate)
Therefore, the probability that Alice has breast cancer given she got a positive result from the test is approximately 7.4%.