Transcript 5장 - Konkuk
Chapter 5 Factorial Experiments Pages 183-232 Topics Principles of factorial experiments Two factor factorial design General factorial design Fitting response surfaces Blocking in a factorial design 2 Principles of Factorial Experiments By a factorial experiment we mean that all possible combinations of the levels of the factors are investigated in each complete replicate of the experiment. If there are two factors A and B with a levels of factor A and b levels of factor B, each replicate contains all ab treatments. 3 Factor effect (Main effect): The change in the mean response when the factor is changed from low to high 4 Interaction between factors: The average difference in response between the levels of one factor at all levels of the other factors 52 30 40 20 5 6 6 Suppose that both factors are quantitative. Then regression model representation of the two factor factorial experiment is given by 7 8 Interaction twists the plane so that there is curvature in the response function. That is, interaction is a form of curvature. Factorial experiments are the only way to discover interactions between variables. 9 Problem with one factor at a time 10 A significant interaction can mask the significance of main effects. When interaction is present, the main effects of the factors involved in the interaction may not have much meaning. 11 Example An engineer is designing a battery for use in a device. He has three possible choices for the plate material of a battery. Once the device is shipped to the customer, it will be subjected to some extreme variations in temperature. However, temperature will affect the battery life and can be controlled in the lab for testing. 12 To test three plate materials, three temperature levels, 15, 70 and 1250F, are selected which are consistent with the customer environment. 4 batteries are tested for each combination of material and temperature. All 36 tests are run in random order. 13 14 What effects do material type and temperature have on the life of the battery ? Is there a choice of material that would give uniformly long life regardless of temperature? 15 Two-Factor Factorial Design This is a completely randomized design. 16 The effects model is yijk i j ( )ij ijk : overall mean effect i 1, 2,..., a j 1, 2,..., b k 1, 2,..., n i : the effect of the ith level of the row factor j: the effect of the jth level of the column factor ()ij: the effect of the interaction between i and j ijk: random error component 17 Other models (means model, regression models) can be useful. The hypotheses are for equality of factor A effects for equality of factor B effects for the interaction 18 ANOVA partitioning of total variability a b n a b 2 ( y y ) bn ( y y ) an ( y y ) ijk ... i.. ... . j. ... 2 i 1 j 1 k 1 2 i 1 a j 1 b a b n n ( yij . yi.. y. j . y... ) 2 ( yijk yij . ) 2 i 1 j 1 i 1 j 1 k 1 SST SS A SS B SS AB SS E df breakdown: abn 1 a 1 b 1 (a 1)(b 1) ab(n 1) 19 20 21 Example 22 23 24 25 Life에 대한 상호작용 플롯(적합 평균) Material Type 1 2 3 150 평균 125 100 75 50 15 70 T e mpe r a tu r e 125 26 27 Estimating model parameters The model has 1+a+b+ab parameters. yijk i 1, 2,..., a i j ( )ij ijk j 1, 2,..., b k 1, 2,..., n 28 Normal equations 29 The solution The fitted value 30 Model adequacy checking 31 31 32 Multiple comparisons 33 General Factorial Design Basic procedure is similar to the two-factor case; all abc…kn treatment combinations are run in random order. ANOVA identity is also similar: SST SS A SSB SS ABC SS AB SS AC SS AB K SSE 34 Three factor ANOVA Model is 35 36 Example A soft drink bottler is interested in obtaining more uniform fill heights in the bottles produced by his manufacturing process. The filling machine theoretically fills each bottle to the correct target height, but in practice, there is variation around this target. The bottler would like to understand the sources of this variability better and eventually reduce it. 37 The process engineer can control three variables during the filling process: the percent carbonation (A), the operating pressure (B) and the bottles produced per minute or the line speed (C). The pressure and speed are easy to control but the percent carbonation is more difficult to control during actual manufacturing because it varies with product temperature. 38 However, for purpose of an experiment, the engineer can control carbonation at three levels:10, 12 and 14%. She choose two levels for pressure (25 and 20 psi) and two levels for line speed (200 and 250 bpm). She decides to run two replicates of a factorial design in these 3 factors, with all 24 runs taken in random order. 39 The response variable is the average deviation from the target fill height observed in a production run of bottles at each set of conditions. 40 41 42 43 Quantitative vs Qualitative Factors The basic ANOVA procedure treats every factor as if it were qualitative. Sometimes an experiment will involve both quantitative and qualitative factors. This can be accounted for in the analysis to produce regression models for the quantitative factors at each level (or combination of levels) of the qualitative factors. 44 Example The material type is qualitative while the temperature is quantitative. 45 Since the temperature has the three levels, we can compute a linear and a quadratic temperature effect to study effects of temperature on the battery life. The interaction effect can also subdivided into the interactions of the linear and quadratic temperature factor with material type. 46 47 Figure 5.18 Predicted life as a function of temperature for the three material types 48 Blocking in a Factorial Design The effects model is 49 50 Example An engineer is studying methods for improving the ability to detect targets on a radar scope. Two factors are considered to be important: the amount of background noise (ground clutter) and the type of filter placed over the screen. An experiment is designed using three levels of ground clutter and two filter types. We will consider these as fixed-type factors. 51 The experiment is performed by randomly selecting a treatment combination and then introducing a signal representing the target into the scope. The intensity of this target is increased until the operator observes it. The intensity level at detection is measured as the response variable. The operators are considered as blocks. Four operators are randomly selected. 52 Once an operator is chosen, the order in which the six treatment combinations are run is randomly determined. 53 54 Example Suppose that because of the setup time required, only six runs can be made per day. Days become a second randomization restriction. 55 The effects model is 56 57