GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 51

Bayesian selection of an urn

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2005 paper

GATE 2005, Q51 2 marks · MCQ
Report issue

Probability & Random Variables

Question 51, GATE 2005: Bag P has two red and three blue balls; bag Q has three red and one blue. Select P with probability 1/3 and Q with probability 2/3, then draw uniformly from that bag. Given a red ball, probability bag P was selected? A4/19; B5/19; C2/9; D19/30. The alternate omits the color of Q’s three balls; use the explicit GFG wording.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Using the the paper statement that Q has 3 RED and 1 blue ball, P(P∩red)=(1/3)(2/5)=2/15 and P(Q∩red)=(2/3)(3/4)=1/2. Bayes gives (2/15)/(2/15+1/2)=4/19, A.

Bayes reverses the conditioning: the question asks P(P|red), not P(red|P). First weight each red probability by how often that bag is selected. P contributes 2/15 and Q contributes 1/2, so total red probability is 19/30. Divide 2/15 by 19/30 to get 4/19. The larger posterior weight of Q is consistent with its being chosen more often and containing a larger red fraction.

Original paper, page 6