Probability & Statistics · Probability Foundations

Bayes' Rule — Practice Problems and Worked Solutions

Turn prior beliefs and evidence into posterior probability.

The formulas you need here

Bayes’ rule

What it says
Turn a conditional probability around using the prior.
When to reach for it
Medical tests, spam filters, and any "given a positive result, what is the chance" question.
Watch out
The denominator usually needs the law of total probability: P(B) = P(B|A)P(A) + P(B|A′)P(A′). A rare condition keeps P(A|B) low even after a positive test.

Compute the denominator first — it is where the marks are lost.

16 worked problems

Every step is generated and checked by a computer algebra system.

  1. 1.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  2. 2.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  3. 3.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  4. 4.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  5. 5.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  6. 6.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  7. 7.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  8. 8.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  9. 9.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  10. 10.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  11. 11.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  12. 12.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  13. 13.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  14. 14.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  15. 15.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution
  16. 16.

    Find the posterior probability P(H|+).

    Answer:

    Step-by-step solution

More from Probability & Statistics