Independent solution

How to solve this Conditional Probability question

Setup

Setup

Let P denote pregnancy and + denote a positive test outcome. Convert the false-negative rate to sensitivity.

Pr⁡(P)=0.20,Pr⁡(Pc)=0.80\Pr(P)=0.20,\qquad \Pr(P^c)=0.80
Pr⁡(+∣P)=1−0.10=0.90,Pr⁡(+∣Pc)=0.20\Pr(+\mid P)=1-0.10=0.90,\qquad \Pr(+\mid P^c)=0.20

Model

Model

Bayes' theorem compares the positive mass from the target group with all positive results.

Pr⁡(P∣+)=Pr⁡(+∣P)Pr⁡(P)Pr⁡(+∣P)Pr⁡(P)+Pr⁡(+∣Pc)Pr⁡(Pc)\Pr(P\mid +)=\frac{\Pr(+\mid P)\Pr(P)}{\Pr(+\mid P)\Pr(P)+\Pr(+\mid P^c)\Pr(P^c)}

Compute

Compute

Weight both test error rates by their population shares.

Pr⁡(P∩+)=0.90(0.20)=0.18\Pr(P\cap +)=0.90(0.20)=0.18
Pr⁡(+)=0.18+0.20(0.80)=0.34\Pr(+)=0.18+0.20(0.80)=0.34
Pr⁡(P∣+)=0.180.34=917=0.5294118…\Pr(P\mid +)=\frac{0.18}{0.34}=\frac9{17}=0.5294118\ldots

Answer

Answer

The posterior probability rounds to 0.53.

0.53(D)\boxed{0.53\quad\text{(D)}}