Docsity

4 Two-Level (2k) Factorial Designs, Lecture notes of Design

Toggle sidebar
bg1
4Two-Level (2k) Factorial Designs
•Many applications of response surface methodology are based on fitting one of the following
models:
First order model y=β0+β1x1+β2x2+· · · +βkxk(3)
Interaction model y=β0+
k
X
i=1
βixi+Xk
X
i<j
βijxixj(4)
Second order model y=β0+
k
X
i=1
βixi+Xk
X
i<j
βijxixj+
k
X
i=1
βiix2
i(5)
•One commonly-used response surface design is a 2kfactorial design.
•A2kfactorial design is a k-factor design such that
(i) Each factor has two levels (coded −1 and +1).
(ii) The 2kexperimental runs are based on the 2kcombinations of the ±1 factor levels.
•Common applications of 2kfactorial designs (and the fractional factorial designs in Section 5
of the course notes) include the following:
–As screening experiments: A 2kdesign is used to identify or screen for potentially
important process or system variables. Once screened, these important variables are
then incorporated into a more complex experimental study.
–To fit the first-order model in (3) or the interaction model in (4): The 2kdesign can be
used to fit model (3) or (4). One application of fitting these models is in the method of
steepest ascent or descent (Section 6 of the course notes).
–As a building block for second-order response surface designs: 2kdesigns are used to
generate central composite designs (CCDs) and Box-Behnken designs (BBDs).
•We will first analyze each 2kdesign as a fixed effects design. We will also generalize the
fixed effects results to the regression model approach for which the model contains regression
coefficients β0, β1, β2, . . . as in (3) and (4).
•Before analyzing the data, you must determine if the design was completely randomized or
if blocking was used. Your answer to this question will indicate the appropriate analysis.
Initially, we will assume the design was completely randomized.
4.1 The 22Design
•The simplest 2kdesign is the 22design. This is a special case of a two-factor factorial design
with factors Aand Bhaving two levels.
•Because a 22design has only 4 runs, several (n) replications are taken.
•Notationally, we use lowercase letters a,b,ab, and (1) to indicate the sum of the responses
for all replications at each of the corresponding levels of Aand B.
–If the lower case letter appears, then that factor is at its high (+1) level.
–If the lower case letter does not appear, then that factor is at its low (−1) level.
38
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download 4 Two-Level (2k) Factorial Designs and more Lecture notes Design in PDF only on Docsity!

4 Two-Level ( 2 k) Factorial Designs

  • Many applications of response surface methodology are based on fitting one of the following models:

First order model y = β 0 + β 1 x 1 + β 2 x 2 + · · · + βkxk (3)

Interaction model y = β 0 +

∑^ k

i=

βixi +

∑ ∑k

i<j

βij xixj (4)

Second order model y = β 0 +

∑^ k

i=

βixi +

∑ ∑k

i<j

βij xixj +

∑^ k

i=

βiix^2 i (5)

  • One commonly-used response surface design is a 2k^ factorial design.
  • A 2 k^ factorial design is a k-factor design such that

(i) Each factor has two levels (coded −1 and +1). (ii) The 2k^ experimental runs are based on the 2k^ combinations of the ±1 factor levels.

  • Common applications of 2k^ factorial designs (and the fractional factorial designs in Section 5 of the course notes) include the following: - As screening experiments: A 2k^ design is used to identify or screen for potentially important process or system variables. Once screened, these important variables are then incorporated into a more complex experimental study. - To fit the first-order model in (3) or the interaction model in (4): The 2k^ design can be used to fit model (3) or (4). One application of fitting these models is in the method of steepest ascent or descent (Section 6 of the course notes). - As a building block for second-order response surface designs: 2 k^ designs are used to generate central composite designs (CCDs) and Box-Behnken designs (BBDs).
  • We will first analyze each 2k^ design as a fixed effects design. We will also generalize the fixed effects results to the regression model approach for which the model contains regression coefficients β 0 , β 1 , β 2 ,... as in (3) and (4).
  • Before analyzing the data, you must determine if the design was completely randomized or if blocking was used. Your answer to this question will indicate the appropriate analysis. Initially, we will assume the design was completely randomized.

