For two events A and B,
P(A) = 0.2,
P(B) = 0.3,
P(~A | ~B) = 0.8
I need to calculate P(~B | A), but I'm not sure if what I'm doing is correct.
So knowing P(~A | ~B), I can say
P(A | ~B) = 0.2.
Now if we try to calculate P(~B|A) using Bayes, we get
P(~B | A) = P(A|~B)*P(~B) / (P(A|~B)*P(~B) + P(A|B)P(~A)).
The only thing that we don't know if P(A|B), but that's equal to P(A&B)/P(B).
P(A) = P(A&B) + P(A&~B)
P(A&~B) = P(A|~B)*P(~B) = 0.2*0.7 = 0.14
So, P(A&B) = 0.2 - 0.14 = 0.06
P(A|B) is then 0.06/0.3 = 0.2
So putting P(A|B) back in the formula we get 0.2*0.7 / (0.2*0.7 + 0.2*0.8)
= .14 / .3 = .46
That 0.46 doesn't seem correct though. Can someone point me in the right direction please?