© 2003 prentice-hall, inc.chap 11-1 analysis of variance ie 340/440 process improvement through...

86
© 2003 Prentice-Hall, Inc. Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

Upload: shana-gallagher

Post on 11-Jan-2016

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-1

Analysis of Variance

IE 340/440

PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION

Dr. Xueping LiUniversity of Tennessee

Page 2: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-2

The Completely Randomized Design:One-Way Analysis of Variance ANOVA Assumptions F Test for Difference in c Means The Tukey-Kramer Procedure Levene’s Test for Homogeneity of Variance

The Randomized Block Design F Test for the Difference in c Means The Tukey Procedure

Chapter Topics

Page 3: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-3

Chapter Topics

The Factorial Design: Two-Way Analysis of Variance Examine Effects of Factors and Interaction

Kruskal-Wallis Rank Test for Differences in c Medians

Friedman Rank Test for Differences in c Medians

(continued)

Page 4: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-4

General Experimental Setting

Investigator Controls One or More Independent Variables Called treatment variables or factors Each treatment factor contains two or more

groups (or levels) Observe Effects on Dependent Variable

Response to groups (or levels) of independent variable

Experimental Design: The Plan Used to Test Hypothesis

Page 5: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-5

Completely Randomized Design

Experimental Units (Subjects) are Assigned Randomly to Groups Subjects are assumed to be homogeneous

Only One Factor or Independent Variable With 2 or more groups (or levels)

Analyzed by One-Way Analysis of Variance (ANOVA)

Page 6: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-6

Factor (Training Method)

Factor Levels

(Groups)

Randomly Assigned

Units

Dependent Variable

(Response)

21 hrs 17 hrs 31 hrs

27 hrs 25 hrs 28 hrs

29 hrs 20 hrs 22 hrs

Randomized Design Example

Page 7: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-7

One-Way Analysis of VarianceF Test

Evaluate the Difference Among the Mean Responses of 2 or More (c ) Populations E.g., Several types of tires, oven temperature

settings Assumptions

Samples are randomly and independently drawn This condition must be met

Populations are normally distributed F Test is robust to moderate departure from

normality Populations have equal variances

Less sensitive to this requirement when samples are of equal size from each population

Page 8: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-8

Why ANOVA? Could Compare the Means One by One

using Z or t Tests for Difference of Means

Each Z or t Test Contains Type I Error The Total Type I Error with k Pairs of

Means is 1- (1 - ) k

E.g., If there are 5 means and use = .05 Must perform 10 comparisons Type I Error is 1 – (.95) 10 = .40 40% of the time you will reject the null

hypothesis of equal means in favor of the alternative when the null is true!

Page 9: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-9

Hypotheses of One-Way ANOVA

All population means are equal No treatment effect (no variation in means

among groups)

At least one population mean is different

(others may be the same!) There is a treatment effect Does not mean that all population means are

different

0 1 2: cH

1 : Not all are the sameiH

Page 10: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-10

One-Way ANOVA (No Treatment Effect)

The Null Hypothesis is True

0 1 2: cH

1 : Not all are the sameiH

1 2 3

Page 11: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-11

One-Way ANOVA (Treatment Effect Present)

The Null Hypothesis is

NOT True

0 1 2: cH

1 : Not all are the sameiH

1 2 3 1 2 3

Page 12: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-12

One-Way ANOVA(Partition of Total Variation)

Variation Due to Group SSA

Variation Due to Group SSA

Variation Due to Random Sampling SSW

Variation Due to Random Sampling SSW

Total Variation SSTTotal Variation SST

Commonly referred to as: Within Group Variation Sum of Squares Within Sum of Squares Error Sum of Squares

Unexplained

Commonly referred to as: Among Group Variation Sum of Squares Among Sum of Squares Between Sum of Squares Model Sum of Squares

Explained Sum of Squares

Treatment

= +

Page 13: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-13

Total Variation

2

1 1

1 1

( )