4.1 The 2^2 Design

  • The simplest 2k^ design is the 2^2 design. This is a special case of a two-factor factorial design with factors A and B having two levels.
  • Because a 2^2 design has only 4 runs, several (n) replications are taken.
  • Notationally, we use lowercase letters a, b, ab, and (1) to indicate the sum of the responses for all replications at each of the corresponding levels of A and B. - If the lower case letter appears, then that factor is at its high (+1) level. - If the lower case letter does not appear, then that factor is at its low (−1) level.

Factor Level Coded Replicate Sum of n Combination Levels 1 2 · · · n Replicates A low , B low − 1 − 1 xxx xxx · · · xxx (1) = y 11 · A high, B low +1 − 1 xxx xxx · · · xxx a = y 21 · A low , B high −1 +1 xxx xxx · · · xxx b = y 12 · A high, B high +1 +1 xxx xxx · · · xxx ab = y 22 ·

  • We will use the notation A+^ and A−^ to represent the set of observations with factor A at its high (+1) and its low (−1) levels, respectively. The same notation applies to B+^ and B−^ for factor B.

a and ab correspond to A+^ and (1) and b correspond to A−. b and ab correspond to B+^ and (1) and a correspond to B−.

  • yA+ and yA− are the means of all observations when A = +1 and A = −1, respectively.
  • yB+ and yB− are the means of all observations when B = +1 and B = −1, respectively.
  • The average effect of a factor is the average change in the response produced by a change in the level of that factor averaged over the levels of the other factor.
  • For a 2^2 design with n replicates, the

— Average effect of Factor A, denoted A, is

A = yA+ − yA− = =

2 n

[ab + a − b − (1)].

— Average effect of Factor B, denoted B, is

B = yB+ − yB− = =

2 n

[ab − a + b − (1)].

— Interaction effect between Factors A and B, denoted AB, is the difference between (i) the average change in response when the levels of Factor A are changed given Factor B is at its high level and (ii) the average change in response when the levels of Factor A are changed given Factor B is at its low level:

AB = (yA+B+ − yA−B+ ) − (yA+B− − yA−B− )

= =

ab − a − b + (1) 2 n Note: The results would be the same if we switched the roles of A and B in the definition:

AB = (yA+B+ − yA+B− ) − (yA−B+ − yA−B− )

= =

ab − a − b + (1) 2 n

Sums of Squares for A, B and AB.

  • Note that when estimating the effects for A, B and AB the following contrasts are used:

ΓA = ab + a − b − (1) ΓB = ab − a + b − (1) ΓAB = ab − a − b + (1)

The Regression Model

  • If both factors in the 2^2 design are quantitative (say, x 1 and x 2 ), we can fit the first order regression model y = β 0 + β 1 x 1 + β 2 x 2 + . or, we can fit the regression model with interaction:

y = β 0 + β 1 x 1 + β 2 x 2 + β 12 x 1 x 2 + .

  • The least squares estimates [ b 0 b 1 b 2 b 12 ]′^ = (X′X)−^1 X′y are directly related to the estimated effects A, B, and AB from the fixed effects analysis:

b 0 =

ab + a + b + (1) 4 n

or b 0 = y

b 1 =

ΓA

4 n

ab + a − b − (1) 4 n

or b 1 = A/ 2

b 2 =

ΓB

4 n

ab + b − a − (1) 4 n

or b 2 = B/ 2

b 12 =

ΓAB

4 n

ab + (1) − a − b 4 n

or b 2 = AB/ 2

  • For the previous example: b 0 = y = 381.3/16 = 23. b 1 = A/ 2 = 16.6375/2 = 8. b 2 = B/ 2 = 7.5375/2 = 3. b 12 = AB/ 2 = 8.7125/2 = 4.
  • Therefore, the fitted regression equation is

̂ y = 23.83125 + 8. 31875 x 1 + 3. 76875 x 2 + 4. 35625 x 1 x 2

where (x 1 , x 2 ) are the coded levels of factors A and B.

