Answer and Step-by-step explanation:
(a)
The test statistic used in the test is number of new components produced which are defective.
(b)
We reject the null hypothesis H0 if the number of new components produced which are defective is greater than or equal to 2.
(c)
Probability of Type I Error = p(Reject H0 | π = 0.08)
= p(X \ge 2 | π = 0.08) = p(X > 1 | π = 0.08)
= 0.1878825
(Since X ~ Binomial(n = 10, π = 0.08) we use R code pbinom(1, 10, 0.08, lower.tail = FALSE) to find the above value)
(d)
Probability of Type I| Error = p(Fail to Reject H0 | π = 0.15)
= p(X < 2 | π = 0.15) = p(X \le 1 | π = 0.15)
= 0.5442998
(Since X ~ Binomial(n = 10, π = 0.15) we use R code pbinom(1, 10, 0.15) to find the above value)
(e)
When π = 0.15,
Standard error of proportion, SE = \sqrt{\pi(1-\pi)/n} = \sqrt{0.15*(1-0.15)/10} = 0.1129159
Sample proportion for X = 2 is p = 0.2
Probability of Type I| Error = p(Fail to Reject H0 | π = 0.15)
= p(X < 2 | π = 0.15) = p(\hat{p} < 0.2 | π = 0.15)
= p[Z < (0.2 - 0.15)/0.1129159]
= p[Z < 0.4428]
= 0.6710448
(f)
The applet calculations will be more accurate as in theory-based we have appoximated the binomial distribution by Normal distribution.
(g)
To increase the probability of detecting that the alternative hypothesis is true when the defective rate is 15%, we need to increase the sample size. The sample size reduces the standard error and the probability of Type II error.