Question

In: Statistics and Probability

In a test for the difference between two proportions, the sample sizes were n1 = 120...

In a test for the difference between two proportions, the sample sizes were n1 = 120 and n2 = 85, and the numbers of events were x1 = 55 and x2 = 45. A test is made of the hypotheses H0: p1 = p2versus H1: p1p2.

  1. Compute the value of the test statistic.

  2. Can you reject H0 at the α = 0.05 level of significance?

  3. Can you reject H0 at the α = 0.01 level of significance?

Solutions

Expert Solution

Solution :

Given that,

This is the two tailed test .

The null and alternative hypothesis is ,

H0 : P1 = P2

Ha : P1    P2

1 = x1 / n1 = 55 / 120 = 0.4583

2 = x2 / n2 = 45 / 85 = 0.5294

= (x1 + x2) / (n1 + n2) = (55 + 45) / (120 + 85) = 0.4878

1 - = 0.5122

Z = (1 - 1) / * (1 - ) (1 / n1 + 1 / n2)

Z = (0.4583 - 0.5294) / 0.4878 * 0.5122 (1 / 120 + 1 / 85)

Z = -1.003

Test statistic = -1.003

P(z < -1.003) = 0.1579

P-value = 0.3158

= 0.05

P-value >

Fail to reject the null hypothesis .

= 0.01

P-value >

Fail to reject the null hypothesis .


Related Solutions

Using the Chi-Square test for the difference between two proportions, determine (?=0.05) if there is a...
Using the Chi-Square test for the difference between two proportions, determine (?=0.05) if there is a difference in population proportion between male patients using Medicare as their Payer versus female patients using Medicare as their Payer. Be sure to set up the null and alternate hypotheses.   Using the Patients dataset, determine if there is a relationship between length of stay and total charges. Your answer should include the following: Scatter Plot   Linear Regression Equation (with interpretation)   Coefficient of Determination (with...
describe the process of hypothesis test regarding the difference between two population proportions
describe the process of hypothesis test regarding the difference between two population proportions
10.4: Inferences About the Difference Between Two Population Proportions In a test of the quality of...
10.4: Inferences About the Difference Between Two Population Proportions In a test of the quality of two television commercials, each commercial was shown in a separate test area six times over a one-week period. The following week a telephone survey was conducted to identify individuals who had seen the commercials. Those individuals were asked to state the primary message in the commercials. The following results were recorded. Commercial A Commercial B Number Who Saw Commercial 155 204 Number Who Recalled...
Calculate a 90​% confidence interval for the difference between the two population proportions. Sample1 n1=200 x1=40...
Calculate a 90​% confidence interval for the difference between the two population proportions. Sample1 n1=200 x1=40 sample 2 n2=150 x2=27 ___≤​(p1−p2​≤______
Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means A...
Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means A pharmaceutical company is testing a new cold medicine to determine if the drug has side affects. To test the drug, 8 patients are given the drug and 9 patients are given a placebo (sugar pill). The change in blood pressure after taking the pill was as follows: Given drug: 3 4 5 1 -2 3 5 6 Given placebo: 1 -1 2 7 2...
Find the value of z that would be used to test the difference between the proportions,...
Find the value of z that would be used to test the difference between the proportions, given the following. (Use G - H. Give your answer correct to two decimal places.) Sample n x G 372 312 H 423 326
Independent random samples of sizes n1 = 307 and n2 = 309 were taken from two...
Independent random samples of sizes n1 = 307 and n2 = 309 were taken from two populations. In the first sample, 92 of the individuals met a certain criteria whereas in the second sample, 108 of the individuals met the same criteria. Test the null hypothesis H0:p1=p2versus the alternative hypothesis HA:p1<p2. a)  Calculate the z test statistic, testing the null hypothesis that the population proportions are equal. Round your response to at least 3 decimal places.      b) What is the...
Independent random samples of sizes n1 = 202 and n2 = 210 were taken from two...
Independent random samples of sizes n1 = 202 and n2 = 210 were taken from two populations. In the first sample, 170 of the individuals met a certain criteria whereas in the second sample, 178 of the individuals met the same criteria. Test the null hypothesis H0:p1=p2versus the alternative hypothesis HA:p1>p2. a)  Calculate the z test statistic, testing the null hypothesis that the population proportions are equal. Round your response to at least 3 decimal places.      b) What is the...
Find the sample proportions and test statistic for equal proportions. (a-1) Dissatisfied workers in two companies:...
Find the sample proportions and test statistic for equal proportions. (a-1) Dissatisfied workers in two companies: x1 = 46, n1 = 100, x2 = 36, n2 = 100, α = .05, two-tailed test. (Round your answers to 4 decimal places. Use Excel to calculate the p-value.)   p1      p2      zcalc      p-value      zα/2 +/-    (a-2) Choose the appropriate hypotheses. a. H0:π1 – π2= 0 vs. H1:π1 – π2 ≠ 0. Reject H0 if zcalc < –1.96 or zcalc...
Find the sample proportions and test statistic for equal proportions. (a-1) Dissatisfied workers in two companies:...
Find the sample proportions and test statistic for equal proportions. (a-1) Dissatisfied workers in two companies: x1 = 44, n1 = 100, x2 = 34, n2 = 100, α = .05, two-tailed test. (Round your answers to 4 decimal places. Use Excel to calculate the p-value.) p1 = p2 = zcalc = p-value = zα/2 = (a-2) Choose the appropriate hypotheses. H0:π1 – π2= 0 vs. H1:π1 – π2 ≠ 0. Reject H0 if zcalc < –1.96 or zcalc >...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT