Respuesta :
Answer:
a) You do not have enough to decide the coin is fake
b) You should choose n as the least positive integer such that
[tex] n>\frac{p_1/p_2}{log(\frac{1-p_1}{1-p_2})}+1[/tex]
Step-by-step explanation:
a)
If the coin is fair, the probability of head = probability of tail = 0.5 .
If the event of tossing the coin follows the Bernoulli's distribution (also called binomial distribution), then the probability of 1 head in four tosses is
[tex]\binom{4}{1}(0.5)(0.5^3)=4(0.5)^4=0.25=25%[/tex]
Since this probability is much less than 50%, it is too early to decide that the coin is not fair.
b)
Suppose you perform the experiment n times in the two scenarios. The probability of having 1 success and n-1 failures in scenario 1 would be
[tex]\binom{n}{1}p_1(1-p_1)^{n-1}[/tex]
whereas in scenario 2 would be
[tex]\binom{n}{1}p_2(1-p_2)^{n-1}[/tex]
Obviously, you would select scenario 1 if
[tex]\binom{n}{1}p_1(1-p_1)^{n-1}>\binom{n}{1}p_2(1-p_2)^{n-1}[/tex]
[tex]p_1(1-p_1)^{n-1}> p_2(1-p_2)^{n-1}[/tex]
[tex]\frac{p_1}{p_2}>(\frac{1-p_1}{1-p_2})^{n-1}[/tex]
Since the function log(x) is increasing, we can take log on both sides to get
[tex]log(\frac{p_1}{p_2})>(n-1)log(\frac{1-p_1}{1-p_2})[/tex]
Since
[tex]0<p_1<p_2\Rightarrow -p_1>-p_2\Rightarrow 1-p_1>1-p_2\Rightarrow \frac{1-p_2}{1-p_1}<1[/tex]
and
[tex]log( \frac{1-p_2}{1-p_1})<0[/tex]
Therefore
[tex] n>\frac{p_1/p_2}{log(\frac{1-p_1}{1-p_2})}+1[/tex]
So, you should choose n as the least positive integer such that
[tex] n>\frac{p_1/p_2}{log(\frac{1-p_1}{1-p_2})}+1[/tex]