1. Home
  2. Explore
  3. Statistics
  4. Bayes’ Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayes’ Theorem

Speaker 1Speaker 2

Bayes’ Theorem

4:22
0:00-4:22
  1. Corey

    Today we’re using a life-insurance example to understand Bayes’ theorem. An insurance company divides its policyholders into two mutually exclusive groups: smokers and non-smokers. We know smokers have a 5% chance of dying during the year, while non-smokers have a 1% chance.

  2. Maria

    And the question turns the information around: if we learn that a policyholder died, what is the probability that the person was a smoker? That’s different from asking how likely a smoker is to die. We’re looking for the probability of being a smoker given a death.

  3. Corey

    Let’s name the events. Let S mean “the policyholder is a smoker,” N mean “the policyholder is a non-smoker,” and D mean “the policyholder died during the year.” I’ll use Ω for the whole sample space, so it doesn’t get confused with S.

  4. Maria

    The company says 10% of policyholders are smokers, so P(S) equals 0.10. The remaining 90% are non-smokers, so P(N) equals 0.90. The death-rate information is conditional: P(D given S) is 0.05, and P(D given N) is 0.01.

  5. Corey

    The quantity we want is P(S given D). Start with the definition of conditional probability: P(S given D) equals P(S and D) divided by P(D). So we need two things: the probability of both being a smoker and dying, and the overall probability of dying.

  6. Maria

    For the numerator, use the conditional probability we already know. P(D given S) equals P(D and S) divided by P(S). Rearranging gives P(S and D) equals P(D given S) times P(S). That’s 0.05 times 0.10, or 0.005.

  7. Corey

    Now we need the overall probability of death, P(D). The smoker and non-smoker groups are disjoint, and together they include every policyholder. In probability language, S and N form a partition of the sample space: their union is Ω, and their intersection is empty.

  8. Maria

    That partition lets us split all deaths into two non-overlapping possibilities: a person died and was a smoker, or a person died and was a non-smoker. Therefore, P(D) equals P(D and S) plus P(D and N). This is the addition rule for mutually exclusive events.

  9. Corey

    We’ve found the first intersection already: P(D and S) is 0.005. For the second, use the same multiplication idea: P(D and N) equals P(D given N) times P(N), which is 0.01 times 0.90, or 0.009.

  10. Maria

    So the total probability of dying is 0.005 plus 0.009, which equals 0.014. Substituting into our original conditional-probability expression gives P(S given D) equals 0.005 divided by 0.014.

  11. Corey

    That fraction simplifies to 5 over 14, or about 35.7%. So, given that a policyholder died during the year, the probability that the person was a smoker is about 35.7%.

  12. Maria

    Here’s the key idea behind Bayes’ theorem: we started with the probability of dying given that someone is a smoker, but the question asked for the probability of being a smoker given that someone died. Those conditional probabilities reverse the order of the events, and they are not generally the same.

  13. Corey

    Bayes’ rule gives us a way to make that reversal. We use the definition of conditional probability to build the joint probability in the numerator, then use the partition—smokers and non-smokers—to calculate the overall probability of the evidence, in this case a death.

  14. Maria

    And that’s the full strategy in this example: identify the event we’re given, identify the probability we want, calculate the relevant intersections, and combine the partition’s cases to get the denominator. We’ll return to Bayes’ theorem again, but the essential lesson here is how it lets us reverse a conditional probability.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent