PR1005 Pr204 and PR3055 Also PQ R1 07 PQ R2 03 and P Q R3
P(R1)=0.05, P(r2)=0.4, and P(R3)=0.55. Also, P(Q | R1 )=0.7, P(Q | R2)= 0.3, and P (Q | R3 )= 0.4. Find P(R1 | Q).
Solution
P(R1|Q) = P(Q and R1)/(P(Q and R1) + P(Q and R2) + P(Q and R3))
P(Q and Rn) = P(Q|Rn)*P(Rn) ... for n=1, 2, 3.
P(R1 | Q) = (0.05*0.7)/((0.7)(0.05) + (0.5)(0.4) + (0.8)(0.55))
= .035/(.035 + 0.20 + 0.44)
= .035/.675 = 0.05185