4.2 The 2^3 Design

  • Let A, B, and C be three factors each having two levels. The design which includes the 2^3 = 8 treatment combinations of A ∗ B ∗ C is called a 2^3 (factorial) design.
  • The following table summarizes the eight treatment combinations and the signs for calculating effects in the 2^3 design (I =intercept). Assume each treatment is replicted n times.

Factorial Effect Sum of I A B C AB AC BC ABC replicates

  • − − − + + + − (1) = y 111 ·
    • − − − − + + a = y 211 ·
  • − + − − + − + b = y 121 ·
      • − + − − − ab = y 221 ·
  • − − + + − − + c = y 112 ·
    • − + − + − − ac = y 212 ·
  • − + + − − + − bc = y 122 ·
                • abc = y 222 ·
  • The signs in the interaction columns are the signs that result when multiplying the main effect columns in the interaction of interest. Note that all columns are mutually orthogonal.
  • For a 2^3 design with n replicates, each estimated effect is the differences between two means: The first mean is the average of all data corresponding to the + rows in an effect column and the second mean is the average of all data corresponding to the − rows in an effect column.

Average effect of Factor A, denoted A, is

A = yA+ − yA− =

(a + ab + ac + abc) 4 n

(1) + b + c + bc 4 n =

4 n

[a + ab + ac + abc − (1) − b − c − bc].

Average effect of Factor B, denoted B, is

B = yB+ − yB− =

(b + ab + bc + abc) 4 n

(1) + a + c + ac 4 n =

4 n

[b + ab + bc + abc − (1) − a − c − ac].

Average effect of Factor C, denoted C, is

C = yC+ − yC− =

(c + ac + bc + abc) 4 n

(1) + a + b + ab 4 n =

4 n

[c + ac + bc + abc − (1) − a − b − ab].

Two-factor interaction effect between Factors A and B, denoted AB, is

AB =

ab + abc − a − ac 4 n

b + bc − (1) − c 4 n

abc + ab + c + (1) − a − ac − bc − b 4 n

Two-factor interaction effect between Factors A and C, denoted AC, is

AC =

ac + abc − a − ab 4 n

c + bc − (1) − b 4 n

abc + ac + b + (1) − ab − a − bc − c 4 n

Two-factor interaction effect between Factors B and C, denoted BC, is

BC =

bc + abc − b − ab 4 n

c + ac − (1) − a 4 n

abc + bc + a + (1) − ab − b − ac − c 4 n

Three-factor interaction effect between Factors A, B and C, denoted ABC, is the average difference between the AB interaction for the two different levels of C. That is,

ABC =

(abc − bc) − (ac − c) 4 n

(ab − b) − (a − (1)) 4 n =

abc + a + b + c − ab − ac − bc − (1) 4 n

  • Let Γ = the contrast sum in the numerator for any of the effects. Then the sums of squares

associated with that effect is SS =

Estimation of Two-Factor Interaction Effects

Estimation of the Three-Factor Interaction Effect

The Regression Model

  • If all three factors in the 2^3 design are quantitative (say, x 1 , x 2 , and x 3 ), we can fit the regression model

y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 3 + β 12 x 1 x 2 + β 13 x 1 x 3 + β 23 x 2 x 3 + β 123 x 1 x 2 x 3 + . (6)

  • The least squares estimates (with the exception of b 0 ) are 1/2 of the estimated effects from the fixed effects analysis. That is,

b 0 = y b 1 = A/ 2 b 2 = B/ 2 b 3 = C/ 2

b 12 = AB/ 2 b 13 = AC/ 2 b 23 = BC/ 2 b 123 = ABC/ 2

  • Because all of the contrasts associated with each of the effects are orthogonal, the least squares estimates remain unchanged for any model containing a subset of terms in (6).

4.2.1 A 2^3 Design Example

An engineer is interested in the effects of cutting speed (A), tool geometry (B), and cutting angle (C) on the life (in hours) of a machine tool. Two levels of each factor are chosen, and three replicates of a 2^3 design are run. The results are summarized below:

A B C Replicates Treatment

x 1 x 2 x 3 Sums

