Answer on question 37071 – Math – Statistics and Probability
Suppose there are N=10 urns behind a curtain, such that you cannot see them. The urns are numbered from i=1,…,10. Urn i contains ten balls: i white balls and 10−i red balls. A person behind the curtain picks one urn at random (all urns are equiprobable), picks ten balls with replacement from this urn and notes the result. Afterwards, the person tells you that NW=3 white balls were drawn (and accordingly 10−3=7 red balls). What is the probability that the person has chosen urn i∈{1,2,…,10}? Please give a derivation and numbers.
Solution.
Let Hi is an event that a person choose the urn number i. Then P(Hi)=101, for every i=1,…,10 and A is an event that a person choose 3 white balls.
Let us find P(A∣Hi)=C103(10i)3(1010−i)7=10912i3(10−i)7, for every i=1,…,10.
Using Bayes' Theorem we get.
P(H1∣A)=∑i=110P(A∣Hi)P(Hi)P(A∣Hi)P(Hi)=∑i=11010912i3(10−i)710912i3(10−i)7∗101=10∑i=110i3(10−i)7i3(10−i)7.
Find the values for some i.
If i=1 than the probability that the person has chosen the first urn is
P(H1∣A)=10∑i=110i3(10−i)797=10(97+2387+3377+⋯+93)97≈0.0063;
For i=2:
P(H2∣A)=10∑i=110i3(10−i)72387=10(97+2387+3377+⋯+93)2387≈0.0221;
And so on.
**Answer**: the probability that the person has chosen urn i is 10∑i=110i3(10−i)7i3(10−i)7.
Comments