Download presentation
Presentation is loading. Please wait.
2
7-2 Factorial Experiments
3
7-2 Factorial Experiments
A significant interaction mask the significance of main effects. Consequently, when interaction is present, the main effects of the factors involved in the interaction may not have much meaning.
4
7-7 Factorial Experiments with More than
Two Levels
5
7-7 Factorial Experiments with More than Two Levels
Two-Way Factorial Model π πππ =π+ πΌ π + π½ π + (πΌπ½) ππ + π πππ = π ππ + π πππ where π= π=1 π π=1 π π ππ ππ =ππ£πππππ ππππ πΌ π = π πβ βπ = A main effect, i = 1, ββββ, π π½ π = π βπ βπ = B main effect, i = 1, ββββ, π (πΌπ½) ππ = π ππ β π πβ β π βπ +π = Interaction effect π πππ = Error term, which is assumed to be normally distributed with constant variance Hypothesis A main Effect Hypothesis: π» 0 : π 1β = π 2β =βββ= π πβ ππ π» 0 : πΌ 1 = πΌ 2 =βββ= πΌ π =0 B main Effect Hypothesis: π» 0 : π β1 = π β2 =βββ= π βπ ππ π» 0 : π½ 1 = π½ 2 =βββ= π½ π =0
6
7-7 Factorial Experiments with More than Two Levels
Interaction Notice that the main effects are in terms of marginal means (means average over the other factor). It makes sense to do this only if the relationship between the means of one factor are the same for all levels of the other factor. If this is true, the factors are said not to interact. Before we can interpret the main effect tests, we must verify that the factors do not interact. That is test Two-way Interaction test: π» 0 : (πΌπ½) 11 = (πΌπ½) 12 =βββ= πΌπ½ ππ =0 A graphical means of assessing interaction is to make an interaction (profile) plot. This consists plotting one of the factors along the horizontal axis and the π ππ the vertical axis. The points corresponding to the same level of the other factor are connected by a line. No interaction implies that the lines will be parallel.
7
7-7 Factorial Experiments with More than
Two Levels
8
7-7 Factorial Experiments with More than Two Levels
Sum of Squares partition: Degrees of freedom partition:
9
7-7 Factorial Experiments with More than Two Levels
Mean Squares:
10
7-7 Factorial Experiments with More than Two Levels
πππππ·=πππ΄+πππ΅+πππ΄π΅ π€ππ‘β ππ=ππβ1
11
7-7 Factorial Experiments with More than Two Levels
πππ= π=1 π π=1 π π=1 π ( π π,π,π β π ) 2 = π=1 π π=1 π π=1 π π π,π,π 2 β ( π=1 π π=1 π π=1 π π π,π,π ) 2 πππ΄= π=1 π ππ ( π π,β,β β π ) 2 = π=1 π ( π=1 π π=1 π π π,π,π ) 2 β ( π=1 π π=1 π π=1 π π π,π,π ) 2 πππ΅= π=1 π ππ ( π β,π,β β π ) 2 = π=1 π ( π=1 π π=1 π π π,π,π ) 2 β ( π=1 π π=1 π π=1 π π π,π,π ) 2 πππ΄π΅=πππππ·βπππ΄βπππ΅ πππππ·= π=1 π π=1 π π ( π π,π,β β π ) 2 = π=1 π π=1 π ( π=1 π π π,π,π ) 2 β ( π=1 π π=1 π π=1 π π π,π,π ) 2 πππΈ=πππβπππ΄βπππ΅βπππ΄π΅ Multiple comparison and contrasts follow the same formulas as in the one-way ANOVA. The difference is that the comparisons are made on the marginal means for factors A & B. The ni are replaced by the number of observations used in calculating the sample mean. Also, they are only meaningful if there is no interaction.
12
7-7 Factorial Experiments with More than
Two Levels
13
7-7 Factorial Experiments with More than
Two Levels
14
7-7 Factorial Experiments with More than
Two Levels
15
7-7 Factorial Experiments with More than
Two Levels
16
7-7 Factorial Experiments with More than Two Levels
Model Adequacy
17
7-7 Factorial Experiments with More than Two Levels
Model Adequacy
18
7-7 Factorial Experiments with More than Two Levels
Model Adequacy
19
7-7 Factorial Experiments with More than Two Levels
Computer Output
20
7-7 Factorial Experiments with More than Two Levels
Example 7-11 OPTIONS NOOVP NODATE NONUMBER LS=80; DATA ex711; DO obs= 1 to 3; DO type=1 to 3; DO method='Dipping', 'Spraying'; INPUT force OUTPUT; END; END;END; CARDS; ods graphics on; PROC GLM DATA=ex711 plots=all; CLASS type method; MODEL force= type method type*method; MEANS type method type*method/snk; output out=new r=resid; TITLE 'Two-way ANOVA'; PROC PLOT DATA=NEW; PLOT RESID*TYPE; PLOT RESID*METHOD; run; QUIT;
21
7-7 Factorial Experiments with More than
Two Levels
22
7-7 Factorial Experiments with More than
Two Levels
23
7-7 Factorial Experiments with More than
Two Levels
24
7-7 Factorial Experiments with More than
Two Levels
25
7-7 Factorial Experiments with More than
Two Levels
26
7-7 Factorial Experiments with More than
Two Levels
27
7-7 Factorial Experiments with More than
Two Levels
28
7-7 Factorial Experiments with More than
Two Levels
29
7-7 Factorial Experiments with More than
Two Levels
30
7-7 Factorial Experiments with More than
Two Levels
31
7-7 Factorial Experiments with More than Two Levels
Residual Plot resid*type λν. λ²λ‘: A = 1 κ΄μΈ‘μΉ, B = 2 κ΄μΈ‘μΉ, λ±. resid | 0.35 + | A 0.30 +A A | 0.25 + | A A 0.20 + 0.15 + 0.10 +A A 0.05 + 0.00 + | B A A type Residual Plot resid*method λν. λ²λ‘: A = 1 κ΄μΈ‘μΉ, B = 2 κ΄μΈ‘μΉ, λ±. resid | 0.35 + | A A A | 0.25 + | A A 0.20 + | A 0.15 + A A 0.05 + 0.00 + | B | A A A A Dipping Sprayin method
32
Ex. 7-51 (pp. 430) OPTIONS NOOVP NODATE NONUMBER; proc format;
value hc 1='10%' 2='15%' 3='20%'; value ct 1='1.5 hrs' 2='2.0 hrs'; value fn 1='300' 2='500' 3='650'; DATA ex751; infile 'C:\Users\korea\Desktop\Working Folder 2017\imen214-stats\ch07\SAS\ex751.txt'; INPUT hc ct fn strength label hc='Hardwood Concentration' ct='Cooking Time' fn='Freeness'; format hc hc. ct ct. fn fn.; ods graphics on; PROC glm plots=diagnostics; CLASS hc ct fn; MODEL strength=hc | ct | fn; MEANS hc | ct | fn/snk; output out=new r=resid; TITLE 'Three-way ANOVA'; PROC PLOT DATA=NEW; PLOT RESID*hc; PLOT RESID*ct; plot resid*fn; run; quit; 1 96.6 2 97.7 3 99.4 98.4 99.6 100.6 98.5 96 97.5 98.7 95.6 97.4 97.6 97 99.8 98.6 100.4 100.9 97.2 96.9 98.1 99 96.2 97.8
33
7-7 Factorial Experiments with More than
Two Levels
34
7-7 Factorial Experiments with More than
Two Levels
35
7-7 Factorial Experiments with More than
Two Levels
36
7-7 Factorial Experiments with More than
Two Levels
37
7-7 Factorial Experiments with More than
Two Levels
38
7-7 Factorial Experiments with More than
Two Levels
39
7-7 Factorial Experiments with More than
Two Levels
40
7-7 Factorial Experiments with More than
Two Levels
41
7-7 Factorial Experiments with More than
Two Levels
42
7-7 Factorial Experiments with More than
Two Levels
43
7-7 Factorial Experiments with More than
Two Levels
44
The Latin Square Design
The Latin square design is used to eliminate two nuisance sources of variability; that is, it systemically allows blocking two dimensions. Thus, the rows and columns actually represent two restrictions on randomization. In a Latin square design, there are p treatments and p levels of each of the two blocking variables. Each treatment level appears in each row and column once. The arrangement should be randomly selected from all possible arrangement. For instance, there is only 1 3x3, 4 4x4, 56 5x5, and x6 Latin squares.
45
The Latin Square Design
46
The Latin Square Design
Example 5-4
47
The Latin Square Design
OPTIONS NOOVP NODATE NONUMBER LS=80; DATA latin; INPUT operator batch treat$ force CARDS; 1 1 A B C D E -3 2 1 B C D E A 5 3 1 C D E A B -5 4 1 D E A B C 4 5 1 E A B C D 6 ods graphics on; PROC GLM data=latin plots=(diagnostics); CLASS operator batch treat; MODEL force = operator batch treat; MEANS operator batch treat/snk; output out=new p=phat r=resid; TITLE 'Latin Square Design'; proc plot data=new; plot resid*(operator batch treat)/vaxis= -3.5 to 5.0 by 0.5; Title 'Residual plot'; RUN; QUIT;
48
The Latin Square Design
49
The Latin Square Design
50
The Latin Square Design
51
The Latin Square Design
52
The Latin Square Design
53
The Latin Square Design
54
The Latin Square Design
55
The Latin Square Design
56
The Latin Square Design
57
The Latin Square Design
Residual plot resid*treat λν. λ²λ‘: A = 1 κ΄μΈ‘μΉ, B = 2 κ΄μΈ‘μΉ, λ±. resid | A | A 4.5 + | A 4.0 + | 3.5 + 3.0 + 2.5 + A | A 1.5 + A 0.5 + A B | A A -0.5 + | A A B | A A -1.5 + A -2.5 + | B A | A -3.5 + A B C D E treat Residual plot resid*operator λν. λ²λ‘: A = 1 κ΄μΈ‘μΉ, B = 2 κ΄μΈ‘μΉ, λ±. resid | A | A 4.5 + | A 4.0 + | 3.5 + 3.0 + | A 2.5 + A 1.5 + A | A 0.5 + A B | A A -0.5 + B A | B -1.5 + A -2.5 + | A A A | A -3.5 + operator Residual plot resid*batch λν. λ²λ‘: A = 1 κ΄μΈ‘μΉ, B = 2 κ΄μΈ‘μΉ, λ±. resid | A | A 4.5 + | A 4.0 + | 3.5 + 3.0 + | A 2.5 + A | A 1.5 + 1.0 + A | A 0.5 + A A A | B -0.5 + A A A | A A -1.5 + A -2.5 + | A A A -3.5 + batch
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.