Total Probability and Bayes' Theorem

Compact study note.

Summary

The law of total probability decomposes events across partitions. Bayes' theorem reverses conditional probability by combining likelihood with prior probabilities.[1]

Prerequisites

Notation and Assumptions

Let B1,…,Bn be disjoint events with positive probability and union Ω . Then

P(A)=∑iP(A∣Bi)P(Bi).

Essential Result

Bayes' theorem, whenever P(A)>0 :

P(Bj∣A)=P(A∣Bj)P(Bj)∑iP(A∣Bi)P(Bi).

Small Example

If a test is positive with probability 0.9 for disease and 0.05 without disease, and prevalence is 0.01 , then P(D∣+)=0.009/(0.009+0.0495)≈0.154 .

Common Mistakes

Connections

References


  1. OpenStax, Introductory Statistics 2e, "Chapter 3: Probability Topics", https://openstax.org/books/introductory-statistics-2e/pages/3-introduction ↩︎