Question

In: Statistics and Probability

1. Consider this hypothesis test: H0: p1 - p2 = < 0 Ha: p1 - p2...

1. Consider this hypothesis test:
H0: p1 - p2 = < 0
Ha: p1 - p2 > 0
Here p1 is the population proportion of “happy” of Population 1 and p2 is the population proportion of “happy” of Population 2. Use the statistics data from a simple random sample of each of the two populations to complete the following:​​​​​​
Population 1
Population 2
Sample Size (n)
1000
1000
Number of “yes”
600
280
a. Compute the test statistic z.
b. What is the p-value?
c. Should H0 be rejected? Use the critical value approach and a level of significance of 0.05 to justify your answer.
d. Use the above data to construct a 95% confidence interval for p1 - p2

Solutions

Expert Solution

Part a)

p̂1 = 600 / 1000 = 0.6
p̂2 = 280 / 1000 = 0.28
Test Statistic :-
Z = ( p̂1 - p̂2 ) / √( p̂ * q̂ * (1/n1 + 1/n2) ))
p̂ is the pooled estimate of the proportion P
p̂ = ( x1 + x2) / ( n1 + n2)
p̂ = ( 600 + 280 ) / ( 1000 + 1000 )
p̂ = 0.44
q̂ = 1 - p̂ = 0.56
Z = ( 0.6 - 0.28) / √( 0.44 * 0.56 * (1/1000 + 1/1000) )
Z = 14.415

Part b)

P value = P ( Z > 14.415 ) = 0
Looking for Z = 14.415 in standard normal table to find the P value.

Part c)

Test Criteria :-
Reject null hypothesis if Z > Z(α)
Z(α) = Z(0.05) = 1.645
Z > Z(α) = 14.415 > 1.645, hence we reject the null hypothesis
Conclusion :- We Reject H0

Yes, we reject null hypothesis

Part d)

p̂1 = 0.6
p̂2 = 0.28
q̂1 = 1 - p̂1 = 0.4
q̂2 = 1 - p̂2 = 0.72
n1 = 1000
n2 = 1000
(p̂1 - p̂2) ± Z(α/2) * √( ((p̂1 * q̂1)/ n1) + ((p̂2 * q̂2)/ n2) )
Z(α/2) = Z(0.05 /2) = 1.960
Lower Limit = ( 0.6 - 0.28 )- Z(0.05/2) * √(((0.6 * 0.4 )/ 1000 ) + ((0.28 * 0.72 )/ 1000 ) = 0.2788
upper Limit = ( 0.6 - 0.28 )+ Z(0.05/2) * √(((0.6 * 0.4 )/ 1000 ) + ((0.28 * 0.72 )/ 1000 )) = 0.3612
95% Confidence interval is ( 0.2788 , 0.3612 )
( 0.2788 < ( P1 - P2 ) < 0.3612 )



Related Solutions

Consider this hypothesis test: H0: p1 - p2 = 0 Ha: p1 - p2 > 0...
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...
. Consider this hypothesis test: H0: p1 - p2 = < 0 Ha: p1 - p2...
. Consider this hypothesis test: H0: p1 - p2 = < 0 Ha: p1 - p2 > 0 Here p1 is the population proportion of “happy” of Population 1 and p2 is the population proportion of “happy” of Population 2. Use the statistics data from a simple random sample of each of the two populations to complete the following:​​​​​​ Population 1 Population 2 Sample Size (n) 1000 1000 Number of “yes” 600 280 a. Compute the test statistic z. b....
PART A 1. Consider this hypothesis test: H0: p1 - p2 = < 0 Ha: p1...
PART A 1. 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...
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following...
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following data are from matched samples taken from two populations. Compute the difference value for each element. (Use Population 1 − Population 2.) Element Population Difference 1 2 1 21 18 2 28 25 3 18 16 4 20 19 5 26 25 (b) Compute d. (c) Compute the standard deviation sd. Conduct a hypothesis test using α = 0.05. Calculate the test statistic. (Round...
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following...
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following data are from matched samples taken from two populations. Compute the difference value for each element. (Use Population 1 − Population 2.) Element Population Difference 1 2 1 21 20 2 28 28 3 18 18 4 20 18 5 26 24 (b) Compute d. (c) Compute the standard deviation sd. (d) Conduct a hypothesis test using α = 0.05. Calculate the test statistic....
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following...
Consider the following hypothesis test. H0: μd ≤ 0 Ha: μd > 0 (a) The following data are from matched samples taken from two populations. Compute the difference value for each element. (Use Population 1 − Population 2.) Element Population Difference 1 2 1 21 21 2 28 28 3 18 16 4 20 18 5 26 25 (b) Compute d. (c) Compute the standard deviation sd. (d) Conduct a hypothesis test using α = 0.05. Calculate the test statistic....
Consider the following hypothesis test. H0: μ1 − μ2 = 0 Ha: μ1 − μ2 ≠...
Consider the following hypothesis test. H0: μ1 − μ2 = 0 Ha: μ1 − μ2 ≠ 0 The following results are from independent samples taken from two populations assuming the variances are unequal. Sample 1 Sample 2 n1 = 35 n2 = 40 x1 = 13.6 x2 = 10.1 s1 = 5.8 s2 = 8.2 (a) What is the value of the test statistic? 2.153 correct (b) What is the degrees of freedom for the t distribution? (Round your answer...
Consider the following hypothesis test. H0: μ1 − μ2 = 0 Ha: μ1 − μ2 ≠...
Consider the following hypothesis test. H0: μ1 − μ2 = 0 Ha: μ1 − μ2 ≠ 0 The following results are from independent samples taken from two populations. Sample 1 Sample 2 n1 = 35 n2 = 40 x1 = 13.6 x2 = 10.1 s1 = 5.9 s2 = 8.1 (a) What is the value of the test statistic? (Use x1 − x2. Round your answer to three decimal places.) (b) What is the degrees of freedom for the t...
Consider the following hypothesis test. H0: u 1 -u  2= 0 Ha: u1 -u  2≠ 0 The following...
Consider the following hypothesis test. H0: u 1 -u  2= 0 Ha: u1 -u  2≠ 0 The following results are from independent samples taken from two populations. Sample 1 Sample 2 n 1 = 35 n 2 = 40 x 1 = 13.6 x 2 = 10.1 s 1 = 5.8 s 2 = 8.1 a. What is the value of the test statistic (to 2 decimals)? b. What is the degrees of freedom for the t distribution? (Round down your answer...
Consider the following hypothesis test: H0: ? = 16 Ha: ? ? 16 A sample of...
Consider the following hypothesis test: H0: ? = 16 Ha: ? ? 16 A sample of 40 provided a sample mean of 14.17. The population standard deviation is 6. a. Compute the value of the test statistic (to 2 decimals). b. What is the p-value (to 4 decimals)? c. Using ? = .05, can it be concluded that the population mean is not equal to 16? Answer the next three questions using the critical value approach. d. Using ? =...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT