Statistics for Management

Online M.Com · Sem 1

Lesson 4 of 9

Probability Rules, Conditional Probability and Bayes' Theorem

Statistics for Management

About the video

Bayes' Theorem | Probability | By GP Sir

Dr.Gajendra Purohit

Study notes

When events B1, ..., Bn are mutually exclusive, cover the whole sample space and each has non-zero probability, the total probability rule gives P(A) = Σ P(Bi) P(A|Bi). Bayes' theorem reverses the conditioning: P(Bi|A) = P(Bi) P(A|Bi) / P(A). Use total probability to find the overall chance of an outcome, and Bayes' theorem to find which source an observed outcome came from.

Conditions and probability rules

  • B1, ..., Bn are mutually exclusive, their union is the sample space, and each P(Bi) > 0.
  • The prior probabilities P(Bi) add up to 1, so if all but one is known, the missing one is 1 minus the sum of the others.
  • Conditional probability P(A|B) is the probability of A given that B has occurred.

Total probability

  • P(A) = P(B1)P(A|B1) + P(B2)P(A|B2) + ... + P(Bn)P(A|Bn).
  • Vendor example: A, B and C supply 30%, 40% and 30% of bolts, with defect rates 2%, 3% and 5%.
  • P(D) = 0.3(0.02) + 0.4(0.03) + 0.3(0.05) = 0.006 + 0.012 + 0.015 = 0.033.
  • Promotion example: X, Y and Z have chances 4/9, 2/9 and 3/9, and would introduce a new subject with probabilities 0.35, 0.52 and 0.80.
  • P(N) = (1.4 + 1.04 + 2.4)/9 = 4.84/9 ≈ 0.538.

Bayes' theorem

  • P(Bi|A) = P(Bi)P(A|Bi) / Σ P(Bj)P(A|Bj).
  • It is used when P(A|B) is known but the inverse P(B|A) is wanted.
  • Vendor example: P(A|D) = 0.006/0.033 = 6/33, P(B|D) = 12/33, P(C|D) = 15/33, and these posteriors sum to 1.

Worked examples

  • Boxes: box 1 has 1W, 2R, 3B; box 2 has 2W, 3R, 1B; box 3 has 3W, 1R, 2B. Each box is chosen with probability 1/3.
  • P(1 red and 1 white) from each box: 2/15, 6/15 and 3/15. So P(box 1 | R and W) = 2/(2 + 6 + 3) = 2/11.
  • Bridge: P(wrong design) = 0.1 and P(inferior material) = 0.9. P(collapse | design) = 0.95 and P(collapse | material) = 0.45.
  • P(design | collapse) = 0.095/(0.095 + 0.405) = 0.19.

Key terms

Conditional probability
P(A|B), the probability of A given that B has occurred.
Mutually exclusive
Events that cannot occur together.
Total probability theorem
P(A) = Σ P(Bi)P(A|Bi) over a partition of the sample space.
Bayes' theorem
P(Bi|A) = P(Bi)P(A|Bi)/P(A), giving the inverse (posterior) probability.
Prior / posterior
The probability of a source before / after the outcome is observed.

Takeaways

  • If the question asks for the overall probability of an outcome, use total probability.
  • If an outcome has been observed and the question asks which source it came from, use Bayes' theorem: that source's product divided by the total.
  • The prior probabilities sum to 1, and so do the posterior probabilities.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.