Let L denote class low risk, H denote high risk and N denote no accident.
P(L) =0.7
P(H)=0.3
P(N|L)=0.99
P(N|H)= 0.88
a) P(H|N) =P(H)P(N∣H)+P(L)P(N∣L)P(H)P(N∣H)
=(0.3∗0.88)+(0.7∗0.99)0.3∗0.88
=0.2759
b) P(L|N) =P(H)P(N∣H)+P(L)P(N∣L)P(L)P(N∣L)
=(0.3∗0.88)+(0.7∗0.99)0.7∗0.99
=0.7241
Comments
Leave a comment