: the -th observation in group

: the number of observations in group

: the total number of observations in all groups

: the number of groups

the over

j

j

nc

ijj i

ij

j

nc

ijj i

SST X X

X i j

n j

n

c

X

Xn

all or grand mean

Page 14: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-14

Total Variation(continued)

2 2 2

11 21 cn cSST X X X X X X

X

Response, X

Group 1 Group 2 Group 3

Page 15: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-15

2

1

( )c

j jj

SSA n X X

Among-Group Variation

Variation Due to Differences Among Groups

1

SSAMSA

c

i j

: The sample mean of group

: The overall or grand mean

jX j

X

Page 16: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-16

Among-Group Variation(continued)

2 2 2

1 1 2 2 c cSSA n X X n X X n X X

X1X 2X

3X

Response, X

Group 1 Group 2 Group 3

Page 17: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-17

Summing the variation within each group and then adding over all groups

: The sample mean of group

: The -th observation in group

j

ij

X j

X i j

Within-Group Variation

2

1 1

( )jnc

ij jj i

SSW X X

SSWMSW

n c

j

Page 18: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-18

Within-Group Variation(continued)

22 2

11 1 21 1 cn c cSSW X X X X X X

1X 2X3X

X

Response, X

Group 1 Group 2 Group 3

Page 19: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-19

Within-Group Variation(continued)

2 2 21 1 2 2

1 2

( 1) ( 1) ( 1)

( 1) ( 1) ( 1)c c

c

SSWMSW

n c

n S n S n S

n n n

For c = 2, this is the pooled-variance in the t test.

•If more than 2 groups, use F Test.

•For 2 groups, use t test. F Test more limited.

j

Page 20: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-20

One-Way ANOVAF Test Statistic

Test Statistic

MSA is mean squares among MSW is mean squares within

Degrees of Freedom

MSAF

MSW

1 1df c 2df n c

Page 21: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-21

One-Way ANOVA Summary Table

Source of

Variation

Degrees of

Freedom

Sum ofSquares

Mean Squares

(Variance)

FStatistic

Among(Factor)

c – 1 SSAMSA =

SSA/(c – 1 )MSA/MSW

Within(Error)

n – c SSWMSW =

SSW/(n – c )

Total n – 1SST =SSA + SSW

Page 22: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-22

Features of One-Way ANOVA

F Statistic The F Statistic is the Ratio of the Among

Estimate of Variance and the Within Estimate of Variance The ratio must always be positive df1 = c -1 will typically be small df2 = n - c will typically be large

The Ratio Should Be Close to 1 if the Null is True

Page 23: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-23

Features of One-Way ANOVA

F Statistic

If the Null Hypothesis is False The numerator should be greater than the

denominator The ratio should be larger than 1

(continued)

Page 24: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-24

One-Way ANOVA F Test Example

As production manager, you want to see if 3 filling machines have different mean filling times. You assign 15 similarly trained & experienced workers, 5 per machine, to the machines. At the .05 significance level, is there a difference in mean filling times?

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Page 25: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-25

One-Way ANOVA Example: Scatter Diagram

27

26

25

24

23

22

21

20

19

••

•••

•••••

••••

Time in SecondsMachine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

1 2

3

24.93 22.61

20.59 22.71

X X

X X

1X

2X

3X

X

Page 26: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-26

One-Way ANOVA Example Computations

Machine1 Machine2 Machine3

25.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

2 2 25 24.93 22.71 22.61 22.71 20.59 22.71

47.164

4.2592 3.112 3.682 11.0532

/( -1) 47.16 / 2 23.5820

/( - ) 11.0532 /12 .9211

SSA

SSW

MSA SSA c

MSW SSW n c

1

2

3

24.93

22.61

20.59

22.71

X

X

X

X

5

3

15

jn

c

n

Page 27: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-27

Summary Table

Source of

Variation

Degrees of

Freedom

Sum ofSquares

Mean Squares

(Variance)

