4.13 Bayes' theorem

4.13 Bayes' theorem Flashcards

IB Maths: Analysis and Approaches HL: Flashcards

Studying this course? Keep your progress in one place.

Flip each card. Be honest: the ones you mark Not yet come back first.

12 cards

Tap a card to flip it. Swipe right if you knew it, left if not.

See all 12 cards
What does Bayes' theorem allow you to do?
Find P(B∣A)P(B \mid A) when you know P(A∣B)P(A \mid B), P(A∣B′)P(A \mid B') and P(B)P(B): it reverses a conditional probability.
State Bayes' theorem for two events.
P(B∣A)=P(B)P(A∣B)P(B)P(A∣B)+P(B′)P(A∣B′)P(B \mid A) = \dfrac{P(B)P(A \mid B)}{P(B)P(A \mid B) + P(B')P(A \mid B')}
State the law of total probability for a partition B1,B2,B3B_1, B_2, B_3.
P(A)=P(B1)P(A∣B1)+P(B2)P(A∣B2)+P(B3)P(A∣B3)P(A) = P(B_1)P(A \mid B_1) + P(B_2)P(A \mid B_2) + P(B_3)P(A \mid B_3)
What is a partition?
A set of mutually exclusive events whose probabilities sum to 1.
What is a prior probability?
The probability of a cause before the evidence is known.
What is a posterior probability?
The updated probability of the cause after conditioning on the evidence.
P(B)=0.5P(B) = 0.5, P(A∣B)=0.6P(A \mid B) = 0.6, P(A∣B′)=0.2P(A \mid B') = 0.2. Find P(B∣A)P(B \mid A).
0.30.3+0.1=0.75\frac{0.3}{0.3 + 0.1} = 0.75
Why can an accurate test for a rare disease give mostly false positives?
The healthy group is so large that even a small false-positive rate produces more positives than the small diseased group.
In Bayes' theorem, what does the denominator represent?
The total probability of the evidence, P(A)P(A).
How do you find P(B∣A′)P(B \mid A')?
Use the complementary branches: P(B)P(A′∣B)P(A′)\dfrac{P(B)P(A' \mid B)}{P(A')} with P(A′)=1−P(A)P(A') = 1 - P(A).
Two independent tests are applied. How do you update for both results?
Multiply along each path through both tests, add the paths that give both results, and divide the relevant path by this total.
Quick check on posteriors for a partition?
They must add up to 1.

Flashcards