Worked example
Box A contains 2 red and 1 blue counters, box B contains 1 red and 3 blue. Choose a box with equal probability and draw red. Find the probability it was A.
Worked solution
- Method and reasoningBayes’ rule weighs each box’s red probability by the chance of selecting that box.
- The joint probabilities of red with A and B are and .
- Bayes gives ()/( + ) = .