FStatistic

Among(Factor)

3-1=2 47.1640 23.5820MSA/MSW

=25.60

Within(Error)

15-3=12

11.0532 .9211

Total15-

1=1458.2172

Page 28: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-28

One-Way ANOVA Example Solution

F0 3.89

H0: 1 = 2 = 3

H1: Not All Equal = .05df1= 2 df2 = 12

Critical Value(s):

Test Statistic:

Decision:

Conclusion:

Reject at = 0.05.

There is evidence that atleast one i differs fromthe rest.

= 0.05

FMSA

MSW

23 5820

921125 6

.

..

Page 29: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-29

Solution in Excel

Use Tools | Data Analysis | ANOVA: Single Factor

Excel Worksheet that Performs the One-Factor ANOVA of the Example

Microsoft Excel Worksheet

Page 30: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-30

The Tukey-Kramer Procedure

Tells which Population Means are Significantly Different E.g., 1 = 2 3

2 groups whose means may be significantly different

Post Hoc (A Posteriori) Procedure Done after rejection of equal means in ANOVA

Pairwise Comparisons Compare absolute mean differences with

critical range

X

f(X)

1 = 2

3

Page 31: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-31

The Tukey-Kramer Procedure: Example

1. Compute absolute mean differences:Machine1 Machine2 Machine3

25.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

1 2

1 3

2 3

24.93 22.61 2.32

24.93 20.59 4.34

22.61 20.59 2.02

X X

X X

X X

2. Compute critical range:

3. All of the absolute mean differences are greater than the critical range. There is a significant difference between each pair of means at the 5% level of significance.

( , )'

1 1Critical Range 1.618

2U c n cj j

MSWQ

n n

Page 32: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-32

Solution in PHStat

Use PHStat | c-Sample Tests | Tukey-Kramer Procedure …

Excel Worksheet that Performs the Tukey-Kramer Procedure for the Previous Example

Microsoft Excel Worksheet

Page 33: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-33

Fisher’s LSD

Least Significant Difference

n

MStLSD E

aN

2,2/

Page 34: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-34

Levene’s Test for Homogeneity of Variance

The Null Hypothesis The c population variances are all equal

The Alternative Hypothesis Not all the c population variances are equal

2 2 20 1 2: cH

21 : Not all are equal ( 1, 2, , )jH j c

Page 35: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-35

Levene’s Test for Homogeneity of Variance:

Procedure

1. For each observation in each group, obtain the absolute value of the difference between each observation and the median of the group.

2. Perform a one-way analysis of variance on these absolute differences.

Page 36: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-36

Levene’s Test for Homogeneity of Variances:

Example

As production manager, you want to see if 3 filling machines have different variance in filling times. You assign 15 similarly trained & experienced workers, 5 per machine, to the machines. At the .05 significance level, is there a difference in the variance in filling times?

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Page 37: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-37

Levene’s Test: Absolute Difference from the

Median

Machine1 Machine2 Machine3 Machine1 Machine2 Machine325.4 23.4 20 0.3 0.65 0.4

26.31 21.8 22.2 1.21 0.95 1.824.1 23.5 19.75 1 0.75 0.65

23.74 22.75 20.6 1.36 0 0.225.1 21.6 20.4 0 1.15 0

median 25.1 22.75 20.4

abs(Time - median(Time))Time

Page 38: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-38

Summary Table

SUMMARYGroups Count Sum Average Variance

Machine1 5 3.87 0.774 0.35208Machine2 5 3.5 0.7 0.19Machine3 5 3.05 0.61 0.5005

ANOVASource of Variation SS df MS F P-value F crit

Between Groups 0.067453 2 0.033727 0.097048 0.908218 3.88529Within Groups 4.17032 12 0.347527

Total 4.237773 14

Page 39: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-39

Levene’s Test Example:Solution

F0 3.89

H0:

H1: Not All Equal = .05df1= 2 df2 = 12

Critical Value(s):

