50
© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 1 Slides Prepared by Slides Prepared by Juei-Chao Chen Juei-Chao Chen Fu Jen Catholic University Fu Jen Catholic University

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

Embed Size (px)

DESCRIPTION

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3 Slide Slide Chapter 13, Part A Analysis of Variance and Experimental Design n nIntroduction to Analysis of Variance n nAnalysis of Variance: Testing for the Equality of k Population Means n nMultiple Comparison Procedures

Citation preview

Page 1: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 11 SlideSlide

Slides Prepared bySlides Prepared byJuei-Chao ChenJuei-Chao ChenFu Jen Catholic UniversityFu Jen Catholic University

Page 2: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 22 SlideSlide

Chapter 13Chapter 13STATISTICSSTATISTICS in in PRACTICEPRACTICE

Burke Marketing Services, Inc., is one of the most experienced market research firms in the industry. In one study, a firm retained Burke to evaluate potential new versions of a children’s dry cereal. Analysis of variance was the statistical method used to

study the data obtained from the taste tests. The experimental design employed by Burke and the

subsequent analysis of variance were helpful in making a product design recommendation.

Page 3: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 33 SlideSlide

Chapter 13, Part AChapter 13, Part A Analysis of Variance and Experimental Design Analysis of Variance and Experimental Design Introduction to Analysis of Variance Analysis of Variance: Testing for the Equality

of k Population Means Multiple Comparison Procedures

Page 4: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 44 SlideSlide

IntroductionIntroduction to Analysis of Varianceto Analysis of Variance

Analysis of VarianceAnalysis of Variance (ANOVA) can be used to test (ANOVA) can be used to test for the equality of three or more population means.for the equality of three or more population means.

Data obtained from observational or experimentalData obtained from observational or experimental studies can be used for the analysis.studies can be used for the analysis.

We want to use the sample results to test theWe want to use the sample results to test the following hypotheses:following hypotheses:

HH00: : 11==22==33==. . . . . . = = kk

HHaa: : Not all population means are equalNot all population means are equal

Page 5: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 55 SlideSlide

Introduction to Analysis of VarianceIntroduction to Analysis of Variance

HH00: : 11==22==33==. . . . . . = = kk

HHaa: : Not all population means are equalNot all population means are equal

IfIf HH00 is rejected, we cannot conclude that all populationis rejected, we cannot conclude that all population means are different.means are different.

RejectingRejecting HH00 means that at least two population meansmeans that at least two population means have different values.have different values.

Page 6: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 66 SlideSlide

Sampling Distribution of Given H0 is Truex

Introduction to Analysis of VarianceIntroduction to Analysis of Variance

1x 3x2x

Sample means are close togetherSample means are close together because there is onlybecause there is only

one sampling distributionone sampling distribution when when HH00 is true. is true.

22x n

Page 7: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 77 SlideSlide

Introduction to Analysis of VarianceIntroduction to Analysis of Variance

Sampling Distribution of Given H0 is Falsex

3 1x 2x3x 1 2

Sample means come fromSample means come fromdifferent sampling distributionsdifferent sampling distributions

and are not as close togetherand are not as close together when when HH00 is false. is false.

Page 8: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 88 SlideSlide

For each population, the response variable isFor each population, the response variable is normally distributed.normally distributed.

Assumptions for Analysis of VarianceAssumptions for Analysis of Variance

The variance of the response variable, denotedThe variance of the response variable, denoted 22,, is the same for all of the populationsis the same for all of the populations..

The observations must be independent.The observations must be independent.

Page 9: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 99 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

Between-Treatments Estimate of Population Variance

Within-Treatments Estimate of Population Variance

Comparing the Variance Estimates: The F Test

ANOVA Table

Page 10: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1010 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

Analysis of variance can be used to test for the equality of k population means.

The hypotheses tested is H0: Ha: Not all population means are equal where mean of the jth population.

k 21

j

Page 11: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1111 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

Sample data

= value of observation i for treatment j = number of observations for treatment j = sample mean for treatment j = sample variance for treatment j = sample standard deviation for treatment j

ijx

jn

jx2js

js

Page 12: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1212 SlideSlide

Statisitcs The sample mean for treatment j

The sample variance for treatment j

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

j

n

iij

j n

xx

j

1

