Suppose you have 2 identical-looking coins: one that is fair and one that comes up heads 75% of the time.
You randomly chose one of them, flip it 3 times and it comes up as H-H-T.
What is the chance that the coin you picked is the fair one?
Source: Project Euler
(In reply to
Bayes by Charlie)
You should check this
dissertation site now. I will post a solution there. It will be great.
|
Posted by James
on 2020-04-04 09:33:26 |