You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Update function, I thought at next round, pmf[hypo] should be fixed at 0.5, because the prior won't change no matter how many cookies have been taken out
but in your solution, I saw the pmf[hypo] keeping change every time, am I wrong about Bayes's theorem in this situation?
The text was updated successfully, but these errors were encountered:
I think you are confusing 1) the prior for the hypothesis of which bowl was selected (which should be updated with each observation) and 2) the prior probability of taking a type of cookie from each bowl (which in this problem is kept fixed). The latter is not even an hypothesis, its just given by the problem setting.
In the Update function, I thought at next round, pmf[hypo] should be fixed at 0.5, because the prior won't change no matter how many cookies have been taken out
but in your solution, I saw the pmf[hypo] keeping change every time, am I wrong about Bayes's theorem in this situation?
The text was updated successfully, but these errors were encountered: