Equivalence of Hypothesis Test and Confidence Interval Two different simple random samples are drawn from two different populations. The first sample consists of 20 people with 10 having a common attribute. The second sample consists of 2000 people with 1404 of them having the same common attribute. Compare the results from a hypothesis test of p1=p2(with a 0.05 significance level) and a 95% confidence interval estimate ofp1-p2.

Short Answer

Expert verified

Using the hypothesis test method, the null hypothesis is rejected. Thus, there is sufficient evidence to reject the claim that the two population proportions are equal.

Using the confidence interval method, the95% confidence interval estimate for the difference in the two proportions is . Since the value of 0 is included, it is said thatthere is not sufficient evidence to reject the claim that the two population proportions are equal.

The conclusions of the claim are different for the two methods.

Step by step solution

01

Given information

In a sample consisting of 20 people, 10 possess a given attribute. In another sample of 2000 people, 1404 people possess the attribute.

02

Describe the Hypotheses

It is claimed that the proportion of people having the attribute corresponding to the first population is equal to the proportion of people having the attribute corresponding to the second population.

The following hypotheses are set up:

Null Hypothesis:The proportion of people having the attribute corresponding to the first population is equal to the proportion of people having the attribute corresponding to the second population.

H0:p1=p2

Alternative Hypothesis:The proportion of people having the attribute corresponding to the first population is not equal to the proportion of people having the attribute corresponding to the second population.

H1:p1p2

The test is two-tailed.

03

Find the important values

Here, n1is the sample size for the first sample and n2is the sample size for the second sample.

Thus, n1is equal to 20 and n2is equal to 2000.

Let p^1denote the sampleproportion of people having the attribute in the first sample.

p^1=1020=0.5

Let p^2denote the sampleproportionof people having the attribute in the second sample.

p^2=14042000=0.702

The value of the pooled proportion is calculated as follows:

p¯=x1+x2n1+n2=10+140420+2000=0.7

q¯=1-p¯=1-0.7=0.3

04

Find the test statistic

The value of the test statistic is computed as shown below:

z=p^1-p^2-p1-p2p¯q¯n1+p¯q¯n2=0.5-0.702-00.7×0.320+0.7×0.32000=-1.962

Thus, the value of the test statistic is -1.962.

Referring to the standard normal distribution table, the critical values of z corresponding to α=0.05for a two-tailed test are -1.96 and 1.96.

Referring to the standard normal distribution table, the corresponding p-value is equal to 0.0498.

Since the p-value is less than 0.05, the null hypothesis is rejected.

There is enough evidence to reject the claim that the two population proportions are equal.

05

Find the confidence interval

The general formula for confidence interval estimate of the difference in the two proportions is written below:

ConfidenceInterval=p^1-p^2-E,p^1-p^2+E...1

The margin of error (E) has the following expression:

E=zα2×p^1×q^1n1+p^2×q^2n2

For computing the confidence interval, first find the critical value zα2.

The confidence level is 95%; thus, the value of the level of significance for the confidence interval becomes α=0.05.

Hence,

α2=0.052=0.025

The value of zα2from the standard normal table is equal to 1.96.

Now, the margin of error (E) is equal to:

E=zα2×p^1×q^1n1+p^2×q^2n2=1.96×0.5×0.520+0.704×0.2982000=0.2200

Substitute the value of E in equation (1) as follows:

ConfidenceInterval=p^1-p^2-E,p^1-p^2+E=0.5-0.702-0.2200,0.5-0.702+0.2200=-0.4220,0.0180

Thus, the 95% confidence interval for the difference between the two proportions is.

The above interval contains the value 0. This implies that the difference in the two proportions can be equal to 0. In other words, the two population proportions have a possibility to be equal.

Thus, there is not enough evidence to reject the claim that the two population proportions are equal.

06

Comparison

It can be observed that the conclusion using the p-value method is different from the conclusion obtained using the confidence interval method.

Thus, it can be said that the hypothesis test method and the confidence interval method are not always equivalent when testing the difference between the two population proportions.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Braking Reaction Times: Boxplots Use the same data from Exercise 6 and use the same scale to construct a boxplot of the braking reaction times of males and another boxplot for the braking reaction times of females. What do the boxplots suggest?

Heights Use a 0.01 significance level with the sample data from Exercise 3 to test the claim that women have heights with a mean that is less than the mean height of men.

Refer to Exercise 10.83 and find a 90 % confidence interval for the difference between the mean numbers of acute postoperative days in the hospital with the dynamic and static systems.

Testing Claims About Proportions. In Exercises 7–22, test the given claim. Identify the null hypothesis, alternative hypothesis, test statistic, P-value or critical value(s), then state the conclusion about the null hypothesis, as well as the final conclusion that addresses the original claim.

Dreaming in Black and White A study was conducted to determine the proportion of people who dream in black and white instead of color. Among 306 people over the age of 55, 68 dream in black and white, and among 298 people under the age of 25, 13 dream in black and white (based on data from “Do We Dream in Color?” by Eva Murzyn, Consciousness and Cognition, Vol. 17, No. 4). We want to use a 0.01 significance level to test the claim that the proportion of people over 55 who dream in black and white is greater than the proportion of those under 25.

a. Test the claim using a hypothesis test.

b. Test the claim by constructing an appropriate confidence interval.

c. An explanation given for the results is that those over the age of 55 grew up exposed to media that was mostly displayed in black and white. Can the results from parts (a) and (b) be used to verify that explanation?

Testing Claims About Proportions. In Exercises 7–22, test the given claim. Identify the null hypothesis, alternative hypothesis, test statistic, P-value or critical value(s), then state the conclusion about the null hypothesis, as well as the final conclusion that addresses the original claim

Question:Headache Treatment In a study of treatments for very painful “cluster” headaches, 150 patients were treated with oxygen and 148 other patients were given a placebo consisting of ordinary air. Among the 150 patients in the oxygen treatment group, 116 were free from head- aches 15 minutes after treatment. Among the 148 patients given the placebo, 29 were free from headaches 15 minutes after treatment (based on data from “High-Flow Oxygen for Treatment of Cluster Headache,” by Cohen, Burns, and Goads by, Journal of the American Medical Association, Vol. 302, No. 22). We want to use a 0.01 significance level to test the claim that the oxygen treatment is effective.

a. Test the claim using a hypothesis test.

b. Test the claim by constructing an appropriate confidence interval.

c. Based on the results, is the oxygen treatment effective?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free