Let M be an event 'Mohsin bakes the cake', K be an event 'Khurram bakes the cake', and S be an event 'Shahid bakes the cake'. Given
P(M)=0.55,P(K)=0.25,P(S)=0.20 Let A be an event 'cake fails to rise'. Given
P(A∣M)=0.03,P(A∣K)=0.02.P(A∣S)=0.05 By Bayes' Theorem
P(K∣A)=
=P(M)P(A∣M+P(K)P(A∣K)+P(S)P(A∣S)P(K)P(A∣K)
P(K∣A)=0.55(0.03)+0.25(0.02)+0.20(0.05)0.25(0.02)=
=6310≈0.1587
If a cake is selected and fails to rise then the probability that it was backed by cook Khurram is 6310≈0.1587.
Comments