A box contains 4 coins – 3 fair coins and 1 biased coin for which P(heads) = 0.8. A coin is picked at random and tossed 6 times. It shows 5 heads. Find the probability this coin is fair.
Would you tell me how to solve this question step by step?
A box contains 4 coins – 3 fair coins and 1 biased coin for which P(heads) = 0.8. A coin is picked at random and tossed 6 times. It shows 5 heads. Find the probability this coin is fair.
Would you tell me how to solve this question step by step?
On
I would proceed like this.
In summary, the concepts used here that you'll want to familiarize yourself with are "the law of total probability", "bayes formula/theorem", "binomial distribution". I promise this will all feel intuitive once you're familiar.
Firstly, we define the events:
With those events defined, the event we are looking for is $F | 5H$. We can use the Bayes' rule
$$P(F|5H) = \frac{P(5H|F)\cdot P(F)}{P(5H)}$$
Now we have to find every probability in the RHS:
Simplifying the last two probabilities gives $P(5H|F) = \frac{6}{64}$ and
$P(5H) = \frac{6}{64} \cdot \frac{3}{4} + (5\cdot\frac{8}{10}^5 \cdot\frac{2}{10}) \cdot \frac{1}{4} $
Plug the numbers in the Bayes' rule and you got the answer.