"An object hides in one of 3 boxes. If the object is in box i, i = 1; 2; 3, and if box i is searched once, then the object is found with probability 0.7. Suppose that it is initially believed that the object is in box i with probability 0.2, 0.3 and 0.5, for i = 1; 2; 3. One always searches the box with the highest current probability; thus one would begin with box 3. If the first search fails, which box should be searched next?"
I used bayes rule: $ P(in box 3 \mid Nf)=\frac{P(Nf \mid in box 3)*P(in box 3)}{P(Nf)}$
where P(Nf)=P(Not found) and P(Nf/inbox3)=Probability that the box is not found given that the object is in box 3.
I get:
$ P(in box 3 \mid Nf)=\frac{0.3*0.5}{P(Nf)}$
I know that I have to use the law of total probability to compute P(Nf). My question is will I have to add up the probabilities of "not found" given that the object is in that specific box times the probability (0.2,0.3 or 0.5) ? This would give me:
$0.3*0.2+0.3*0.3+0.3*0.5=0.3$
$P(inbox3 \mid Nf)=\frac{0.3*0.5}{0.3}=0.5$
Well, this can inuitively not be take case. I did something wrong using the law of total probability. This cannot be the case because the conditional probability with the updated beliefs should be lower now. Can somebody show me how to do it correctly?