Building off Odds

What is Bayes’ Rule

  • A mathematical rule for updating the probability of a hypothesis based on new evidence.

    • Prior Probability : The initial probability of the hypothesis.
    • Evidence Probability : The probability of the evidence given that the hypothesis is true.
    • Updated Probability : The new probability of the hypothesis after considering the evidence.

Bayes’ Rule Formula

  • Bayes’ Rule can be expressed mathematically as:

- Where is the total probability of the evidence:

What is a Bayes’ Box

  • A visual tool for understanding Bayesian updates.

    • A Bayes’ Box represents the probabilities involved in Bayes’ Rule as areas within a box.

Drawing a Bayes’ Box

  • Steps to create a Bayes’ Box:

    • Step 1: Divide the box according to the prior probabilities of and .
      • Example: If prior odds are 1:3 (for and respectively), the box is split accordingly.
    • Step 2: Divide the areas of and based on the probability of evidence if is true or false.
      • Fill sections representing , , , and .
    • Step 3: Use the areas to visually estimate the updated probability.

Interpreting the Bayes’ Box

  • EX.

    • a box is divided to show prior odds of of 1:3, making and .

    • Evidence provided (e.g., a medical test):

      • Updated calculation for given by: [ P(H|E) = \frac{P(E|H) \times P(H)}{P(E|H) \times P(H) + P(E|\neg H) \times P(\neg H)} = \frac{0.75 \times 0.25}{0.75 \times 0.25 + 0.25 \times 0.75} = \frac{0.1875}{0.375} \approx 0.5 ]
  • Visual estimation:

    • Compare shaded areas for within and . For , look at the ratio of shaded areas in the section to the total shaded area.

Example Interpretation from Exercises

  • With Evidence (E):

    • Updated odds: approximately 2:3 (visually), translating to (probability).
  • Without Evidence ():

    • Updated odds: approximately 1:6 (visually), translating to .

Useful Lessons

  • Key Bayesian Lessons:

    • Bayes Lesson #1: Always consider the prior probability.
    • Bayes Lesson #2: Likely evidence if hypothesis is true confirms the hypothesis.
    • Bayes Lesson #3: If evidence () confirms the hypothesis, then lack of evidence () disconfirms it.
    • Bayes Lesson #4: Yesterday’s updated probability becomes today’s new prior probability for further evidence.

Sensitivity and Specifisity