Test Statistic:

Decision:

Conclusion:

Do not reject at = 0.05.

There is no evidence that at least one differs from the rest.

= 0.05

2 2 21 2 3

0.03370.0970

0.3475

MSAF

MSW

2j

Page 40: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-40

Randomized Blocked Design Items are Divided into Blocks

Individual items in different samples are matched, or repeated measurements are taken

Reduced within group variation (i.e., remove the effect of block before testing)

Response of Each Treatment Group is Obtained

Assumptions Same as completely randomized design No interaction effect between treatments and

blocks

Page 41: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-41

Randomized Blocked Design(Example)

Factor (Training Method)

Factor Levels

(Groups)

BlockedExperiment

Units

Dependent Variable

(Response)

21 hrs 17 hrs 31 hrs

27 hrs 25 hrs 28 hrs

29 hrs 20 hrs 22 hrs

Page 42: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-42

Randomized Block Design(Partition of Total Variation)

Variation Due to Group

SSA

Variation Due to Group

SSA

Variation Among Blocks SSBL

Variation Among Blocks SSBL

Variation Among All

Observations

SST

Variation Among All

Observations

SSTCommonly referred to as: Sum of Squares Error Sum of Squares

Unexplained

Commonly referred to as:

Sum of Squares Among

Among Groups Variation

=

+

+Variation Due

to Random Sampling

SSW

Variation Due to Random Sampling

SSW

Commonly referred to as:

Sum of Squares Among Block

Page 43: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-43

Total Variation

2

1

the number of blocks

the number of groups or levels

the total number of observations

the value in the -th block for the -th treatment level

the mean of all val

c r

ijj i

ij

i

SST X X

r

c

n n rc

X i j

X

ues in block

the mean of all values for treatment level

1

j

i

X j

df n

Page 44: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-44

Among-Group Variation

2

1

1 (treatment group means)

1

1

c

jj

r

iji

j

SSA r X X

XX

rdf c

SSAMSA

c

Page 45: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-45

Among-Block Variation

2

1

1 (block means)

1

1

r

ii

c

ijj

i

SSBL c X X

X

Xc

df r

SSBLMSBL

r

Page 46: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-46

Random Error

2

1 1

1 1

1 1

c r

ij i jj i

SSE X X X X

df r c

SSEMSE

r c

Page 47: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-47

Randomized Block F Test for Differences in c Means

No treatment effect

Test Statistic

Degrees of Freedom

0 1 2: cH

1 : Not all are equaljH

MSAF

MSE

1 1df c 2 1 1df r c

0

UF F

Reject

Page 48: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-48

Summary Table

Source of

Variation

Degrees of

Freedom

Sum ofSquare

s

Mean Squares

FStatisti

c

AmongGroup

c – 1 SSAMSA =

SSA/(c – 1)MSA/MSE

AmongBlock

r – 1 SSBLMSBL =

SSBL/(r – 1)MSBL/MSE

Error (r – 1) c – 1)

SSEMSE =

SSE/[(r – 1)(c– 1)]

Total rc – 1 SST

Page 49: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-49

Randomized Block Design: Example

As production manager, you want to see if 3 filling machines have different mean filling times. You assign 15 workers with varied experience into 5 groups of 3 based on similarity of their experience, and assigned each group of 3 workers with similar experience to the machines. At the .05 significance level, is there a difference in mean filling times?

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Page 50: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-50

Randomized Block Design Example Computation

Machine1 Machine2 Machine3

25.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

2 2 25 24.93 22.71 22.61 22.71 20.59 22.71

47.164

8.4025

/( -1) 47.16 / 2 23.5820

/ ( -1) 1 8.4025 / 8 1.0503

SSA

SSE

MSA SSA c

MSE SSE r c

1

2

3

24.93

22.61

20.59

22.71

X

X

X

X

5

3

15

r

c

n

Page 51: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-51

Randomized Block Design Example: Summary Table

Source of

