Conditional probability and simulation

Probability given new information, Bayes' theorem for updating beliefs, and Monte Carlo simulation to check and estimate probabilities.

About 5 hours of study

Learning objectives

Lessons

  1. 1

    Conditional probability Intermediate

    P(A given B): probability inside a smaller world, from a table of counts and from drawing cards without replacement.

  2. 2

    Bayes' theorem Intermediate

    Turning P(positive | sick) into P(sick | positive), and why a 99%-accurate test can still be wrong most of the time.

  3. 3

    Simulation: estimating probabilities by experiment Intermediate

    Monte Carlo simulation: repeating a random experiment many times to estimate a probability, the law of large numbers, seeds for repeatable runs, and how accurate an estimate is.

Module practice

Module quiz

1. P(A given B) equals…
2. Two events are independent when…
3. Why fix the random seed in a simulation?
4. A rare disease and a good test: why is a positive result often a false alarm?
5. Simulating 100 times as many trials makes the error about…
6. In the Monty Hall game, switching doors wins with probability…

‹ Probability basicsRandom variables and distributions ›