+ − − 32 43 29 a = 104

− + − 35 34 50 b = 119

+ + − 55 47 46 ab = 148

− − + 44 45 38 c = 127

+ − + 40 37 36 ac = 113

− + + 60 50 54 bc = 164

+ + + 39 41 47 abc = 127

Analyze the data (with lack-of-fit tests) assuming the following 4 models:

  • (Model 1): An additive model with fixed (categorical) effects.
  • (Model 2): A first-order regression model.
  • (Model 3): An interaction model with fixed (categorical) effects.
  • (Model 4): A regression model with all two-factor crossproduct (interaction). terms.

Note there are df for pure error.

  • Fixed effects additive model (Model 1):

yijkl = μ + αi + βj + γk + ijkl (i = ± 1 , j = ± 1 , k = ± 1 , l = 1, 2 , 3)

  • Note the effect estimates in the SAS output match the formula calculations.
  • First-order regression model (Model 2): For i = 1, 2 ,... , 24

yi = β 0 + β 1 x 1 i + β 2 x 2 i + β 3 x 3 i + i

Note that the parameter estimates are 1/2 of those from the fixed effects in Model 1.

  • For Models 1 and 2, there are df for pure error and df for total error. Thus, the df for lack-of-fit =. This means we can add at most additional terms in the model (such as interaction terms).
  • There is a significant lack-of-fit (p-value = ). We can add at most additional terms in the model (such as interaction terms).
  • The residuals in the Residual vs Predicted Value plot (page 50) are not randomly scattered about 0 for several (x 1 , x 2 , x 3 ) combinations. This suggests a lack-of-fit problem.

MODEL 1: ADDITIVE FIXED EFFECTS MODEL The GLM Procedure

Dependent Variable: Y

MODEL 1: ADDITIVE FIXED EFFECTS MODEL The GLM Procedure

Dependent Variable: Y

Source DF

Sum of Squares Mean Square F Value Pr > F Model 3 1051.500000 350.500000 6.72 0. Error 20 1043.833333 52. Corrected Total 23 2095.

R-Square Coeff Var Root MSE Y Mean 0.501829 17.69236 7.224380 40.

Source DF Type III SS Mean Square F Value Pr > F A 1 0.6666667 0.6666667 0.01 0. B 1 770.6666667 770.6666667 14.77 0. C 1 280.1666667 280.1666667 5.37 0.

MODEL 2: FIRST ORDER REGRESSION MODEL The REG Procedure Model: MODEL Dependent Variable: Y

MODEL 2: FIRST ORDER REGRESSION MODEL The REG Procedure Model: MODEL Dependent Variable: Y

Number of Observations Read 24 Number of Observations Used 24

Analysis of Variance

Source DF

Sum of Squares

Mean Square F Value Pr > F Model 3 1051.50000 350.50000 6.72 0. Error 20 1043.83333 52. Lack of Fit 4 561.16667 140.29167 4.65 0. Pure Error 16 482.66667 30. Corrected Total 23 2095.

Root MSE 7.22438 R-Square 0. Dependent Mean 40.83333 Adj R-Sq 0. Coeff Var 17.

Parameter Estimates

Variable DF

Parameter Estimate

Standard Error t Value Pr > |t|

Variance Inflation Intercept 1 40.83333 1.47467 27.69 <.0001 0 X1 1 0.16667 1.47467 0.11 0.9111 1. X2 1 5.66667 1.47467 3.84 0.0010 1. X3 1 3.41667 1.47467 2.32 0.0312 1.

MODEL 1: ADDITIVE FIXED EFFECTS MODEL The GLM Procedure nt Variable: Y

MODEL 1: ADDITIVE FIXED EFFECTS MODEL The GLM Procedure nt Variable: Y

Parameter Estimate

Standard Error t Value Pr > |t| A 0.3333333 2.94934079 0.11 0. B 11.3333333 2.94934079 3.84 0. C 6.8333333 2.94934079 2.32 0.

MODEL 1: ADDITIVE FIXED EFFECTS MODEL

The GLM Procedure