Variation

Degrees of

Freedom

Sum ofSquare

s

Mean Square

s

FStatistic

AmongGroup

2SSA=

47.164MSA = 23.582

23.582/1.0503=22.452

AmongBlock

4SSBL=2.6507

MSBL =.6627

.6627/1.0503=.6039

Error SSE=8.4025

MSE = 1.0503

Total 14SST=

58.2172

Page 52: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-52

Randomized Block Design Example: Solution

F0 4.46

H0: 1 = 2 = 3

H1: Not All Equal = .05df1= 2 df2 = 8

Critical Value(s):

Test Statistic:

Decision:

Conclusion:

Reject at = 0.05.

There is evidence that atleast one i differs fromthe rest.

= 0.05

FMSA

MSE

23 582

1.050322.45

.

Page 53: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-53

Randomized Block Designin Excel

Tools | Data Analysis | ANOVA: Two Factor Without Replication

Example Solution in Excel Spreadsheet

Microsoft Excel Worksheet

Page 54: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-54

The Tukey-Kramer Procedure

Similar to the Tukey-Kramer Procedure for the Completely Randomized Design Case

Critical Range

( , 1 1 )Critical Range U c r c

MSEQ

r

Page 55: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-55

The Tukey-Kramer Procedure: Example

1. Compute absolute mean differences:Machine1 Machine2 Machine3

25.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

1 2

1 3

2 3

24.93 22.61 2.32

24.93 20.59 4.34

22.61 20.59 2.02

X X

X X

X X

2. Compute critical range:

3. All of the absolute mean differences are greater. There is a significance difference between each pair of means at 5% level of significance.

( , 1 1 )

1.0503Critical Range 4.04 1.8516

5U c r c

MSEQ

r

Page 56: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-56

The Tukey-Kramer Procedurein PHStat

PHStat | c-Sample Tests | Tukey-Kramer Procedure …

Example in Excel Spreadsheet

Microsoft Excel Worksheet

Page 57: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-57

Two-Way ANOVA

Examines the Effect of: Two factors on the dependent variable

E.g., Percent carbonation and line speed on soft drink bottling process

Interaction between the different levels of these two factors E.g., Does the effect of one particular

percentage of carbonation depend on which level the line speed is set?

Page 58: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-58

Two-Way ANOVA

Assumptions Normality

Populations are normally distributed

Homogeneity of Variance Populations have equal variances

Independence of Errors Independent random samples are drawn

(continued)

Page 59: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-59

SSE

Two-Way ANOVA Total Variation Partitioning

Variation Due to Factor A

Variation Due to Factor A

Variation Due to Random SamplingVariation Due to

Random Sampling

Variation Due to Interaction

Variation Due to Interaction

SSA

SSABSST

Variation Due to Factor B

Variation Due to Factor B

SSB

Total VariationTotal Variation

d.f.= n-1

d.f.= r-1

=

+

+ d.f.= c-1

+ d.f.= (r-1)(c-1)

d.f.= rc(n’-1)

Page 60: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-60

Two-Way ANOVA Total Variation Partitioning

'

the number of levels of factor A

the number of levels of factor B

the number of values (replications) for each cell

the total number of observations in the experiment

the value of the -th oijk

r

c

n

n

X k

bservation for level of

factor A and level of factor B

i

j

Page 61: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-61

Total Variation

' '

' 2

1 1 1

1 1 1 1 1 1

'

Sum of Squares Total

= total variation among all

observations around the grand mean

the overall or grand mean

r c n

ijki j k

r c n r c n

ijk ijki j k i j k

SST X X

X X

Xrcn n

Page 62: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-62

Factor A Variation

2'

1

r

i

i

SSA cn X X

Sum of Squares Due to Factor A = the difference among the various levels of factor A and the grand mean

Page 63: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-63

Factor B Variation

2'

1

c

j

j

SSB rn X X

Sum of Squares Due to Factor B = the difference among the various levels of factor B and the grand mean

