Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

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 \({p_1} = {p_2}\) (with a 0.05 significance level) and a 95% confidence interval estimate of \({p_1} - {p_2}\).

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\(\left( { - 0.4221\,\,,\:\,0.0181} \right)\). 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.

\({H_0}:{p_1} = {p_2}\)

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.

\({H_1}:{p_1} \ne {p_2}\)

The test is two-tailed.

03

Find the important values

Here,\({n_1}\)is the sample size for the first sample and\({n_2}\)is the sample size for the second sample.

Thus,\({n_1}\)is equal to 20 and\({n_2}\)is equal to 2000.

Let \({\hat p_1}\) denote the sampleproportion of people having the attribute in the first sample.\(\begin{array}{c}{{{\rm{\hat p}}}_{\rm{1}}} = \frac{{10}}{{20}}\\ = 0.5\end{array}\)

Let\({\hat p_2}\) denote the sampleproportionof people having the attribute in the second sample.

\(\begin{array}{c}{{\hat p}_2} = \frac{{1404}}{{2000}}\\ = 0.702\end{array}\)

The value of the pooled proportion is calculated as follows:

\(\begin{array}{c}\bar p = \frac{{\left( {{x_1} + {x_2}} \right)}}{{\left( {{n_1} + {n_2}} \right)}}\,\\ = \frac{{\left( {10 + 1404} \right)}}{{\left( {20 + 2000} \right)}}\\ = 0.7\end{array}\)

\(\begin{array}{c}\bar q = 1 - \bar p\\ = 1 - 0.7\\ = 0.3\end{array}\)

04

Find the test statistic

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

\(\begin{array}{c}z = \frac{{\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - \left( {{p_1} - {p_2}} \right)}}{{\sqrt {\left( {\frac{{\bar p\bar q}}{{{n_1}}} + \frac{{\bar p\bar q}}{{{n_2}}}} \right)} }}\\ = \frac{{\left( {0.5 - 0.702} \right) - 0}}{{\sqrt {\left( {\frac{{0.7 \times 0.3}}{{20}} + \frac{{0.7 \times 0.3}}{{2000}}} \right)} }}\\ = - 1.962\end{array}\)

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

Referring to the standard normal distribution table, the critical values of z corresponding to\(\alpha = 0.05\)for 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:

\({\rm{Confidence}}\,\,{\rm{Interval}} = \left( {\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - E\,\,,\,\,\left( {{{\hat p}_1} - {{\hat p}_2}} \right) + E} \right)\,\,\,\,\,\,\,\,...\left( 1 \right)\)\(\)

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

\(E = {z_{\frac{\alpha }{2}}} \times \sqrt {\left( {\frac{{{{\hat p}_1} \times {{\hat q}_1}}}{{{n_1}}} + \frac{{{{\hat p}_2} \times {{\hat q}_2}}}{{{n_2}}}} \right)} \)

For computing the confidence interval, first find the critical value\({z_{\frac{\alpha }{2}}}\).

The confidence level is 95%; thus, the value of the level of significance for the confidence interval becomes\(\alpha = 0.05\).

Hence,

\(\begin{array}{c}\frac{\alpha }{2} = \frac{{0.05}}{2}\\ = 0.025\end{array}\)

The value of\({z_{\frac{\alpha }{2}}}\)from the standard normal table is equal to 1.96.

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

\(\begin{array}{c}E = {z_{\frac{\alpha }{2}}} \times \sqrt {\left( {\frac{{{{\hat p}_1} \times {{\hat q}_1}}}{{{n_1}}} + \frac{{{{\hat p}_2} \times {{\hat q}_2}}}{{{n_2}}}} \right)} \\ = 1.96 \times \sqrt {\left( {\frac{{0.5 \times 0.5}}{{20}} + \frac{{0.704 \times 0.298}}{{2000}}} \right)} \\ = 0.2200\end{array}\)

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

\(\begin{array}{c}{\rm{Confidence}}\,\,{\rm{Interval}} = \left( {\left( {{{\hat p}_1} - {{\hat p}_2}} \right) - E\,\,,\,\,\left( {{{\hat p}_1} - {{\hat p}_2}} \right) + E} \right)\\ = \left( {\left( {0.5 - 0.702} \right) - 0.2200\,\,,\,\,\left( {0.5 - 0.702} \right) + 0.2200} \right)\\ = \left( { - 0.4220\,\,,\:\,0.0180} \right)\end{array}\)

Thus, the 95% confidence interval for the difference between the two proportions is\(\left( { - 0.4220\,\,,\:\,0.0180} \right)\).

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

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.

Are Seat Belts Effective? A simple random sample of front-seat occupants involved in car crashes is obtained. Among 2823 occupants not wearing seat belts, 31 were killed. Among 7765 occupants wearing seat belts, 16 were killed (based on data from โ€œWho Wants Airbags?โ€ by Meyer and Finney, Chance, Vol. 18, No. 2). We want to use a 0.05 significance level to test the claim that seat belts are effective in reducing fatalities.

a. Test the claim using a hypothesis test.

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

c. What does the result suggest about the effectiveness of seat belts?

Family Heights. In Exercises 1โ€“5, use the following heights (in.) The data are matched so that each column consists of heights from the same family.

1. a. Are the three samples independent or dependent? Why?

b. Find the mean, median, range, standard deviation, and variance of the heights of the sons.

c. What is the level of measurement of the sample data (nominal, ordinal, interval, ratio)?

d. Are the original unrounded heights discrete data or continuous data?

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.

Cell Phones and Handedness A study was conducted to investigate the association between cell phone use and hemispheric brain dominance. Among 216 subjects who prefer to use their left ear for cell phones, 166 were right-handed. Among 452 subjects who prefer to use their right ear for cell phones, 436 were right-handed (based on data from โ€œHemi- spheric Dominance and Cell Phone Use,โ€ by Seidman et al., JAMA Otolaryngologyโ€”Head & Neck Surgery, Vol. 139, No. 5). We want to use a 0.01 significance level to test the claim that the rate of right-handedness for those who prefer to use their left ear for cell phones is less than the rate of right-handedness for those who prefer to use their right ear for cell phones. (Try not to get too confused here.)

a. Test the claim using a hypothesis test.

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

Independent and Dependent Samples Which of the following involve independent samples?

a. Data Set 14 โ€œOscar Winner Ageโ€ in Appendix B includes pairs of ages of actresses and actors at the times that they won Oscars for Best Actress and Best Actor categories. The pair of ages of the winners is listed for each year, and each pair consists of ages matched according to the year that the Oscars were won.

b. Data Set 15 โ€œPresidentsโ€ in Appendix B includes heights of elected presidents along with the heights of their main opponents. The pair of heights is listed for each election.

c. Data Set 26 โ€œCola Weights and Volumesโ€ in Appendix B includes the volumes of the contents in 36 cans of regular Coke and the volumes of the contents in 36 cans of regular Pepsi.

Find and interpret 95 % confidence interval for the proportion of all US adults who never clothes-shop online.

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