Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
9th Edition
ISBN: 9781319013387
Author: David S. Moore, George P. McCabe, Bruce A. Craig
Publisher: W. H. Freeman
bartleby

Videos

Question
Book Icon
Chapter 12, Problem 80E

(a)

To determine

To find: The P-value to conclude about the ANOVA model.

(a)

Expert Solution
Check Mark

Answer to Problem 80E

Solution: The P-value is obtained as 0.000, which indicates that the mean age of the five different stores are different.

Explanation of Solution

Given: The data on the sample size, mean, and standard deviation of customers of five different stores are provided in the Exercise 12.6, which is shown in the below table.

Store

Sample size (n)

Mean (x¯)

Sample Standard Deviation (s)

A

n1=50

x¯1=38

s1=8

B

n2=50

x¯2=48

s2=13

C

n3=50

x¯3=42

s3=11

D

n4=50

x¯4=28

s4=7

E

n5=50

x¯5=35

s5=10

Calculation: The null and alternative hypothesis of the provided is set as below:

H0:μ1=μ2=μ3=μ4=μ5

Ha: Not all μi ’s are equal

The formulation of ANOVA table will be by the formula provided below:

Sources

Degree of freedom

Sum of square

Mean sum of square

F

Groups

I1

ni(x¯ix¯)2

MSG=SSGDFG

MSGMSE

Error

NI

(ni1)si2

MSE=SSEDFE

Total

N1

(xijx¯)2

Here, N is the total number of samples, I is the number of cases, DFG is the degree of freedom for the groups, and DFE is the degree of freedom for the error.

By the data provided, the number of groups, total number of groups is:

I=5

And,

N=n1+n2+n3+n4+n5=50+50+50+50+50=250

The degrees of freedom for groups are calculated as:

DFG=I1=51=4

The degrees of freedom of error are calculated as:

DFE=NI=2505=245

Total degrees of freedom are:

Degrees of freedom=N1=2501=249

The pooled mean is calculated as:

x¯=ni×x¯ini=(50×38)+(50×48)+(50×42)+(50×28)+(50×35)50+50+50+50+50=38.2

The sum of squares for groups is calculated as:

SSG=ni(x¯ix¯)2=50×((3838.2)2+(4838.2)2+(4238.2)2+(2838.2)2+(3538.2)2)=11240

The sum of squares of error is calculated:

SSE=(ni1)si2=(501)×(82+132+112+72+102)=24647

The Mean Sum of Square of Groups is calculated as:

MSSG=SSGDFG=112404=2810

The Mean Sum of Square of Error is calculated as:

MSSE=SSEDFE=24647245=100.6

The F-ratio is calculated as:

F=MSSGMSSE=2810100.6=27.93

Now the ANOVA table is:

Sources

Degree of freedom

Sum of square

Mean sum of square

F- ratio

Groups

4

11240

2810

27.93

Error

245

24647

100.6

Total

249

The Pvalue for F-statistic is calculated by Excel formula =FDIST(x, deg_freedom1, deg_freedom2). The screenshot given below:

Introduction to the Practice of Statistics, Chapter 12, Problem 80E

The obtained P-value is approximately 0.000, which is less than the significance level 0.05. So, the null hypothesis is rejected in the provided scenario.

Interpretation: The mean age of the customers at different coffee houses are different.

(b)

To determine

To test: The pairwise comparison using LSD method.

(b)

Expert Solution
Check Mark

Answer to Problem 80E

Solution: The significant difference between the mean ages of the different coffee houses except the mean age of the store A and store E.

Explanation of Solution

Given: The data on the sample size, mean, and standard deviation of customers of five different stores are provided in the Exercise 12.6, which is shown in the below table.

Store

Sample size (n)

Mean (x¯)

Sample Standard Deviation (s)

A

n1=50

x¯1=38

s1=8

B

n2=50

x¯2=48

s2=13

C

n3=50

x¯3=42

s3=11

D

n4=50

x¯4=28

s4=7

E

n5=50

x¯5=35

s5=10

Calculation: The value of the test statistic for LSD method is obtained through the below mentioned formula:

tij=x¯ix¯jsp2×(1ni+1nj)

Where sp2 is the mean sum of square of error, x¯i and x¯j are the mean of ith and jth treatment and ni and nj are the sample size of the ith and jth groups, respectively.

The required calculation is shown in the below table.

ith Condition

jth Condition

Test statistic

Store A

Store B

4.985

Store C

1.994

Store D

4.985

Store E

1.496

Store B

Store A

4.985

Store C

2.991

Store D

9.970

Store E

6.481

Store C

Store A

1.994

Store B

2.991

Store C

6.979

Store D

3.490

Store D

Store A

4.985

Store B

9.970

Store C

6.979

Store E

3.490

Store E

Store A

1.496

Store B

6.481

Store C

3.490

Store D

3.490

The critical value for the test is obtained from the Table D in the textbook. In the table, there is no value available for 245 degrees of freedom. So, the value corresponding to the 1000 degrees of freedom is considered corresponding to α=0.05 for two-tailed test. The value is obtained as 1.962. If the value of the test statistic is greater than the critical value, then the difference between the pair of means is considered as significant.

From the obtained result, it can be determined that a significant difference is present between some of the pairs of means. The only pair of means where the difference is not significant is the means of store A and store E. There is significant difference present between the other pairs of means.

Conclusion: The significant difference between the mean ages of the different coffee houses except the mean age of the store A and store E.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!

Chapter 12 Solutions

Introduction to the Practice of Statistics

Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman
Introduction to Statistical Quality Control (SQC); Author: FORSEdu;https://www.youtube.com/watch?v=c18FKHUDZv8;License: Standard YouTube License, CC-BY
[DAXX] Introduction to Statistical Quality Control; Author: The Academician;https://www.youtube.com/watch?v=ypZGDxjSM60;License: Standard Youtube License