Page 64: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-64

Interaction Variation

2'

1 1

r c

ij i j

i j

SSAB n X X X X

Sum of Squares Due to Interaction between A and B = the effect of the combinations of factor A and factor B

Page 65: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-65

Random Error

Sum of Squares Error = the differences among the observations within

each cell and the corresponding cell means

' 2

1 1 1

r c n

ijijki j k

SSE X X

Page 66: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-66

Two-Way ANOVA:The F Test Statistic

F Test for Factor B Main Effect

F Test for Interaction Effect

H0: 1 .= 2 . = ••• = r .

H1: Not all i . are equal

H0: ij = 0 (for all i and j)

H1: ij 0

H0: 1 = . 2 = ••• = c

H1: Not all . j are equal

Reject if F > FU

Reject if F > FU

Reject if F > FU

1

MSA SSAF MSA

MSE r

F Test for Factor A Main Effect

1

MSB SSBF MSB

MSE c

1 1

MSAB SSABF MSAB

MSE r c

Page 67: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-67

Two-Way ANOVASummary Table

Source ofVariation

Degrees of Freedom

Sum ofSquare

s

Mean Squares

FStatisti

c

Factor A(Row)

r – 1 SSAMSA =

SSA/(r – 1)MSA/MSE

Factor B(Column)

c – 1 SSBMSB =

SSB/(c – 1)MSB/MSE

AB(Interaction)

(r – 1)(c – 1) SSABMSAB =

SSAB/ [(r – 1)(c – 1)]MSAB/MSE

Error rc n’ – 1) SSEMSE =

SSE/[rc n’ – 1)]

Total rc n’ – 1 SST

Page 68: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-68

Features of Two-Way ANOVA

F Test

Degrees of Freedom Always Add Up rcn’-1=rc(n’-1)+(c-1)+(r-1)+(c-1)(r-1) Total=Error+Column+Row+Interaction

The Denominator of the F Test is Always the Same but the Numerator is Different

The Sums of Squares Always Add Up Total=Error+Column+Row+Interaction

Page 69: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-69

Kruskal-Wallis Rank Test for c Medians

Extension of Wilcoxon Rank Sum Test Tests the equality of more than 2 (c)

population medians

Distribution-Free Test Procedure Used to Analyze Completely Randomized

Experimental Designs Use 2 Distribution to Approximate if Each

Sample Group Size nj > 5 df = c – 1

Page 70: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-70

Kruskal-Wallis Rank Test

Assumptions Independent random samples are drawn Continuous dependent variable Data may be ranked both within and among

samples Populations have same variability Populations have same shape

Robust with Regard to Last 2 Conditions Use F test in completely randomized

designs and when the more stringent assumptions hold

Page 71: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-71

Kruskal-Wallis Rank Test Procedure

Obtain Ranks In event of tie, each of the tied values gets

their average rank Add the Ranks for Data from Each of the

c Groups Square to obtain Tj

2

2

1

123( 1)

( 1)

cj

j j

TH n

n n n

1 2 cn n n n

Page 72: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-72

Kruskal-Wallis Rank Test Procedure

Compute Test Statistic

# of observation in j –th sample H may be approximated by chi-square

distribution with df = c –1 when each nj >5

(continued)

2

1

123( 1)

( 1)

cj

j j

TH n

n n n

1 2 cn n n n

jn

Page 73: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-73

Kruskal-Wallis Rank Test Procedure

Critical Value for a Given Upper tail

Decision Rule Reject H0: M1 = M2 = ••• = Mc if test statistic

H > Otherwise, do not reject H0

(continued)

2U

2U

Page 74: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-74

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Kruskal-Wallis Rank Test: Example

As production manager, you want to see if 3 filling machines have different median filling times. You assign 15 similarly trained & experienced workers, 5 per machine, to the machines. At the .05 significance level, is there a difference in median filling times?

Page 75: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-75

