In: Math
Here, we are given that: P( disease ) = 0.01
Also, we are given that: P( positive | no disease ) = 0.03,
and
P( negative | disease ) = 0.01
a) P( positive ) = P( positive | no disease ) P( no disease ) + P( positive | disease ) P( disease )
P( positive ) = 0.03*0.99 + 0.99*0.01 = 0.0396
Therefore P( positive ) = 0.0396
b) Using bayes theorem, the probability here is computed as:
P( disease | positive ) = P( positive | disease ) P( disease ) / P( positive )
P( disease | positive ) = 0.99*0.01 / 0.0396 = 0.25
Therefore 0.25 is the required probability here.
c) The probabilities here are computed as:
P( both positive | no disease ) = 0.03*0.03 = 0.0009
P( both positive | disease ) = 0.99*0.99 = 0.9801
Using law of total probability, we get here:
P( both positive ) = P( both positive | no disease ) P( no disease ) + P( both positive | disease ) P( disease )
P( both positive ) = 0.0009*0.99 + 0.9801*0.01 = 0.010692
Therefore using bayes theorem now, we get here:
P( disease | both positive ) = P( both positive | disease ) / P( both positive )
P( disease | both positive ) = 0.9801*0.01 / 0.010692 = 0.9167
Therefore 0.9167 is the required probability here.