In Exercises 5–20, assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. (Note: Answers in Appendix D include technology answers based on Formula 9-1 along with “Table” answers based on Table A-3 with df equal to the smaller of n1−1 and n2−1.)Coke and Pepsi Data Set 26 “Cola Weights and Volumes” in Appendix B includes volumes of the contents of cans of regular Coke (n = 36, x = 12.19 oz, s = 0.11 oz) and volumes of the contents of cans of regular Pepsi (n = 36, x = 12.29 oz, s = 0.09 oz).

a. Use a 0.05 significance level to test the claim that cans of regular Coke and regular Pepsi have the same mean volume.

b. Construct the confidence interval appropriate for the hypothesis test in part (a).

c. What do you conclude? Does there appear to be a difference? Is there practical significance?

Short Answer

Expert verified

a. There is sufficient evidence that there is a difference between the volumes of the contents of cans of Coke and Pepsi.

b. The confidence interval for the difference between the means of sample is (-0.052 oz,0.148 oz).

c. The result is statistically significant but has no practical significance.

Step by step solution

01

Given information

The given problem is based on the data of Coke and Pepsi. This data set contains information about the volume of the contents in cans of regular Coke and regular Pepsi, summarized as follows:

1stsample:Regularcoken1=36,s1=0.11ozx¯1=12.19oz

2ndsample:RegularPepsin2=20s2=0.09ozx¯2=12.29oz

02

State the hypothesis

a.

The claim is states that the mean volume of a can of Coke and a can of Pepsi is the same.

H0:μ1=μ2H1:μ1μ2

Here,μ1,μ2are the population mean volume contents for Coke and Pepsi, respectively.

The samples are independent with unknown and unequal population standard deviations.

03

Compute the test statistic

The formula for t-statistic is given below.

tstat=x¯1-x¯2-μ1-μ2s12n1+s22n2;(here,μ1-μ2issupposedtobe0)

04

Find critical values

For t-distribution, find the degrees of freedom as follows:

df=minn1-1,n2-1=min36-1,36-1=35

The critical values are obtained as follows:

Pt>tα2=α2Pt>t0.052=0.052Pt>t0.025=0.025

Thus, the critical value obtained from the t-table for 35 degrees of freedom is 2.0301.

05

Compute test statistic

The test statistic of the means of populations is as follows:

tstat=x¯1-x¯2s12n1+s22n2=12.19-12.290.11236+0.09236=-4.22159

The test statistic is tstat=-4.22.

06

Decision rule using the critical value

The decision criterion for this problem statement is given below.

If tstat>tcrit; Reject a null hypothesis at level of significance

If tstat<tcrit; Fail to accept null hypothesis at level of significance

In this case, tstat=-4.222>tcrit=2.0301.

Thus, the null hypothesis is rejected. It shows that there is not enough evidence to support the claim that the volumes of cans of Pepsi and Coke are the same.

07

Confidence interval for the difference of means of population

b.

For the 0.05 significance test, concerning a two-tailed test, the most appropriate confidence level is 95%.

The formula for the confidence interval of the means of population is given by

x¯1-x¯2-E<μ1-μ2<x¯1-x¯2+E

Here, E is the margin of error that is computed as follows:

E=tα2×s12n1+s22n2=t0.052×0.11236+0.09236=2.0301×0.024=0.0481

Substitute the values in the formula.

C.I=x¯1-x¯2-E<μ1-μ2<x¯1-x¯2+E=12.19-12.29-0.59<μ1-μ2<12.19-12.29+0.59=-0.052<μ1-μ2<0.148

The 95% confidence interval includes 0, which implies that there is not enough evidence that the mean of the contents for Pepsi and Coke is the same.

There is a significant difference between the volumes of the cans.

08

Conclude the results

c.

Thus, it is concluded that there is a statistical significance for the difference in mean of the contents in Pepsi and Coke.

There does not appear to be any practical significance as the difference in the sample means is 0.10 oz, which is very small.

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: Histogram Listed below are sorted braking reaction times (in 1>10,000 sec) for male and female subjects (based on data from the RT-2S Brake Reaction Time Tester). Construct a histogram for the reaction times of males. Use a class width of 8 and use 28 as the lower limit of the first class. For the horizontal axis, use class midpoint values. Does it appear that the data are from a population with a normal distribution?

Males

28

30

31

34

34

36

36

36

36

38

39

40

40

40

40

41

41

41

42

42

44

46

47

48

48

49

51

53

54

54

56

57

60

61

61

63

Females

22

24

34

36

36

37

39

41

41

43

43

45

45

47

53

54

54

55

56

57

57

57

58

61

62

63

66

67

68

71

72

76

77

78

79

80

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.

Accuracy of Fast Food Drive-Through Orders In a study of Burger King drive-through orders, it was found that 264 orders were accurate and 54 were not accurate. For McDonald’s, 329 orders were found to be accurate while 33 orders were not accurate (based on data from QSR magazine). Use a 0.05 significance level to test the claim that Burger King and McDonald’s have the same accuracy rates.

a. Test the claim using a hypothesis test.

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

c. Relative to accuracy of orders, does either restaurant chain appear to be better?

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.

Is Echinacea Effective for Colds? Rhinoviruses typically cause common colds. In a test of the effectiveness of Echinacea, 40 of the 45 subjects treated with Echinacea developed rhinovirus infections. In a placebo group, 88 of the 103 subjects developed rhinovirus infections (based on data from “An Evaluation of Echinacea Angustifolia in Experimental Rhinovirus Infections,” by Turner et al., New England Journal of Medicine, Vol. 353, No. 4). We want to use a 0.05 significance level to test the claim that Echinacea has an effect on rhinovirus infections.

a. Test the claim using a hypothesis test.

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

c. Based on the results, does Echinacea appear to have any effect on the infection rate?

In Exercises 5–20, assume that the two samples are independent simple random samples selected from normally distributed populations, and do not assume that the population standard deviations are equal. (Note: Answers in Appendix D include technology answers based on Formula 9-1 along with “Table” answers based on Table A-3 with df equal to the smaller of n1−1 and n2−1.)

Color and Creativity Researchers from the University of British Columbia conducted trials to investigate the effects of color on creativity. Subjects with a red background were asked to think of creative uses for a brick; other subjects with a blue background were given the same task. Responses were scored by a panel of judges and results from scores of creativity are given below. Higher scores correspond to more creativity. The researchers make the claim that “blue enhances performance on a creative task.”

a. Use a 0.01 significance level to test the claim that blue enhances performance on a creative task.

b. Construct the confidence interval appropriate for the hypothesis test in part (a). What is it about the confidence interval that causes us to reach the same conclusion from part (a)?

Red Background: n = 35, x = 3.39, s = 0.97

Blue Background: n = 36, x = 3.97, s = 0.63

Determining Sample Size The sample size needed to estimate the difference between two population proportions to within a margin of error E with a confidence level of 1 - a can be found by using the following expression:

E=zα2p1q1n1+p2q2n2

Replace n1andn2 by n in the preceding formula (assuming that both samples have the same size) and replace each of role="math" localid="1649424190272" p1,q1,p2andq2by 0.5 (because their values are not known). Solving for n results in this expression:

n=zα222E2

Use this expression to find the size of each sample if you want to estimate the difference between the proportions of men and women who own smartphones. Assume that you want 95% confidence that your error is no more than 0.03.

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