Consider testing the null hypothesis that two proportions are equal versus the two-sided alternative with , 80% power, and equal sample sizes in the two groups.
For each of the following situations, find the required sample size: (i) and , (ii) and , (iii) and , (iv) and , (v) and , (vi) and , (vii) and , and (viii) and .