Grinstead-Snell-Probability · Problem 4.1.52

Conditional Probability

Mathematics · bayes-formula-search-coin

Problem

A coin is in one of nn boxes. The probability that it is in the iith box is pip_i. If you search in the iith box and it is there, you find it with probability aia_i. Show that the probability pp that the coin is in the jjth box, given that you have looked in the iith box and not found it, is p={pj/(1−aipi),if j≠i,(1−ai)pi/(1−aipi),if j=i.p = \begin{cases} p_j/(1 - a_i p_i), & \text{if } j \neq i, \\ (1 - a_i)p_i/(1 - a_i p_i), & \text{if } j = i. \end{cases}

Related theory

Browse the problem library