Samuel Chukwuemeka (Samdom For Peace) Bayes’ Theorem
Objectives Students will: Learn the meaning of Conditional Probability Understand Bayes’ Theorem Solve problems using Bayes’ Theorem
Conditional Probability Conditional Probability is defined as the probability that an event will occur, given that another event has occurred. It is denoted and read as: P(A | B) means the probability that event A will occur, given that event B has occurred.
Bayes’ Theorem Is a mathematical formula that is used for calculating conditional probabilities. It is expressed as: P(A | B) = P(A n B) P(B) Where P(B n A) is the probability of the intersection of events A and B P(B) is the probability of event B
Solved Examples Use the Titanic mortality data in the accompanying table. (1.) If someone who was aboard the Titanic was selected, what is the probability of getting a man, given that the selected person died? (2.) What is the probability of getting a boy or girl, given that the randomly selected person is someone who survived?
Let’s Define Variables Let Men = M Let Women = W Let Boys = B Let Girls = G Let Survived = S Let Died = D Let Sample Space = Total
Let’s Calculate These Variables n(M) = = 1682 n(W) = = 422 n(B) = = 64 n(G) = = 45 n(S) = = 696 n(D) = = 1517 n(Total) = = 2213
Objectives P(M | D) = P(M n D) P(D) P(D) = 1517P(M n D) = Therefore, P(M | D) = 1360 / P(M | D) = P(M | D) = 0.897
Objectives Students will: Learn the meaning of Conditional Probability Understand Bayes’ Theorem Solve problems using Bayes’ Theorem
Objectives Students will: Learn the meaning of Conditional Probability Understand Bayes’ Theorem Solve problems using Bayes’ Theorem