1 of 6

Presentation on ��Bayes Theorem �Presented by �Mr. A. R. Karande�Department of Statistics �Raje Ramrao Mahavidyalaya, Jath

2 of 6

Theorem of total probability

  • Let B1, B2, …, BN be mutually exclusive events whose union equals the sample space S. We refer to these sets as a partition of S.

  • An event A can be represented as:

  • Since B1, B2, …, BN are mutually exclusive, then

P(A) = P(A B1) + P(A B2) + … + P(A BN)

  • And therefore

P(A) = P(A|B1)*P(B1) + P(A|B2)*P(B2) + … + P(A|BN)*P(BN)

= Σi P(A | Bi) * P(Bi)

Exhaustive conditionalization

Marginalization

3 of 6

Bayes theorem

  • P(A B) = P(B) * P(A | B) = P(A) * P(B | A)

A

P

B

P

A

B

P

)

(

)

(

)

|

(

=

=>

Posterior probability

Prior of A (Normalizing constant)

B

A

P

)

|

(

Prior of B

Conditional probability

(likelihood)

This is known as Bayes Theorem or Bayes Rule, and is (one of) the most useful relations in probability and statistics

Bayes Theorem is definitely the fundamental relation in Statistical Pattern Recognition

4 of 6

Bayes theorem (cont’d)

  • Given B1, B2, …, BN, a partition of the sample space S. Suppose that event A occurs; what is the probability of event Bj?

  • P(Bj | A) = P(A | Bj) * P(Bj) / P(A)

= P(A | Bj) * P(Bj) / ΣjP(A | Bj)*P(Bj)

Bj: different models / hypotheses

In the observation of A, should you choose a model that maximizes P(Bj | A) or P(A | Bj)? Depending on how much you know about Bj !

Posterior probability

Likelihood

Prior of Bj

Normalizing constant

(theorem of total probabilities)

5 of 6

Another example

  • We’ve talked about the boxes of casinos: 99% fair, 1% loaded (50% at six)
  • We said if we randomly pick a die and roll, we have 17% of chance to get a six
  • If we get 3 six in a row, what’s the chance that the die is loaded?
  • How about 5 six in a row?

6 of 6

THANK YOU