ANSWER
c)
P(S) = P(S|L,F)P(L)P(F)+P(S|~L,F)P(~L)P(F)+
P(S|L,~F)P(L)P(~F)+P(S|~L,~F)P(~L)P(~F)
= 0.4*0.6*0.8+0.6*0.6*0.5+0.4*0.4*0.6+0.6*0.4*0.3
=0.54
d)
P(S|A)
= P(S,A) / [P(A|S)P(S)+P(A|~S)P(~S)]
= (0.54*0.7)/(0.54*0.7+0.46*0.3)
=0.733
Comments
Post a Comment