In: Math
A survey is conducted using 2000 registered voters who are asked to choose between candidate A and candidate B. Let p denote the fraction of voters in the population who prefer candidate A and let ˆp denote the fraction of voters who prefer Candidate B.
i You are interested in performing the following hypothesis test H0 : p = 0.4 (1) H1 : p 6= 0.4
(2) Determine the size of the test and compute the power of the test if the true value is p = 0.45
ii Assuming that in the survey ˆp = 0.44. Test H0 : p = 0 − 4 vs H1 : p 6= 0.4 using a 10% significance level
iii Assuming that in the survey ˆp = 0.44. Test H0 : p = 0 − 4 vs H1 : p < 0.4 using a 10% significance level
iv Construct a 90% confidence interval for p
iv Construct a 95% confidence interval for p iv Construct a 99% confidence interval for p