Question

In: Statistics and Probability

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

  1. Compute the test statistic z.
  2. What is the p-value?
  3. Should H0 be rejected? Use the p-value and a level of significance of 0.05

to justify your answer.

  1. Use the above data to construct a 95% confidence interval for p1 - p2

Solutions

Expert Solution

Solution:

Given:

Population 1 Population 2
Sample size n 500 700
Number of "yes" 400 560

Null and alternative hypothses:

We can find all the things using megastat,

Output is:

Hypothesis test for two independent proportions
p1 p2 pc
0.8 0.8 0.8 p (as decimal)
400/500 560/700 960/1200 p (as fraction)
400. 560. 960. X
500 700 1200 n
0. difference
0. hypothesized difference
0.0234 std. error
0.00 z
.5000 p-value (one-tailed, upper)
-0.0459 confidence interval 95.% lower
0.0459 confidence interval 95.% upper
0.0459 margin of error

a) Test statistic z = 0.00

b)P-value = 0.5

c) Decision: P-value =0.5 >=0.05, fail to reject H0.

Conclusion: There is not enough evidence to conclude that p1-p2>0 at level of significance =0.05

d)

The 95% confidence interval for p1 - p2 is:

-0.0459 < p1 - p2 < 0.0459

Done


Related Solutions

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....
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....
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