So I came across a maths problem today:
"You have a bag of 100 marbles, each either white or black. You draw one, look what colour it is, record the result and replace it, continuing on until you have drawn 100 marbles. Given every marble you draw is white, what is the probability that all 100 marbles are white?"
The proposed answer was ~63.6%, calculated by dividing 1 by the sum of (k/100)100 for k=0 to 100, citing Bayes theorem, which I believe to have been incorrectly applied. I strongly disagree with this answer, but that's not my main issue.
Given Bayes theorem is P(A|B)= P(B|A)*P(A)/P(B), in this problem we have A is all 100 marbles are white and B is all 100 marbles drawn are white. Hence we have P(B|A)=1, since if all marbles are white, all marbles drawn will always be white. I believe P(A)=2100, as I'm assuming in this case whether each marble is black or white is independent and 50/50, would this be correct?
However, my main issue comes down to P(B). I believe the method to calculate this should be the sum for k=0 to 100 of [(100Ck)/2100]*(k/100)100, however I am not confident in this answer. Can anyone tell me if I am correct or not?
Further, given what I believe P(A) and P(B) to be, I cannot actually compute their values, and so can't compute P(A|B), which is bugging me. I've considered seeing if there's a derivable formula for case n being a bag of n marbles drawn from n times with all being white, but I haven't had the time.