CrashCourse · @crashcourse
Probability Part 2: Updating Your Beliefs with Bayes: Crash Course Statistics #14
Uploaded June 8, 2018 · Length 12:06
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.
- 0:03
Hi, I’m Adriene Hill, and Welcome back to Crash Course Statistics. We ended the last
- 0:07
episode by talking about Conditional Probabilities which helped us find the probability of one
- 0:13
event, given that a second event had already happened.
- 0:16
But now I want to give you a better idea of why this is true and how this formula--with
- 0:20
a few small tweaks--has revolutionized the field of statistics.
- 0:25
INTRO
- 0:34
In general terms, Conditional Probability says that the probability of an event, B,
- 0:39
given that event A has already happened, is the probability of A and B happening together,
- 0:46
Divided by the probability of A happening - that’s the general formula, but let’s
- 0:51
give you a concrete example so we can visualize it.
- 0:54
Here’s a Venn Diagram of two events, An Email containing the words “Nigerian Prince”
- 0:58
and an Email being Spam.
- 1:01
So I get an email that has the words “Nigerian Prince” in it, and I want to know what the
- 1:06
probability is that this email is Spam, given that I already know the email contains the
- 1:11
words “Nigerian Prince.” This is the equation.
- 1:14
Alright, let’s take this part a little. On the Venn Diagram, I can represent the fact
- 1:18
that I know the words “Nigerian Prince” already happened by only looking at the events
- 1:23
where Nigerian Prince occurs, so just this circle.
- 1:26
Now inside this circle I have two areas, areas where the email is spam, and areas
- 1:31
where it’s not. According to our formula, the probability of spam given Nigerian Prince
- 1:38
is the probability of spam AND Nigerian Prince which is this region... where they overlap…divided
- 1:45
by Probability of Nigerian Prince which is the whole circle that we’re looking at.
- 1:50
Now...if we want to know the proportion of times when an email is Spam given that we
- 1:54
already know it has the words “Nigerian Prince”, we need to look at how much of
- 1:59
the whole Nigerian Prince circle that the region with both Spam and Nigerian Prince