MODEL 1: ADDITIVE FIXED EFFECTS MODEL

The GLM Procedure

Y Level of A N Mean Std Dev -1 12 40.6666667 11. 1 12 41.0000000 7.

Y Level of B N Mean Std Dev -1 12 35.1666667 7. 1 12 46.5000000 8.

Y Level of C N Mean Std Dev -1 12 37.4166667 10. 1 12 44.2500000 7.

MODEL 3: INTERACTION FIXED EFFECTS MODEL

The GLM Procedure

MODEL 3: INTERACTION FIXED EFFECTS MODEL

The GLM Procedure

Y Level of A N Mean Std Dev -1 12 40.6666667 11. 1 12 41.0000000 7.

Y Level of B N Mean Std Dev -1 12 35.1666667 7. 1 12 46.5000000 8.

Y Level of A

Level of B N Mean Std Dev -1 -1 6 34.1666667 9. -1 1 6 47.1666667 10. 1 -1 6 36.1666667 5. 1 1 6 45.8333333 5.

Y Level of C N Mean Std Dev -1 12 37.4166667 10. 1 12 44.2500000 7.

Y Level of A

Level of C N Mean Std Dev -1 -1 6 32.8333333 9. -1 1 6 48.5000000 7. 1 -1 6 42.0000000 9. 1 1 6 40.0000000 3.

The GLM ProcedureThe GLM Procedure

Y Level of A N Mean Std Dev -1 12 40.6666667 11. 1 12 41.0000000 7.

Y Level of B N Mean Std Dev -1 12 35.1666667 7. 1 12 46.5000000 8.

Y Level of A

Level of B N Mean Std Dev -1 -1 6 34.1666667 9. -1 1 6 47.1666667 10. 1 -1 6 36.1666667 5. 1 1 6 45.8333333 5.

Y Level of C N Mean Std Dev -1 12 37.4166667 10. 1 12 44.2500000 7.

Y Level of A

Level of C N Mean Std Dev -1 -1 6 32.8333333 9. -1 1 6 48.5000000 7. 1 -1 6 42.0000000 9. 1 1 6 40.0000000 3.

MODEL 3: INTERACTION FIXED EFFECTS MODEL

The GLM Procedure

Y Level of B

Level of C N Mean Std Dev -1 -1 6 30.3333333 7. -1 1 6 40.0000000 3. 1 -1 6 44.5000000 8. 1 1 6 48.5000000 7.

MODEL 2: FIRST ORDER REGRESSION MODEL

The REG Procedure Model: MODEL Dependent Variable: Y

MODEL 2: FIRST ORDER REGRESSION MODEL

The REG Procedure Model: MODEL Dependent Variable: Y

Fit Diagnostics for Y

Adj R-Square 0.

R-Square 0.

MSE 52.

Error DF 20

Parameters 4

Observations 24

Proportion Less

0.0 0.4 0.

Residual

0.0 0.4 0.

Fit–Mean

0

5

10

-20 -10 0 10 20 Residual

0

5

10

15

20

25

30

Percent

0 5 10 15 20 25 Observation

Cook's D

20 30 40 50 60 Predicted Value

20

30

40

50

60

Y

-2 -1 0 1 2 Quantile

0

5

10

Residual

0.20 0.25 0. Leverage

0

1

2

RStudent

35 40 45 50 Predicted Value

0

1

2

RStudent

35 40 45 50 Predicted Value

0

5

10

Residual

MODEL 4: INTERACTION REGRESSION MODEL

The REG Procedure Model: MODEL Dependent Variable: Y

MODEL 4: INTERACTION REGRESSION MODEL

The REG Procedure Model: MODEL Dependent Variable: Y

Fit Diagnostics for Y

Parameters 7

Observations 24

Fit–Mean Residual

0

10 20

30

ercent

0 5 10 15 20 25 Observation

Cook's D

20 30 40 50 60 Predicted Value

20

30

40

50

60

Y

-2 -1 0 1 2 Quantile

0

5

10

Residual

0.3 0.4 0.5 0. Leverage

0

1

2

RStudent

30 40 50 Predicted Value

0

1

