chapter 11 multifactor analysis of variance

31
Chapter 11 Multifactor Analysis of Variance

Upload: martha-gilmore

Post on 13-Jan-2016

247 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 11 Multifactor Analysis of Variance

Chapter 11Multifactor Analysis of Variance

Page 2: Chapter 11 Multifactor Analysis of Variance
Page 3: Chapter 11 Multifactor Analysis of Variance
Page 4: Chapter 11 Multifactor Analysis of Variance
Page 5: Chapter 11 Multifactor Analysis of Variance
Page 6: Chapter 11 Multifactor Analysis of Variance

Two-Factor ANOVA Design ((KKIJIJ > 1)> 1)

1. Test for Interaction.

If no interaction exists:2. Test for Main Effects.

If interaction does exist:3. Test for Differences among Treatment Combinations.

Page 7: Chapter 11 Multifactor Analysis of Variance

ANOVA Two-Factor Definitions

SSA =2 T2I* / JK – 2 T2

** / IJKSSB = 2 T2

*J / IK – 2 T2** / IJK

SSTR= 2 T2IJ / K – 2 T2

** / IJKSSAB= SSTR – SSA – SSB SSTOT= 3 x2

IJK – 2 T2**

/ IJK SSE = SSTOT – SSTR

Fundamental Identity K>1SSTOT = SSA+SSB+SSAB+SSE

I J

Note: 2 =

1 1

Page 8: Chapter 11 Multifactor Analysis of Variance

ANOVA Two-Factor Definitions

Mean Squares Due to A:MSA = SSA / I – 1

Mean Squares Due to B:MSB = SSB / J – 1

Mean Square Due to Interaction:MSAB = SSAB / (I – 1)(J – 1)

Mean Square Error:

MSE = SSE / IJ(K – 1)

Page 9: Chapter 11 Multifactor Analysis of Variance

Two-Factor ANOVA (Two-Factor ANOVA (KKIJIJ > 1 & equal > 1 & equal KK) )

Test for Interaction Test for Interaction

Null Hypothesis Null Hypothesis HH0AB0AB: Interaction : Interaction

Effects = 0 Effects = 0

Test Statistic: Test Statistic: = MSAB = MSAB / MSE/ MSE

Alternative Hypothesis:Alternative Hypothesis: HHaABaAB: Interaction Exists: Interaction Exists

Reject RegionReject Region (upper tailed) (upper tailed) FF, (, (II-1)(-1)(JJ-1), -1), IJIJ((KK-1)-1)

Page 10: Chapter 11 Multifactor Analysis of Variance

Two-Factor ANOVA (Two-Factor ANOVA (KKIJIJ > 1 & equal > 1 & equal KK) )

Test for Main Effects (Factor A) Test for Main Effects (Factor A)

Null Hypothesis Null Hypothesis HH0A0A: : 1A1A = = 2A2A = …= = …= IIAA

Test Statistic: Test Statistic: = MSA = MSA / MSE/ MSE

Alternative Hypothesis:Alternative Hypothesis: HHaAaA: Differences Exist in Factor A: Differences Exist in Factor A

Reject RegionReject Region (upper tailed) (upper tailed) FF, , II-1, -1, IJIJ((KK-1)-1)

Page 11: Chapter 11 Multifactor Analysis of Variance

Two-Factor ANOVA (Two-Factor ANOVA (KKIJIJ > 1 & equal > 1 & equal KK) )

Test for Main Effects (Factor B) Test for Main Effects (Factor B)

Null Hypothesis Null Hypothesis HH0B0B: : 1B1B = = 2B2B = …= = …= JJBB

Test Statistic: Test Statistic: = MSB = MSB / MSE/ MSE

Alternative Hypothesis:Alternative Hypothesis: HHaBaB: Differences Exist in Factor B: Differences Exist in Factor B

Reject RegionReject Region (upper tailed) (upper tailed) FF, , JJ-1, -1, IJIJ((KK-1)-1)

Page 12: Chapter 11 Multifactor Analysis of Variance

