Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Probability Theory / Events

Conditional Probability and Bayes

Updating probabilities with new information, independence, and the theorem behind every medical test result.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Conditioning
  2. §2The rare disease paradox
  3. ?Check yourself

By the end you can

  • Compute conditional probabilities
  • Test events for independence
  • Apply Bayes’ theorem and the law of total probability

Helps to know: Sample Spaces and Events

§1Conditioning

P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}

Knowing BB happened shrinks the sample space to BB. Events are independent when learning one tells you nothing about the other: P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B).

§2The rare disease paradox

Example 1A positive test

A disease affects 1% of people. A test catches 99% of cases but also flags 5% of healthy people. You test positive. How likely is it you have the disease?

  1. Prior: P(D)=0.01P(D) = 0.01.

Check yourself

  1. Q1
    A fair die shows an even number. The probability it is a 6 is…
  2. Q2
    If AA and BB are independent with P(A)=0.3P(A) = 0.3 and P(B)=0.5P(B) = 0.5, then P(A∩B)=P(A \cap B) =