B. In a test of the effect of dampness on electric connections,100 electric connections were tested under damp conditions and 150were tested under dry conditions. Twenty of the damp connectionsfailed and only 10 of the dry ones failed.
(i) Conduct a hypothesis test with ? = 0.10 to determine whetheror not there is a greater proportion of connections which failunder damp conditions compared to dry conditions. Be sure to stateyour hypotheses, test statistic, p-value, and conclusions.
(ii) Construct a 90% two-sided confidence interval for thedifference of proportions ?damp ??dry. Compare the CI with theresults of the hypothesis test in (i). Are the conclusionsconsistent?