In5058 W06S2
In5058 W06S2
Montgomery, D. C. (2013). Design and Analysis of Experiments. John Wiley & Sons. Monterrey, Mexico 2
• In general, factorial designs are most efficient for this type • This is frequently called a main effect because it refers to
of experiment.
the primary factors of interest in the experiment. For
example, consider the simple experiment in the Figure
• By a factorial design, we mean that in each complete trial below.
or replicate of the experiment all possible combinations
of the levels of the factors are investigated.
• In some experiments, we may find that the difference in • Clearly, the interaction is large in this experiment. These
response between the levels of one factor is not the same ideas may be illustrated below.
at all levels of the other factors.
5 6
1
13/09/2018
• Two-factor interaction graphs such as these are frequently • There is another way to illustrate the concept of
very useful in interpreting significant interactions and in interaction. Suppose that both of our design factors are
reporting results to non-statistically trained personnel. quantitative (such as temperature, pressure, time, etc.).
• The estimates of and are one-half the value of the • The parameter is estimated by the average of all four
corresponding main effect; therefore, = 21/2 and responses, or (20 + 40 + 30 + 52)/4= 35.5. Therefore,
/ and. the fitted regression model is:
• The interaction coefficient ( 0.5) is small relative to • A three-dimensional graph is called a response surface
the main effect coefficients and . plot.
. . .
11 12
2
13/09/2018
• Now suppose that the interaction contribution to this • Interaction is a form of curvature in the underlying
experiment was not negligible; that is, the coefficient response surface model for the experiment.
was not small.
. . .
13 14
• Generally, when an interaction is large, the corresponding • This value is very small, and we are tempted to conclude
main effects have little practical meaning. that there is no effect due to A.
• For the experiment described before, we would estimate • However, when we examine the effects of A at different
the main effect of A to be: levels of factor B, we see that this is not the case. Factor A
has an effect, but it depends on the level of factor B.
• Suppose we have two factors A and B, each at two levels. • Because experimental error is present, it is desirable to
We denote the levels of the factors by A-, A+, B-, and B+. take two observations, say, at each treatment
combination and estimate the effects of the factors using
• The effect of changing factor A is given by average responses. Thus, a total of six observations are
A+B- – A-B-, and the effect of changing factor B is given by required.
A-B+ – A-B-.
• Now suppose interaction is present. If the one-factor-at-a-
time design indicated that A-B+ and A+B- gave better
responses than A-B-, a logical conclusion would be that
A+B+ would be even better. However, if interaction is
present, this conclusion may be seriously in error.
17 18
3
13/09/2018
19 20
• Four batteries are tested at each combination of plate material and • The engineer wants to answer:
temperature, and all 36 tests are run in random order. 1. What effects do material type & temperature have on the life of the battery?
2. Is there a choice of material that would give uniformly long life regardless of
temperature?
21 22
• Let be the observed response when factor A is at the • In general, a two-factor factorial experiment will appear
ith level (i = 1, 2, . . . , a) and factor B is at the jth level ( j = as in the following Table.
1, 2, . . . , b) for the kth replicate (k = 1, 2, . . . , n).
23 24
4
13/09/2018
• There are several ways to write the model for a factorial – is the effect of the ith level of the row factor A,
experiment. The effects model is:
– is the effect of the jth level of column factor B,
, ,…
, ,…
, ,… – is the interaction between and ,
25 26
• Both factors are assumed to be fixed, and the treatment • We could also use a regression model.
effects are defined as deviations from the overall mean,
so ∑ and ∑ . • Regression models are particularly useful when one or
more of the factors in the experiment are quantitative.
• Similarly, the interaction effects are fixed and are defined
such that ∑ =∑ . • We will commonly use the effects model.
• Because there are n replicates of the experiment, there • In the two-factor factorial, both row and column factors
are abn total observations. (or treatments), A and B, are of equal interest.
27 28
• Specifically, we are interested in testing hypotheses about • We are also interested in determining whether row and
the equality of row treatment effects, say: column treatments interact. Thus, we also wish to test:
: ⋯
: ,
:
:
• and the equality of column treatment effects, say:
• We now discuss how these hypotheses are tested using a
: ⋯ two-factor analysis of variance.
29 30
5
13/09/2018
• Let yi.. denote the total of all observations under the ith • Expressed mathematically:
level of factor A, y.j. denote the total of all observations
..
under the jth level of factor B, yij. denote the total of all .. .. , ,…,
observations in the ijth cell, and y... denote the grand total
of all the observations.
. .
.. .. , ,…,
• Define .. , . . , . , and … as the corresponding row,
column, cell, and grand averages. . , ,…,
. .
, ,…,
...
... ...
31 32
• The total corrected sum of squares may be written as: • Notice that the total sum of squares has been partitioned
into: , , , .
…
33 34
• The number of degrees of freedom associated with each • Each sum of squares divided by its degrees of freedom is a
sum of squares is: mean square. The expected values of the mean squares
are: ∑
Effect Degrees of Freedom
A a-1
B b-1
AB interaction (a - 1)(b - 1) ∑
Error ab(n - 1)
Tota abn - 1
∑ ∑
35 36
6
13/09/2018
• If we assume that the effects model is adequate and that • One could write out the individual elements of the
the error terms ijk are normally and independently ANOVA identity:
distributed with constant variance σ2, then each of the
ratios of mean squares , , and is distributed … .. … . . … . .. .. … .
37 38
• The sum of squares for the main effects are • This sum of squares also contains and .
Therefore, the second step is to compute as
…
..
…
.
…
.. • The second step is to compute SSAB:
• Or:
41