Machine1 Machine2 Machine3 14 9 2 15 6 7 12 10 1 11 8 4 13 5 3

Example Solution: Step 1 Obtaining a Ranking

Raw Data Ranks

65 38 17

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Page 76: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-76

Example Solution: Step 2 Test Statistic Computation

212

3( 1)( 1) 1

2 2 212 65 38 173(15 1)

15(15 1) 5 5 5

11.58

Tc jH n

n n nj j

Page 77: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-77

Kruskal-Wallis Test Example Solution

H0: M1 = M2 = M3

H1: Not all equal = .05df = c - 1 = 3 - 1 = 2Critical Value(s): Reject at

Test Statistic:

Decision:

Conclusion:There is evidence that population medians are not all equal.

= .05

= .05.

H = 11.58

0 5.991

Page 78: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-78

Kruskal-Wallis Test in PHStat

PHStat | c-Sample Tests | Kruskal-Wallis Rank Sum Test …

Example Solution in Excel Spreadsheet

Microsoft Excel Worksheet

Page 79: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-79

Friedman Rank Test for Differences in c Medians

Tests the equality of more than 2 (c) population medians

Distribution-Free Test Procedure Used to Analyze Randomized Block

Experimental Designs Use 2 Distribution to Approximate if the

Number of Blocks r > 5 df = c – 1

Page 80: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-80

Friedman Rank Test

Assumptions The r blocks are independent The random variable is continuous The data constitute at least an ordinal scale

of measurement No interaction between the r blocks and the

c treatment levels The c populations have the same variability The c populations have the same shape

Page 81: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-81

Friedman Rank Test:Procedure

Replace the c observations by their ranks in each of the r blocks; assign average rank for ties

Test statistic:

R.j2 is the square of the rank total for group j

FR can be approximated by a chi-square distribution with (c –1) degrees of freedom

The rejection region is in the right tail

2

1

123 1

1

c

R jj

F R r crc c

Page 82: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-82

Friedman Rank Test: Example

As production manager, you want to see if 3 filling machines have different median filling times. You assign 15 workers with varied experience into 5 groups of 3 based on similarity of their experience, and assigned each group of 3 workers with similar experience to the machines. At the .05 significance level, is there a difference in median filling times?

Machine1 Machine2 Machine325.40 23.40 20.0026.31 21.80 22.2024.10 23.50 19.7523.74 22.75 20.6025.10 21.60 20.40

Page 83: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-83

Timing RankMachine 1 Machine 2 Machine 3 Machine 1 Machine 2 Machine 3

25.4 23.4 20 3 2 126.31 21.8 22.2 3 1 2

24.1 23.5 19.75 3 2 123.74 22.75 20.6 3 2 1

25.1 21.6 20.4 3 2 115 9 6

225 81 36

Friedman Rank Test: Computation Table

2. jR. jR

2

1

123 1

1

12 342 3 5 4 8.4

5 3 4

c

R jj

F R r crc c

Page 84: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-84

Friedman Rank Test Example Solution

H0: M1 = M2 = M3

H1: Not all equal = .05df = c - 1 = 3 - 1 = 2Critical Value: Reject at

Test Statistic:

Decision:

Conclusion:There is evidence that population medians are not all equal.

= .05

= .05

FR = 8.4

0 5.991

Page 85: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-85

Chapter Summary

Described the Completely Randomized Design: One-Way Analysis of Variance ANOVA Assumptions F Test for Difference in c Means The Tukey-Kramer Procedure Levene’s Test for Homogeneity of Variance

Discussed the Randomized Block Design F Test for the Difference in c Means The Tukey Procedure

Page 86: © 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee

© 2003 Prentice-Hall, Inc. Chap 11-86

Chapter Summary

Described the Factorial Design: Two-Way Analysis of Variance Examine effects of factors and interaction

Discussed Kruskal-Wallis Rank Test for Differences in c Medians

Illustrated Friedman Rank Test for Differences in c Medians

(continued)