(a)
(b)
P(D∣Q)=0.02
(c)
By the Law of Total Probability
P(D)=P(Q)P(D∣Q)+P(R)P(D∣R)+P(S)P(D∣S)
=0.25(0.02)+0.45(0.03)+0.30(0.05)=0.0335
(d)
By Bayes' Theorem
P(R′∣D)=P(Q)P(D∣Q)+P(R)P(D∣R)+P(S)P(D∣S)P(Q)P(D∣Q)+P(S)P(D∣S)
=0.25(0.02)+0.45(0.03)+0.30(0.05)0.25(0.02)+0.30(0.05)
=0.03350.02=6740≈0.597015
Comments
Leave a comment