Consider the hypothesis test $H_{0}: \mu_{1}=\mu_{2}$ against $H_{1}: \mu_{1}=\mu_{2} .$ Suppose that sample sizes $n_{1}=15$ and $n_{2}=15,$ that $\bar{x}_{1}=6.2$ and $\bar{x}_{2}=7.8,$ and that $s_{1}^{2}=4$ and $s_{2}^{2}=6.25 .$ Assume that $\sigma_{1}^{2}=\sigma_{2}^{2}$ and that the data are drawn from normal distributions. Use $\alpha=0.05$
(a) Test the hypothesis and find the $P$ -value.
(b) Explain how the test could be conducted with a confidence interval.
(c) What is the power of the test in part (a) if $\mu_{1}$ is 3 units less than $\mu_{2}$ ?
(d) Assume that sample sizes are equal. What sample size should be used to obtain $\beta=0.05$ if $\mu_{1}$ is 2.5 units less than $\mu_{2}$ ? Assume that $\alpha=0.05 .$