1

)(1

2

2

j

n

ijij

j n

xxs

j

Page 13: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1313 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

The overall sample mean

where nT = n1 + n2 +. . . + nk

If the size of each sample is n, nT = kn then

T

k

j

n

iij

n

xx

j

1 1

kn

x

k

nx

kn

xx

k

jij

k

j

n

iij

k

j

n

iij

jj

11 11 1

/

Page 14: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1414 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

Between-Treatments Estimate of Population Variance

The sum of squares due to treatments (SSTR)

The mean square due to treatments (MSTR)

1

)(1

2

k

xxnMSTR

k

jjj

k

jjj xxn

1

2)(

Page 15: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1515 SlideSlide

Analysis of Variance:Analysis of Variance:Testing for the Equality of Testing for the Equality of kk Population Means Population Means

Within-Treatments Estimate of Population Variance The sum of squares due to error (SSE)

The mean square due to error (MSE)

k

jjj sn

1

2)1(

kn

snMSE

T

k

jjj

1

2)1(

Page 16: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1616 SlideSlide

Between-Treatments EstimateBetween-Treatments Estimateof Population Varianceof Population Variance

A between-treatment estimate of 2 is called the mean square treatment and is denoted MSTR.

2

1( )

MSTR 1

k

j jj

n x x

k

Denominator representsDenominator represents the the degrees of freedomdegrees of freedom associated with SSTRassociated with SSTR

Numerator is theNumerator is the sum of squaressum of squares

due to treatmentsdue to treatmentsand is denoted SSTRand is denoted SSTR

Page 17: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1717 SlideSlide

The estimate of 2 based on the variation of the sample observations within each sample is called the mean square error and is denoted by MSE.

Within-Samples EstimateWithin-Samples Estimateof Population Varianceof Population Variance

kn

sn

T

k

jjj

1

2)1(MSE

Denominator representsDenominator represents the the degrees of freedomdegrees of freedom

associated with SSEassociated with SSE

Numerator is theNumerator is the sum of squaressum of squares

due to errordue to errorand is denoted SSEand is denoted SSE

Page 18: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1818 SlideSlide

Comparing the Variance Estimates: The Comparing the Variance Estimates: The FF Test Test

If the null hypothesis is true and the ANOVA assumptions are valid, the sampling distribution of MSTR/MSE is an F distribution with MSTR d.f. equal to k - 1 and MSE d.f. equal to nT - k. If the means of the k populations are not equal, the value of MSTR/MSE will be inflated because MSTR overestimates 2. Hence, we will reject H0 if the resulting value of MSTR/MSE appears to be too large to have been selected at random from the appropriate F distribution.

Page 19: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1919 SlideSlide

Test for the Equality ofTest for the Equality of kk Population MeansPopulation Means

FF = MSTR/MSE = MSTR/MSE

HH00: : 11==22==33==. . . . . . = = kk

HHaa: Not all population means are equal: Not all population means are equal

Hypotheses

Test Statistic

Page 20: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2020 SlideSlide

Test for the Equality ofTest for the Equality of k k Population MeansPopulation Means

Rejection Rule

where the value of F is based on anF distribution with k - 1 numerator d.f.and nT - k denominator d.f.

Reject Reject HH00 if if pp-value-value << p-value Approach:

Critical Value Approach: RejectReject HH00 if if FF >> FF

Page 21: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2121 SlideSlide

Sampling Distribution of MSTR/MSESampling Distribution of MSTR/MSE Rejection Region

Do Not Reject H0

Reject H0

MSTR/MSE

Critical ValueF

Sampling DistributionSampling Distributionof MSTR/MSEof MSTR/MSE

Page 22: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2222 SlideSlide

ANOVA TableANOVA Table

SST is SST is partitionedpartitioned

into SSTR and into SSTR and SSE.SSE.

SST’s degrees of SST’s degrees of freedomfreedom

(d.f.) are partitioned (d.f.) are partitioned intointo

SSTR’s d.f. and SSE’s SSTR’s d.f. and SSE’s d.f.d.f.

TreatmentTreatmentErrorErrorTotalTotal

SSTRSSTRSSESSESSTSST

kk – 1 – 1nnT T – – kknnTT - 1 - 1

MSTRMSTRMSEMSE

Source ofSource ofVariationVariation

Sum ofSum ofSquaresSquares

Degrees ofDegrees ofFreedomFreedom

MeanMeanSquaresSquares

MSTR/MSEMSTR/MSEFF

Page 23: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2323 SlideSlide

ANOVA TableANOVA Table

SST divided by its degrees of freedomSST divided by its degrees of freedom nnTT – 1 – 1 is theis the overall sample variance that would be obtained if weoverall sample variance that would be obtained if we treated the entire set of observations as one data set.treated the entire set of observations as one data set.

With the entire data set as one sample, the formulaWith the entire data set as one sample, the formula for computing the total sum of squares, SST, is:for computing the total sum of squares, SST, is:

2

1 1SST ( ) SSTR SSE

jnk

ijj i

x x

Page 24: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2424 SlideSlide

ANOVA TableANOVA Table

ANOVA can be viewed as the process of partitioningANOVA can be viewed as the process of partitioning the total sum of squares and the degrees of freedomthe total sum of squares and the degrees of freedom into their corresponding sources: treatments and error.into their corresponding sources: treatments and error.

Dividing the sum of squares by the appropriate degrees Dividing the sum of squares by the appropriate degrees of freedom provides the variance estimates and the of freedom provides the variance estimates and the FF value used to test the hypothesis of equal population value used to test the hypothesis of equal population means.means.

Page 25: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2525 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

Example: National Computer Products, Inc. (NCP),

manufactures printers and fax machines at plants located in Atlanta, Dallas, and Seattle.

Object: To measure how much employees at these plants know about total quality management. A random sample of six employees was selected from

each plant and given a quality awareness examination.

Page 26: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2626 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

Data

Let = mean examination score for population 1 = mean examination score for population 2 = mean examination score for population 3

123

Page 27: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2727 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means Hypotheses H0: = = Ha: Not all population means are equal

In this example 1. dependent or response variable : examination score 2. independent variable or factor : plant location 3. levels of the factor or treatments : the values of a factor selected for investigation, in the NCP example the three treatments or three population are Atlanta, Dallas, and Seattle.

1 2 3

Page 28: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2828 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

Three assumptions1. For each population, the response variable is normally

distributed. The examination scores (response variable) must be normally distributed at each plant.

2. The variance of the response variable, , is the same for all of the populations. The variance of examination scores must be the same for all three plants.

3. The observations must be independent. The examination score for each employee must be independent of the examination score for any other employee.

2

Page 29: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 2929 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

ANOVA Table

p-value = 0.003 < α = .05. We reject H0.

Page 30: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3030 SlideSlide

Example: Reed Manufacturing

Test for the Equality of Test for the Equality of kk Population Means Population Means

Janet Reed would like to know ifthere is any significant difference inthe mean number of hours worked per week for the department managersat her three manufacturing plants(in Buffalo, Pittsburgh, and Detroit).

Page 31: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3131 SlideSlide

Example: Reed Manufacturing

Test for the Equality of Test for the Equality of kk Population Means Population Means

A simple random sample of fivemanagers from each of the three plants was taken and the number of hours worked by each manager for the previous week is shown on the next slide. Conduct an F test using α = .05.

Page 32: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3232 SlideSlide

1122334455

48485454575754546262

73736363666664647474

51516363616154545656

PlantPlant 1 1BuffaloBuffalo

Plant 2Plant 2PittsburghPittsburgh

PlantPlant 3 3DetroitDetroitObservationObservation

SampleSample Mean MeanSample VarianceSample Variance

5555 68 68 575726.026.0 26.5 26.5 24.524.5

Test for the Equality of Test for the Equality of kk Population Means Population Means

Page 33: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3333 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

H0: 1=2=3

Ha: Not all the means are equal

where: 1 = mean number of hours worked per week by the managers at Plant 1 2 = mean number of hours worked per week by the managers at Plant 23 = mean number of hours worked per week by the managers at Plant 3

1. Develop the hypotheses.1. Develop the hypotheses.

p -Value and Critical Value Approaches

Page 34: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3434 SlideSlide

2. Specify the level of significance.2. Specify the level of significance. = .05

Test for the Equality of Test for the Equality of kk Population Means Population Means

p -Value and Critical Value Approaches

3. Compute the value of the test statistic.3. Compute the value of the test statistic.

MSTR = 490/(3 - 1) = 245SSTR = 5(55 - 60)2 + 5(68 - 60)2 + 5(57 - 60)2 = 490

(Sample sizes are all equal.)Mean Square Due to Treatments

= (55 + 68 + 57)/3 = 60x

Page 35: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3535 SlideSlide

3. Compute the value of the test statistic.3. Compute the value of the test statistic.

Test for the Equality of Test for the Equality of kk Population Means Population Means

MSE = 308/(15 - 3) = 25.667SSE = 4(26.0) + 4(26.5) + 4(24.5) = 308

Mean Square Due to Error

(continued)

F = MSTR/MSE = 245/25.667 = 9.55

p -Value and Critical Value Approaches

Page 36: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3636 SlideSlide

TreatmentTreatmentErrorErrorTotalTotal

490490308308798798

2212121414

24524525.66725.667

Source ofSource ofVariationVariation

Sum ofSum ofSquaresSquares

Degrees ofDegrees ofFreedomFreedom

MeanMeanSquaresSquares

9.559.55FF

Test for the Equality of Test for the Equality of kk Population Means Population Means

ANOVA Table

Page 37: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3737 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

5. Determine whether to reject5. Determine whether to reject HH00..

We have sufficient evidence to conclude that the mean number of hours worked per week by department managers is not the same at all 3 plant.

The p-value < .05, so we reject H0.

With 2 numerator d.f. and 12 denominator d.f.,the p-value is .01 for F = 6.93. Therefore, the p-value is less than .01 for F = 9.55.

p - Value Approach

4. Compute the 4. Compute the pp –value. –value.

Page 38: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3838 SlideSlide

5. Determine whether to reject5. Determine whether to reject HH00..Because F = 9.55 > 3.89, we reject H0.

Critical Value Approach

4. Determine the critical value and rejection rule.4. Determine the critical value and rejection rule.

Reject H0 if F > 3.89

Test for the Equality of Test for the Equality of kk Population Means Population Means

We have sufficient evidence to conclude that the mean number of hours worked per week by department managers is not the same at all 3 plant.

Based on an F distribution with 2 numeratord.f. and 12 denominator d.f., F.05 = 3.89.

Page 39: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 3939 SlideSlide

Test for the Equality of Test for the Equality of kk Population Means Population Means

Summary

Page 40: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4040 SlideSlide

Multiple Comparison ProceduresMultiple Comparison Procedures Suppose that analysis of variance has provided

statistical evidence to reject the null hypothesis of equal population means.

Fisher’s least significant difference (LSD) procedure can be used to determine where the differences occur.

Page 41: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4141 SlideSlide

Fisher’s LSD ProcedureFisher’s LSD Procedure

1 1MSE( )i j

i j

x xt

n n

Test Statistic

Hypotheses 0 : i jH : a i jH

Page 42: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4242 SlideSlide

Fisher’s LSD ProcedureFisher’s LSD Procedure

where the value of ta/2 is based on at distribution with nT - k degrees of freedom.

Rejection Rule

Reject Reject HH00 if if pp-value -value << aa

p-value Approach:

Critical Value Approach:

Reject Reject HH00 ifif tt < - < -ttaa/2 /2 oror tt > > ttaa/2 /2

Page 43: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4343 SlideSlide

Test Statistic

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

/ 21 1LSD MSE( )

i jt n n where

i jx x

Reject Reject HH00 if > LSD if > LSDi jx x

Hypotheses

Rejection Rule

0 : i jH : a i jH

Page 44: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4444 SlideSlide

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

Example: Reed Manufacturing Recall that Janet Reed wants to knowif there is any significant difference inthe mean number of hours worked per week for the department managersat her three manufacturing plants. Analysis of variance has providedstatistical evidence to reject the nullhypothesis of equal population means.Fisher’s least significant difference (LSD) procedurecan be used to determine where the differences occur.

Page 45: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4545 SlideSlide

For = .05 and nT - k = 15 – 3 = 12 degrees of freedom, t.025 = 2.179

/ 21 1LSD MSE( )

i jt n n

MSE value wasMSE value wascomputed earliercomputed earlier

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

Page 46: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4646 SlideSlide

LSD for Plants 1 and 2

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

• Conclusion

• Test Statistic1 2x x = |55 - 68| = 13

Reject H0 if > 6.981 2x x• Rejection Rule

0 1 2: H 1 2: aH

• Hypotheses (A)

The mean number of hours worked at Plant 1 isnot equal to the mean number worked at Plant 2.

Page 47: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4747 SlideSlide

LSD for Plants 1 and 3

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

• Conclusion

• Test Statistic1 3x x = |55 57| = 2

Reject H0 if > 6.981 3x x• Rejection Rule

0 1 3: H 1 3: aH

• Hypotheses (B)

There is no significant difference between the mean number of hours worked at Plant 1 and the mean number of hours worked at Plant 3.

Page 48: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4848 SlideSlide

LSD for Plants 2 and 3

Fisher’s LSD ProcedureFisher’s LSD ProcedureBased on the Test Statistic Based on the Test Statistic xxii - - xxjj

• Conclusion

• Test Statistic2 3x x = |68 - 57| = 11

Reject H0 if > 6.982 3x x• Rejection Rule

0 2 3: H 2 3: aH

• Hypotheses (C)

The mean number of hours worked at Plant 2 is not equal to the mean number worked at Plant 3.

Page 49: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 4949 SlideSlide

The experimentwise Type I error rate gets larger for problems with more populations (larger k).

Type I Error RatesType I Error Rates

EWEW = 1 – (1 – = 1 – (1 – ))((k k – 1)!– 1)!

The comparisonwise Type I error rate indicates the level of significance associated with a single pairwise comparison.

The experimentwise Type I error rate EW is the probability of making a Type I error on at least one of the (k – 1)! pairwise comparisons.

Page 50: © 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 1 Slide Slide Slides Prepared by Juei-Chao Chen Fu Jen Catholic University Slides Prepared

© 2006 by Thomson Learning, a division of Thomson Asia Pte Ltd.. 5050 SlideSlide

End of Chapter 13, Part AEnd of Chapter 13, Part A