Example ANOVA Two-Factor (equal K)A study is conducted to investigate the effect of temperature and humidity on the force required to separate an adhesive product from a plastic laminate. The experimenter is interested in (4) temperature levels and (2) humidity levels. Three measurements are taken at each of the IJ treatment combinations. Are there real differences in the average responses for these levels of factors at a level of significance of .05? The summary data of the experiment follows:T11 = 119 T21 = 108 T31 = 95 T41 = 85 (lbs)T12 = 99 T22 = 83 T32 = 73 T42 = 60 (lbs) x2

IJK = 22,722

Page 13: Chapter 11 Multifactor Analysis of Variance

Tukey’s Multiple Comparisons with No Interaction on significant Main Effects A

1. Find Q, I, IJ(K-1) 2. Find w = QMSE/(JK)3. Order the I-means (A) from smallest to largest. Underscore all pairs that differ by less than w. Pairs not underscored correspond to significantly different levels of factor A.

For significant Main Effects B1. Replace I with J in Q’s 2nd subscript.2. Replace JK by IK in w.3. Order the J-means (factor B).

Page 14: Chapter 11 Multifactor Analysis of Variance

Example: Tukey’s Multiple Comparisons with No Interaction on significant Main EffectsThe study to investigate the effect of temperature and humidity on the force required to separate an adhesive product from a plastic found no statistical evidence of interaction between temperature and humidity. Differences in mean values among temperature levels & differences in mean values among humidity levels were found to exist. Identify significant differences in levels for both factors at a level of significance of .05.

Page 15: Chapter 11 Multifactor Analysis of Variance

Example: ANOVA 2-Factor (equal K) with InteractionA study is conducted to investigate the effect of temperature and humidity on the force required to separate an adhesive product from a plastic laminate. The experimenter is interested in (4) temperature levels and (2) humidity levels. Three measurements are taken at each of the IJ treatment combinations. Are there real differences in the average responses for these levels of factors at a level of significance of .05? Conduct this analysis under the assumption that the test for interaction found a significant interaction (difference in response) between levels of temperature and levels of humidity. The summary data of the experiment follows:T11 = 119 T21 = 108 T31 = 95 T41 = 85 (lbs)T12 = 99 T22 = 83 T32 = 73 T42 = 60 (lbs) x2

IJK = 22,722

Page 16: Chapter 11 Multifactor Analysis of Variance

Example: ANOVA 2-Factor (equal K) with InteractionYou are designing a battery for use in a device that will be subjected to extreme variations in temperature. The only design parameter that you can select is the plate material. Three choices are available. You decide to test all three plate materials at (3) temperature levels that are consistent with the product end-use environment. Four batteries are tested at each combination of plate material and temperature. The resulting observed battery life data follows: Temperature (0F)Material Type 15 70 125 1 T=539 T=229 T=230 (hrs)

2 T=623 T=479 T=198 (hrs) 3 T=576 T=583 T=342 (hrs)

Test at =.05 to determine if there is evidence to conclude that there are real differences in the battery life for these levels of temperature and material. Is there a choice of material that would give uniformly long life regardless of temperature? x2

IJK =478,546.97

Page 17: Chapter 11 Multifactor Analysis of Variance
Page 18: Chapter 11 Multifactor Analysis of Variance

ANOVA Three-Factor Definitions SSA =3 T2

I**/ JKL – 3 T2***/ IJKL

SSAB=3 T2IJ*/ KL – 3 T2

I**/ JKL – 3 T2

*J*/ IKL + 3 T2***/ IJKL

SSABC=3 T2IJK/L – 3 T2

IJ*/KL – 3 T2I*K/ JL

– 3 T2*JK/ IL + 3 T2

*J*/IKL + 3 T2I**/JKL

+ 3 T2**K/ IJL – 3 T2

***/IJKL SSTOT= 4 x2

IJKL – 3 T2***/ IJKL

SSTOT= SSA+ SSB+ SSC+ SSAB + SSAC+ SSBC+ SSABC+ SSE

I J K

Note: 3 =

1 1 1

Page 19: Chapter 11 Multifactor Analysis of Variance

ANOVA Three-Factor Definitions

Mean Squares Due to A:MSA = SSA / I – 1

