Instructions: For these problems, you may use the pwr.norm.test function in the R package pwr to compute sample sizes, powers, Type II error rates, etc., as we did in class.
Reminder: The power of a hypothesis test is the probability that we reject the null hypothesis when the null hypothesis is false, which is 1−β where β is the Type II Error Rate.
Instructions: Be sure you test the hypotheses by using the P-value for the observed test statistic.