2

RStudent

30 40 50 Predicted Value

0

5

10

Residual

SAS Code for the 23 Design Example

  • ESTIMATE statements in SAS are used to calculate average effect estimates.
  • Because of orthogonality, all standard errors are identically

2 .24227067 =

M SE/ 2 n =

DM ’LOG; CLEAR; OUT; CLEAR;’;

ODS LISTING;

ODS PRINTER PDF file=’C:\COURSES\ST578\SAS\TWO3.PDF’; OPTIONS NODATE NONUMBER;

OPTIONS PS=54 LS=76 NODATE NONUMBER;

DATA IN; DO C = -1 TO 1 BY 2; DO B = -1 TO 1 BY 2; DO A = -1 TO 1 BY 2; DO REP = 1 TO 3; INPUT Y @@; X1=A; X2=B; X3=C; X1X2 = X1X2; X1X3 = X1X3; X2X3 = X2*X3; OUTPUT; END; END; END; END; LINES; 22 31 25 32 43 29 35 34 50 55 47 46 44 45 38 40 37 36 60 50 54 39 41 47 ; PROC GLM DATA=IN PLOTS=NONE; CLASS A B C; MODEL Y = A B C / SS3; MEANS A B C; ESTIMATE ’A’ A -1 1; ESTIMATE ’B’ B -1 1; ESTIMATE ’C’ C -1 1; TITLE ’MODEL 1: ADDITIVE FIXED EFFECTS MODEL’;

PROC REG DATA=IN PLOTS=(DIAGNOSTICS); MODEL Y = X1 X2 X3 / LACKFIT VIF; TITLE ’MODEL 2: FIRST ORDER REGRESSION MODEL’;

PROC GLM DATA=IN PLOTS=NONE; CLASS A B C; MODEL Y = A|B|C@2 / SS3 ; MEANS A|B|C@2; ESTIMATE ’A’ A -1 1; ESTIMATE ’B’ B -1 1; ESTIMATE ’C’ C -1 1; ESTIMATE ’AB’ AB 1 -1 -1 1 / DIVISOR=2; ESTIMATE ’AC’ AC 1 -1 -1 1 / DIVISOR=2; ESTIMATE ’BC’ BC 1 -1 -1 1 / DIVISOR=2;

  • ESTIMATE ’ABC’ ABC -1 1 1 -1 1 -1 -1 1 ; TITLE ’MODEL 3: INTERACTION FIXED EFFECTS MODEL’;

PROC REG DATA=IN PLOTS=(DIAGNOSTICS); MODEL Y = X1 X2 X3 X1X2 X1X3 X2X3 / LACKFIT VIF; TITLE ’MODEL 4: INTERACTION REGRESSION MODEL’; RUN;

A 2**4 DESIGN -- ESTIMATION OF EFFECTS

The GLM Procedure

Dependent Variable: YIELD

Sum of Source DF Squares Mean Square F Value Pr > F

Model 15 291.7500000 19... Error 0 0.. Corrected Total 15 291.

R-Square Coeff Var Root MSE YIELD Mean 1.000000.. 17.

Type III Mean Source DF SS Square F Value Pr > F

TIME 1 81.00 81... CONC 1 1.00 1... TIMECONC 1 2.25 2... PRESSURE 1 16.00 16... TIMEPRESSURE 1 72.25 72... CONCPRESSURE 1 0.25 0... TIMECONCPRESSURE 1 4.00 4... TEMP 1 42.25 42... TIMETEMP 1 64.00 64... CONCTEMP 1 0.00 0... TIMECONCTEMP 1 2.25 2... PRESSURETEMP 1 0.00 0... TIMEPRESSURETEMP 1 0.25 0... CONCPRESSURETEMP 1 2.25 2... TIMECONCPRESS*TEMP 1 4.00 4...

Standard Parameter Estimate Error t Value Pr > |t|

A TIME 4.... B CONC 0.... C PRESSURE 2.... D TEMP 3.... AB TIMECONC -0.... AC TIMEPRES -4.... AD TIMETEMP 4.... BC CONCPRES 0.... BD CONCTEMP 0.... CD PRESTEMP 0.... ABC TIMECP 1.... ABD TIMECT 0.... ACD TIMEPT -0.... BCD CPTEMP -0.... ABCD TCPT 1....

