You are given:
Pr(Male) = .30 , Pr(Female)=.70,Pr(Smoker|Male) = .60, Pr(Smoker|Female) = .10The goal is to find:Pr(Male | Smoker)Using conditional probability (aka Bayesian's Probability) we have:
Pr(Male | Smoker)=Pr(Smoker)Pr(Smoker∩Male)First, focus on the numerator. Again, using conditional probability, it can be rewritten as:
Pr(Male∩Smoker)=Pr(Smoker | Male)*Pr(Male)Next, the denominator. Using the Law of Total Probability & conditional probability:
Pr(Smoker)=Pr(Smoker∩Male)+Pr(Smoker∩Female)=Pr(Smoker|Male)*Pr(Male) + Pr(Smoker|Female)*Pr(Female)Putting it all together:
Pr(Male | Smoker)=Pr(Smoker|Male)*Pr(Male) + Pr(Smoker|Female)*Pr(Female)Pr(Smoker | Male)*Pr(Male)Hopes this help you understand Bayesian's Probability more concretely.