How can i find the probability of pulling a coin out of a jar? (details inside)
in a jar we have n coins, m of which are regular and the others give the result of H by a probability of #\frac{2}{3}# .
we pull a coin randomly and toss it 3 times - what are the chances that the coin we pulled is regular(m) if we know that we got at least 2H in 3 tossings?
please help me with that, i'm stuck and i don't know how to approach it
in a jar we have n coins, m of which are regular and the others give the result of H by a probability of
we pull a coin randomly and toss it 3 times - what are the chances that the coin we pulled is regular(m) if we know that we got at least 2H in 3 tossings?
please help me with that, i'm stuck and i don't know how to approach it
1 Answer
Explanation:
For a regular coin, the probability of getting at least 2 heads out of 3 is the probability of getting 2 heads (
For the biased coin, the probability of getting at least 2 heads is
Now, the probability that a coin drawn at random is regular is
We could use Bayes theorem to solve this problem in one step at this point. Let us instead try to gain some understanding by imagining a situation when this game is repeated a very large number
- the number of times we draw a regular coin is
#m/nN# - out of these, the number of times we get at least 2 heads is
#1/2m/nN# - the number of times we draw a biased coin is
#(1-m/n)N# - out of these, the number of times we get at least two heads out of three is
#20/27(1-m/n)N#
Thus, the total number of games in which there are at least 2 heads is
Out of these the number of times the coin was regular is
Thus, given that we did observe at least two heads, the probability that the coin is regular is