^^^^^^^^^^^ Make a NPP of these estimates

DM ’LOG; CLEAR; OUT; CLEAR;’;

ODS LISTING;

  • ODS PRINTER PDF file=’C:\COURSES\ST578\SAS\TWO4.PDF’; OPTIONS PS=54 LS=78 NODATE NONUMBER;

DATA IN;

DO TEMP = -1 TO 1 BY 2;

DO PRESSURE = -1 TO 1 BY 2;

DO CONC = -1 TO 1 BY 2;

DO TIME = -1 TO 1 BY 2;

INPUT YIELD @@; OUTPUT;

END; END; END; END;

LINES;

*** PART I: DETERMINE THE ESTIMATES OF THE 15 EFFECTS ***;

PROC GLM DATA=IN;

CLASS TIME CONC PRESSURE TEMP;

MODEL YIELD = TIME|CONC|PRESSURE|TEMP / SS3;

ESTIMATE ’TIME’ TIME -1 1;

ESTIMATE ’CONC’ CONC -1 1;

ESTIMATE ’PRESSURE’ PRESSURE -1 1;

ESTIMATE ’TEMP’ TEMP -1 1;

ESTIMATE ’TIMECONC’ TIMECONC 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’TIMEPRES’ TIMEPRESSURE 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’TIMETEMP’ TIMETEMP 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’CONCPRES’ CONCPRESSURE 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’CONCTEMP’ CONCTEMP 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’PRESTEMP’ PRESSURETEMP 1 -1 -1 1 / DIVISOR=2;

ESTIMATE ’TIMECP’ TIMECONCPRESSURE -1 1 1 -1 1 -1 -1 1 / DIVISOR=4;

ESTIMATE ’TIMECT’ TIMECONCTEMP -1 1 1 -1 1 -1 -1 1 / DIVISOR=4;

ESTIMATE ’TIMEPT’ TIMEPRESSURETEMP -1 1 1 -1 1 -1 -1 1 / DIVISOR=4;

ESTIMATE ’CPTEMP’ CONCPRESSURETEMP -1 1 1 -1 1 -1 -1 1 / DIVISOR=4;

ESTIMATE ’TCPT’ TIMECONCPRESSURETEMP

1 -1 -1 1 -1 1 1 -1 -1 1 1 -1 1 -1 -1 1 / DIVISOR=8;

TITLE ’A 2**4 DESIGN -- ESTIMATION OF EFFECTS’;

Analysis I: Pooling high order interactions

  • After pooling all 3-factor and 4-factor interaction, we have 5 df for the M SE.
  • The ANOVA indicates significant A, C, AC, D, and AD effects. These match the highlighted points on the normal probability plot of effects.

*** PART III: RUN ANOVA WITH POOLED HIGHER ORDER INTERACTIONS ***;

PROC GLM DATA=IN;

CLASS TIME CONC PRESSURE TEMP;

MODEL YIELD = TIME|CONC|PRESSURE|TEMP@2 / SS3;

TITLE ’A 2**4 DESIGN -- POOLING HIGHER ORDER INTERACTIONS’;

Analysis II: Pooling terms involving factor B = concentration (CONC)

  • After pooling all terms involving CONC, we have 8 df for the M SE.
  • The ANOVA indicates significant A, C, AC, D, and AD effects. These match the highlighted points on the normal probability plot of effects.
  • After factor B is removed, we still retain balance and orthogonality. We now have a 2^3 design with n = 2 replicates for each combination of factor levels for A, C, and D.

*** RUN ANOVA WITH CONCENTRATION REMOVED FROM THE ANALYSIS ***;

PROC GLM DATA=IN;

CLASS TIME PRESSURE TEMP;

MODEL YIELD = TIME|PRESSURE|TEMP / SS3;

TITLE ’ANOVA WITH CONCENTRATION REMOVED FROM THE ANALYSIS’;

RUN;