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
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://img.qammunity.org/2021/formulas/mathematics/college/66n16kmn896qth698tyf6rfu48vhaipkmv.png)
The standard deviation of the binomial distribution is:
![√(V(X)) = √(np(1-p))](https://img.qammunity.org/2021/formulas/mathematics/college/50rvo6hmelacol69fy9pzbmom4zmpsvsnd.png)
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 = (X - \mu)/(\sigma)](https://img.qammunity.org/2021/formulas/mathematics/college/c62rrp8olhnzeelpux1qvr89ehugd6fm1f.png)
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://img.qammunity.org/2021/formulas/mathematics/college/ytflwpu4bmyp7aexf6kq0asuwzv2jwe2ob.png)
1000 trials, so
![n = 1000](https://img.qammunity.org/2021/formulas/mathematics/college/8e0jy0l83fdh33kxj79hstg1suvmkglqlx.png)
So
![E(X) = np = 1000*0.5 = 500](https://img.qammunity.org/2021/formulas/mathematics/college/leylw5ddxl215wc8qbymlb582gogtomc6t.png)
![\sigma = √(V(X)) = √(np(1-p)) = √(1000*0.5*0.5) = 15.81](https://img.qammunity.org/2021/formulas/mathematics/college/6405om8ztscqjn9niynax2w203y4pikqbl.png)
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 = (X - \mu)/(\sigma)](https://img.qammunity.org/2021/formulas/mathematics/college/c62rrp8olhnzeelpux1qvr89ehugd6fm1f.png)
![Z = (549 - 500)/(15.81)](https://img.qammunity.org/2021/formulas/mathematics/college/6tvu3cu94hu9k8asj7awh1apsi87xuzpci.png)
![Z = 3.1](https://img.qammunity.org/2021/formulas/mathematics/college/p0610h63sc0ub6gxtronvt3q9n20zrjrjt.png)
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://img.qammunity.org/2021/formulas/mathematics/college/8i5cplog4iyowuiacs5t61o1hmrx58upwx.png)
1000 trials, so
![n = 1000](https://img.qammunity.org/2021/formulas/mathematics/college/8e0jy0l83fdh33kxj79hstg1suvmkglqlx.png)
So
![E(X) = np = 1000*0.6 = 600](https://img.qammunity.org/2021/formulas/mathematics/college/t7lkiyg6ttxwq97zw0q2mr7t01oob6vds9.png)
![\sigma = √(V(X)) = √(np(1-p)) = √(1000*0.6*0.4) = 15.49](https://img.qammunity.org/2021/formulas/mathematics/college/doy9oo1fyay7l1430t0ka2sxmei42mkh3f.png)
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 = (X - \mu)/(\sigma)](https://img.qammunity.org/2021/formulas/mathematics/college/c62rrp8olhnzeelpux1qvr89ehugd6fm1f.png)
![Z = (549 - 600)/(15.49)](https://img.qammunity.org/2021/formulas/mathematics/college/1rw0k2v4ixn512d4o635jeyizqb90bqsj2.png)
![Z = -3.29](https://img.qammunity.org/2021/formulas/mathematics/college/sayz09mi4k3gbrhgkr7r5gzgd2ybfzlw6q.png)
has a pvalue of 0.0005
0.05% probability that if the coin is actually unfair, we reach a false conclusion