Problem Books

Statistics

Probability: Fundamentals

Basic probability, expected value, and Bayes' theorem — reasoning under uncertainty.

For equally likely outcomes, , and . The expected value of a payoff is . Bayes' theorem updates a prior with evidence: .


  1. 1. Complementary events

    easy

    Two fair dice are rolled. What is the probability that the sum is not ?

    Show solution

    There are equally likely outcomes. A sum of occurs in ways: , so .

    By the complement rule, .

  2. 2. Expected value of a bet

    medium

    A game costs \5$200.2$ and win nothing otherwise. What is the expected net value, and should you play?

    Show solution

    Expected winnings: E[\text{win}] = 0.2 \times \20 + 0.8 \times $0 = $4$.

    Net of the \5E[\text{net}] = $4 - $5 = -$1$.

    The expected net value is -\1$ per play, so on average you lose. A risk-neutral player should not play.

  3. 3. Bayes' theorem

    hard

    A disease affects of a population. A test is sensitive (detects the disease if present) and specific (correctly negative if absent). A random person tests positive. What is the probability they actually have the disease?

    Show solution

    Let = has disease. , , .

    .

    .

    Only about 16.7% — despite an accurate test, a positive result mostly reflects false positives because the disease is rare. This is the base-rate fallacy.


Go deeper