In: Statistics and Probability
Consider this hypothesis test:
H0: p1 - p2 = 0
Ha: p1 - p2 > 0
Here p1 is the population proportion of “yes” of Population 1 and p2 is the population proportion of “yes” of Population 2. Use the statistics data from a simple random sample of each of the two populations to complete the following: (8 points)
Population 1 Population 2
Sample Size (n) 500 700
Number of “yes” 400 560
Compute the test statistic z.
What is the p-value?
Should H0 be rejected?
Use the p-value and a level of significance of 0.05 to justify your answer.
Use the above data to construct a 95% confidence interval for p1 - p2