Answer:
i) 0.1% probability that if the coin is actually fair, we reach a false conclusion.
ii) 0.05% probability that if the coin is actually unfair, we reach a false conclusion
Step-by-step explanation:
Binomial probability distribution
Probability of exactly x sucesses on n repeated trials, with p probability.
Can be approximated to a normal distribution, using the expected value and the standard deviation.
The expected value of the binomial distribution is:
![E(X) = np](https://tex.z-dn.net/?f=E%28X%29%20%3D%20np)
The standard deviation of the binomial distribution is:
![\sqrt{V(X)} = \sqrt{np(1-p)}](https://tex.z-dn.net/?f=%5Csqrt%7BV%28X%29%7D%20%3D%20%5Csqrt%7Bnp%281-p%29%7D)
Normal probability distribution
Problems of normally distributed samples can be solved using the z-score formula.
In a set with mean
and standard deviation
, the zscore of a measure X is given by:
![Z = \frac{X - \mu}{\sigma}](https://tex.z-dn.net/?f=Z%20%3D%20%5Cfrac%7BX%20-%20%5Cmu%7D%7B%5Csigma%7D)
The Z-score measures how many standard deviations the measure is from the mean. After finding the Z-score, we look at the z-score table and find the p-value associated with this z-score. This p-value is the probability that the value of the measure is smaller than X, that is, the percentile of X. Subtracting 1 by the pvalue, we get the probability that the value of the measure is greater than X.
When we are approximating a binomial distribution to a normal one, we have that
,
.
In this problem, we have that:
Fair coin:
Comes up heads 50% of the time, so ![p = 0.5](https://tex.z-dn.net/?f=p%20%3D%200.5)
1000 trials, so ![n = 1000](https://tex.z-dn.net/?f=n%20%3D%201000)
So
![E(X) = np = 1000*0.5 = 500](https://tex.z-dn.net/?f=E%28X%29%20%3D%20np%20%3D%201000%2A0.5%20%3D%20500)
![\sigma = \sqrt{V(X)} = \sqrt{np(1-p)} = \sqrt{1000*0.5*0.5} = 15.81](https://tex.z-dn.net/?f=%5Csigma%20%3D%20%5Csqrt%7BV%28X%29%7D%20%3D%20%5Csqrt%7Bnp%281-p%29%7D%20%3D%20%5Csqrt%7B1000%2A0.5%2A0.5%7D%20%3D%2015.81)
If the coin lands on heads 550 or more times, then we shall conclude that it is a biased coin.
(i) If the coin is actually fair, what is the probability that we shall reach a false conclusion?
This is the probability that the number of heads is 550 or more, so this is 1 subtracted by the pvalue of Z when X = 549.
![Z = \frac{X - \mu}{\sigma}](https://tex.z-dn.net/?f=Z%20%3D%20%5Cfrac%7BX%20-%20%5Cmu%7D%7B%5Csigma%7D)
![Z = \frac{549 - 500}{15.81}](https://tex.z-dn.net/?f=Z%20%3D%20%5Cfrac%7B549%20-%20500%7D%7B15.81%7D)
![Z = 3.1](https://tex.z-dn.net/?f=Z%20%3D%203.1)
has a pvalue of 0.9990
1 - 0.9990 = 0.001
0.1% probability that if the coin is actually fair, we reach a false conclusion.
(ii) If the coin is actually unfair, what is the probability that we shall reach a false conclusion?
Comes up heads 60% of the time, so ![p = 0.6](https://tex.z-dn.net/?f=p%20%3D%200.6)
1000 trials, so ![n = 1000](https://tex.z-dn.net/?f=n%20%3D%201000)
So
![E(X) = np = 1000*0.6 = 600](https://tex.z-dn.net/?f=E%28X%29%20%3D%20np%20%3D%201000%2A0.6%20%3D%20600)
![\sigma = \sqrt{V(X)} = \sqrt{np(1-p)} = \sqrt{1000*0.6*0.4} = 15.49](https://tex.z-dn.net/?f=%5Csigma%20%3D%20%5Csqrt%7BV%28X%29%7D%20%3D%20%5Csqrt%7Bnp%281-p%29%7D%20%3D%20%5Csqrt%7B1000%2A0.6%2A0.4%7D%20%3D%2015.49)
If the coin lands on less than 550 times(that is, 549 or less), then we shall conclude that it is a biased coin.
So this is the pvalue of Z when X = 549.
![Z = \frac{X - \mu}{\sigma}](https://tex.z-dn.net/?f=Z%20%3D%20%5Cfrac%7BX%20-%20%5Cmu%7D%7B%5Csigma%7D)
![Z = \frac{549 - 600}{15.49}](https://tex.z-dn.net/?f=Z%20%3D%20%5Cfrac%7B549%20-%20600%7D%7B15.49%7D)
![Z = -3.29](https://tex.z-dn.net/?f=Z%20%3D%20-3.29)
has a pvalue of 0.0005
0.05% probability that if the coin is actually unfair, we reach a false conclusion