CrashCourse · @crashcourse

Probability Part 2: Updating Your Beliefs with Bayes: Crash Course Statistics #14

Uploaded June 8, 2018 · Length 12:06

Probability Part 2: Updating Your Beliefs with Bayes: Crash Course Statistics #14

Summary

Learn how Bayes' Theorem updates beliefs with new evidence, using examples like spam filters and drug tests.

  • bayes theorem explained
  • conditional probability
  • updating beliefs statistics
  • bayesian statistics intro
  • naive bayes filter
  • probability examples

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:03

    Hi, I’m Adriene Hill, and Welcome back to Crash Course Statistics. We ended the last

  2. 0:07

    episode by talking about Conditional Probabilities which helped us find the probability of one

  3. 0:13

    event, given that a second event had already happened.

  4. 0:16

    But now I want to give you a better idea of why this is true and how this formula--with

  5. 0:20

    a few small tweaks--has revolutionized the field of statistics.

  6. 0:25

    INTRO

  7. 0:34

    In general terms, Conditional Probability says that the probability of an event, B,

  8. 0:39

    given that event A has already happened, is the probability of A and B happening together,

  9. 0:46

    Divided by the probability of A happening - that’s the general formula, but let’s

  10. 0:51

    give you a concrete example so we can visualize it.

  11. 0:54

    Here’s a Venn Diagram of two events, An Email containing the words “Nigerian Prince”

  12. 0:58

    and an Email being Spam.

  13. 1:01

    So I get an email that has the words “Nigerian Prince” in it, and I want to know what the

  14. 1:06

    probability is that this email is Spam, given that I already know the email contains the

  15. 1:11

    words “Nigerian Prince.” This is the equation.

  16. 1:14

    Alright, let’s take this part a little. On the Venn Diagram, I can represent the fact

  17. 1:18

    that I know the words “Nigerian Prince” already happened by only looking at the events

  18. 1:23

    where Nigerian Prince occurs, so just this circle.

  19. 1:26

    Now inside this circle I have two areas, areas where the email is spam, and areas

  20. 1:31

    where it’s not. According to our formula, the probability of spam given Nigerian Prince

  21. 1:38

    is the probability of spam AND Nigerian Prince which is this region... where they overlap…divided

  22. 1:45

    by Probability of Nigerian Prince which is the whole circle that we’re looking at.

  23. 1:50

    Now...if we want to know the proportion of times when an email is Spam given that we

  24. 1:54

    already know it has the words “Nigerian Prince”, we need to look at how much of

  25. 1:59

    the whole Nigerian Prince circle that the region with both Spam and Nigerian Prince