Stats 3.3Lesson outlineLesson 3 of 5 in Module 3
Bayes' Theorem
Turn "how likely is the evidence given the class" into "how likely is the class given the evidence".
Video in production.
Lesson outline: Bayes' Theorem
In this lesson7 parts
- 01The result we need to explain
- 02All the ways a flag can occur
- 03Build Bayes' theorem from those counts
- 04Change only the starting rate
- 05Update when new evidence arrives
- 06Check the assumption and run the update
- 07Use the reasoning independently
Key terms: Bayes' Theorem
The words this lesson introduces, each in one line. The module’s glossary collects them all, and the AI glossary has every term across the courses.
- prior
- Probability before the new evidence: 1% spam in the constructed inbox.
- likelihood
- Probability of this evidence given a specified class: P(flagged given spam) = 90%.
- false-positive rate
- Probability of a positive flag when the class is real: 10% in the construction.
- law of total probability
- The probability of the evidence is the sum over all disjoint paths that produce it: 108 flags per 1,000 messages, from spam and from real mail.
- posterior
- Probability after incorporating the stated evidence: 8.33% after one flag.
- Bayes' theorem (narration)
- The update from a prior and the likelihoods in each class to a posterior: likelihood times prior, divided by the total probability of the evidence.
- conditional independence
- Within each class, one flag result does not alter another flag's probability. An assumption the construction does not establish.
Quiz: Bayes' Theorem
Your first pick on each question is the one that counts. Getting one wrong here is how the lesson sticks.