Mean Square 2-Factor Interaction:MSAB = SSAB / (I – 1)(J – 1)

Mean Square 3-Factor Interaction: MSABC = SSABC / (I – 1)(J – 1)(K-1) Mean Square Error:

MSE = SSE / IJK(L – 1)

Page 20: Chapter 11 Multifactor Analysis of Variance

ANOVA - Three Factor An experiment is designed to investigate the effects of three factors on productivity (measured in thousands of dollars of items produced) per 40-hour week at a manufacturing plant. The factors tested are:1. Length of week (5 day-8 hrs or 4 day-10 hrs)2. Shift (Day or Night)3. Number of Breaks (0, 1, 2)The experiment was conducted over a 24-week period. The data for this completely randomized design are shown on the next page. Perform an ANOVA at α = .05.

Page 21: Chapter 11 Multifactor Analysis of Variance

DATA:Day Night

0 1 2 0 1 24-Days 94 105 96 90 102 103

97 106 91 89 97 98

5-Days 96 100 82 81 90 9492 103 88 84 92 96

NOTE: L = 2 CF=213,948.10

Page 22: Chapter 11 Multifactor Analysis of Variance

2P Factorial Experiments> P = Number of Factors> 2 Levels per Factor (Low / High)> Complete Design = 2P Combinations

Page 23: Chapter 11 Multifactor Analysis of Variance

22 Factorial Experiment

A Mean B > b ab (b+ab)/2n

> (1) a ((1)+a)/2n

Mean (1)+b a+ab 2n 2n

(1), a, b, and ab signify cell Totals.

Page 24: Chapter 11 Multifactor Analysis of Variance

Contrasts using Cells TotalsA Contrast = ab + a – b – (1)B Contrast = ab –a + b – (1)

AB Contrast = ab – a – b + (1)

Main Effects ATotals = (A contrast) 2P-1 n

Main Effects BTotals = (B contrast) 2P-1 n

Page 25: Chapter 11 Multifactor Analysis of Variance

Contrasts using Cell MeansA Contrast = ab + a – b – (1)B Contrast = ab –a + b – (1)

AB Contrast = ab – a – b + (1)

Main Effects AMeans = (A contrast) 2P-1

Main Effects BMeans = (B contrast) 2P-1

Page 26: Chapter 11 Multifactor Analysis of Variance

Signs for Contrasts in a 22 FactorialTreatment Factorial EffectCombination A B AB

(1) – – + a + – –

b – + –ab + + +

Positive values to the treatment combinations that is at the High level.Negative values at the Lower level. Interactions by multiplying signs of the interacting factors.

Page 27: Chapter 11 Multifactor Analysis of Variance
Page 28: Chapter 11 Multifactor Analysis of Variance

Sum of Squares > 2P Factorial (Totals)

SSA = (A contrast)2

2P n

SSB = (B contrast)2

2P n

SSAB = (AB contrast)2

2P n SSE = SST – SSA – SSB – SSAB

Page 29: Chapter 11 Multifactor Analysis of Variance

Sum of Squares > 2P Factorial (Means)

SSA = n(A contrast)2

2P SSB = n(B contrast)2

2P

SSAB = n(AB contrast)2

2P

Page 30: Chapter 11 Multifactor Analysis of Variance

df for Mean Square

> A = I – 1 = 1> B = J – 1 = 1> C = K – 1 = 1>AB = (I-1)(J-1) = 1>ABC = (I-1)(J-1)(K-1) = 1>Error = 2P (n-1)

Page 31: Chapter 11 Multifactor Analysis of Variance

Factorial Experiment ExampleA 23 factorial experiment was conducted to estimate the effects of three factors on the yield of a chemical reaction. The factors were A: catalyst concentration (high or low), B: reagent (std. or new), C: stirring rate (slow or fast). Three replicates were obtained for each treatment measured as a percent. Cell means are listed below. Calculate effects & test for each main effect and interaction at α = 0.05. Treatment Cell Mean Treatment Cell Mean 1 69.8733 c 72.4067 a 78.5500 ac 76.2733 b 77.9067 bc 76.1833 ab 78.1000 abc 75.8333