Bayes’ Theorem: Fresh Take

  • Understand conditional probability and Bayes’ theorem
Conditional probability is defined as the likelihood of an event occurring, based on the occurrence of a given event.

[latex]P(A | B) = \dfrac{P(A \text{ and } B)}{P(B)}[/latex]

OR

[latex]P(A \text{ and } B) = P(A | B) \times P(B)[/latex]

Recall the example below: An urn has three red marbles and eight blue marbles in it. Draw two marbles, one at a time, this time without replacement, from the urn. Following is a tree diagram for this situation.This is a tree diagram with branches showing frequencies of each draw. The first branch shows two lines: 8/11B and 3/11R. The second branch has a set of two lines (7/10B and 3/10R for line B, 8/10B and 2/10R for line R) for each line of the first branch. Multiply along each line to find 56/110BB, 24/110BR, 24/110RB, and 6/110RR.
Find/calculate the following probabilities using the tree diagram:(a) [latex]P(R \text{ on the 2nd} | B \text{ on the 1st})[/latex]

(b) [latex]P(R \text{ on the 2nd} | R \text{ on the 1st})[/latex]

(c) [latex]P(\text{2nd one is }R)[/latex]

(d) [latex]P(B \text{ on the 1st} | R \text{ on the 2nd})[/latex]

(e) [latex]P(R \text{ on the 1st} | R \text{ on the 2nd})[/latex]

Part (d) and (e) in the example above is also known as Bayes’ Theorem Probability.

Bayes’ Theorem

Bayes’ theorem or Bayes’ rule, named after Thomas Bayes[1], describes the probability of an event, based on the occurrence of another event.

Bayes’ Theorem

For events [latex]A[/latex] and [latex]B[/latex] and that [latex]P(B) \ne 0[/latex], the probability of event [latex]A[/latex] occurring given that event [latex]B[/latex] is true is:

[latex]P(A | B) = \dfrac{P(A \text{ and } B)}{P(B)} = \dfrac{P(B|A) \times P(A)}{P(B)}[/latex]

This tree diagram shows the tossing of an unfair coin followed by drawing one bead from a cup containing three red (R), four yellow (Y) and five blue (B) beads.

This is a tree diagram with branches showing frequencies of drawing a colored bead after an unfair coin toss. The first branch shows two lines: 2/3H and 1/3T. The second branch has a set of three lines (3/12R, 4/12Y, and 5/12B for H and 3/12R, 4/12Y, and 5/12B for T).) for each line of the first branch. Multiply along each line to find 56/110BB, 24/110BR, 24/110RB, and 6/110RR.
Find the probability that a flipped coin shows a head, given that the bead drawn is blue.

A box contains 60 balls containing a variety of a colored balls, but all we know is 40% are red. In addition to colors, the balls are also made up of two sizes: small and large. Suppose we know that 50% of the red balls and 30% of the non-red balls are small. A person draws a ball at random from the box and notices it is a small ball. Let [latex]R =[/latex] be the event the ball is red and [latex]S =[/latex] the event the ball is small. What is the probability that it is red?

Calculate Probability


  1. https://en.wikipedia.org/wiki/Thomas_Bayes