Design of Experiments
On this page

Book

19 Design of Experiments

110 min read

Knowledge is the key to innovation and profit, but acquiring knowledge can be complex, time-consuming and costly. To be successful, we need to learn how to learn. This is the key to generating ideas, improving processes, developing new products. An initial idea (or model) leads to a process of deducing certain necessary consequences that can be compared with data. When there is a discrepancy between the consequences and the data, we are led to a process called induction, to modify our initial model. Therefore, we begin a new cycle, in which we modify our model and compare it with data (old or new). Consequently, we are led to new modifications and knowledge gains.

Suppose we want to solve a particular problem and from some initial speculation, we have some relevant ideas to solve it. In this way, we will look for data that guarantee or refute our theory. Sometimes, the facts and data obtained confirm our conjecture and, in this case, our problem will be solved. However, often, our initial idea is partially correct or sometimes completely wrong. In this case, we will have to continue researching.

In any area of ​​research, we are interested in knowing which variables are decisive for success, as well as the lower and upper limits of the values ​​of these variables. For example, in a grinding process we are interested in knowing which variables are decisive for a good finish on the part. In a thermoset resin curing process, the curing temperature and the amount of catalyst are important variables in determining the total curing time of the polymeric resin. Therefore, we are interested in determining appropriate values ​​for these variables in order to maintain our process in accordance with customer needs.

To study the behavior of the variables that influence our research, we carry out EXPERIMENTS. For this, we choose, according to the researcher’s convenience, levels for the variables of interest and carry out experiments on combinations of the levels of these variables. Experimental planning is one of these techniques, which is currently being used on a large scale. Through it, researchers determine the variables that have the greatest influence on the performance of a given process. This is one of the objectives of experiment planning, which in English is called Design Of Experiments (DOE).

19.1 Introduction

Experiment

It is a procedure in which purposeful changes are made to the input variables of a process or system, so that it is possible to evaluate the possible changes suffered by the response variable, as well as the reasons for its change.

Intro

Objectives of a planned experiment

  • reduction of process variation and better agreement between obtained values and intended values;
  • reduction of process time;
  • reduction of operating costs;
  • improvement in process performance.

To be successful in using these techniques, it is necessary to define quality characteristics and all possible factors that can affect these characteristics. Next, we carried out an experiment to determine relationships between the inputs ($ X_1 $ and $ X_2 $) and outputs ($ Y $).

Some typical applications of experiment planning

  • evaluation and comparison of basic project configurations;
  • evaluation of different materials;
  • selection of design parameters;
  • determination of design parameters that improve product performance.
  • obtaining products that are easier to manufacture, that are designed, developed and produced in less time, that have better performance and reliability than those produced by competitors.

Three basic principles of experiment planning

  • replication;
  • randomness;
  • blocking.

Carrying out an experiment with replicas is very important for two reasons. The first is that this allows the experimental error to be obtained. Estimating this error is basic to verify whether the differences observed in the data are statistically different. The second reason refers to the fact that, if the mean of a sample is used to estimate the effect of a factor in the experiment, replication allows a more precise estimate of that effect to be obtained.

Statistical methods require that observations, or errors, be independently distributed random variables. The experiments, with their replications, must be carried out randomly, in order to guarantee the equal distribution of all factors not considered. For example, when carrying out an experiment to determine the variables that determine the finishing of the part in a grinding machine, we must take care of randomness when carrying out the experiment, as critical factors that are not in the study, such as ambient temperature and batch of raw materials, can influence the variables of interest differently, which compromises the independence and variability between experimental errors.

Blocking is an extremely important technique, used with the aim of increasing the precision of an experiment. In certain processes, we can systematically control and evaluate the variability resulting from the presence of known factors that disturb the system, but we are not interested in studying them. Blocking is used, for example, when a certain experimental measurement is made by two different people, leading to possible non-homogeneity in the data. Another example would be when a certain product is produced under the same operating conditions, but in different batches. In order to avoid inhomogeneity, it is best to treat each person and batch as a block.

Experiments must be performed sequentially. The first of these, called a screening experiment, is used to determine which variables are important (critical variables). Subsequent experiments are used to define the levels of the previously identified critical variables that result in improved process performance.

In short, what we want here is to obtain an appropriate mathematical model to describe a certain phenomenon, using as few experiments as possible. Experimental planning allows efficiency and savings in the experimental process and the use of statistical methods in analyzing the data obtained results in scientific objectivity in the conclusions.

The basic methods used to carry out efficient experimental planning have the following objectives:

i. Selection of the best model from a series of plausible models;

ii. Efficient parameter estimation of the selected model.

All experimental planning begins with an initial series of experiments, with the aim of defining the important variables and levels. We can have qualitative variables (type of catalyst, type of equipment, operator, etc.) and quantitative variables (temperature, pressure, concentration, inflation index, pH of the medium, etc.). The results must be analyzed and pertinent modifications must be made to the experimental design. Figure 1 presents a summary of this initial strategy.

Fluxo_DOE

Figure 1: DOE flowchart.

It is important to emphasize that the methods that will be described here do not replace imagination and common sense, but they help to save time and money, as they lead to objectivity in the analysis of results. Before starting to carry out the experiments, the objectives and criteria must be very clear, in order to provide support for the choice:

  1. the variables involved in the experiments;
  2. the variation range of the selected variables;
  3. of the levels chosen for these variables. In the case of many factors, it is best to choose two levels initially;
  4. of the response variable;
  5. of experimental planning. At this stage, it is necessary to consider the sample size (number of replicates), the selection of an order in which to carry out the treatments and whether there is an advantage in blocking the experiments; of the methods of analyzing the results of the experiments. Statistical methods are used to guide objective decision making.

Fluxo_DOE1

19.2 Definitions

Factorial Experiments

This type of experimental design is suitable for studying, efficiently and economically, the joint effect of several factors on a response variable of interest. Generally speaking, each factor could be observed at several levels, but the most used experiments in industry are factorial experiments in which each factor assumes only two levels, for example two temperature values, two levels of a reactant, and mainly two qualitative characteristics of a given factor, for example a part “with” or “without” a certain characteristic. Generally, you want to compare the current level of work of a given factor with a new level of this factor, to check whether the current level provides good use of the process or whether it could have better results using a new level.

Effects

The effect of a factor can be defined as the change suffered by the response variable when we move from the low level of the factor to the highest level.

Consider a factorial experiment in which each factor has two levels and r replications for each treatment (combinations of levels). A special way to represent treatments is using the effects representation, as described below:

Notation:

  • Assign the signs of - if low level and + if high level to each of the factors, or;
  • Assign a value of 0 or 1 to the levels of each factor;
  • Denote the presence or absence of the high level of the factor, that is:

[0] = Both factors are absent (both at a low level);

[a] = Only factor A is present (high level in A and low in B);

[b] = Only factor B is present (high level in B and low in A); and

[ab] = Both AB factors are present (both at a high level).

Interactions

If the behavior of a factor is not the same at both levels of another factor, we say that there is an interaction between the factors. Mathematically, the effect of the interaction between two factors is half the difference between the effects of one factor on the levels of the other factor.

Interaction: Interaction occurs between two or more factors if the effect of one factor on the response depends on the level of the other factors.

For more information, you can consult the Statistical Analysis content of the ANOVA book.

19.3 Full Factorial Experiments

A Full Factorial Design includes all possible combinations between the factor levels of the experiment. Thus, in a complete randomized experiment all possible treatments must be used in the experiment, but the order of the runs is randomized. Randomization is essential for a good conclusion, as the experimenter cannot be sure of all the variables that influence the experiment, so in this way we make sure that a greater number of variables external to the experiment influence them equally. Even if someone can identify and control some of these variables, unplanned complications are common. Randomization does not prevent complications within the experiment, but it does offer some protection against experiment bias.

Steps to constructing a complete randomized experiment

  1. List all combinations between factor levels. From 1 to N. Include replicas.
  2. Generate a sequence of random numbers for the sequence from 1 to N, using random number tables or the computer.
  3. Conduct the experiment following the sequence obtained in randomization.

Experiment plans should, when possible, include replicates. We must work with as many replicas as possible, as this means we use more information about the level of work. In this way, several tests will allow estimating the error variance of the experiment and also investigating the suitability of the adjusted model. When possible, we should balance the combinations an equal number of times. The only requirement is that a sufficient number of replications be made to obtain a satisfactory estimate of the experimental error.

19.3.1 2^k Factorial Experiments

The factorial experiments $ 2^k $ have k factors, with two levels each.

A schematic of a factorial experiment can be seen as follows:

(image missing)

Example 3.1.1

Study the effect on time of a given chemical reaction with variation in temperature and concentration of a reactant, as shown in the following diagram.

(image missing)

For the example above, we can define:

Screenshot_1

The experiments $ 2^k $ constitute an important class of planning because:

  • The number of trials involved in carrying out these experiments is relatively small.
  • The experimental region in these experiments may be restricted, but it can indicate trends and determine a better (or more appropriate) direction for new experiments.
  • These experiments can be “augmented” with the inclusion of new levels and/or new factors.

Randomization

Randomization is a procedure that combines factor levels in a sequence of treatments so that the treatments are shuffled.

Suppose there is an experiment with 3 factors, namely: Type of Metal (iron, aluminum), Porosity (porous, non-porous) and Type of Lubricant (A, B, C and D). There is

$${Número Total de Tratamentos}=2\times2\times4=16$$

Thus, each treatment is listed as in the following table and a sequence of random numbers from 1 to 16 is generated, for example the sequence {8, 15, 2, 12, 16, 6, 7, 11, 10, 14, 9, 1, 3, 4, 13, 5}.

In the Table we show the order of the races.

Combination Type of metal Porosity Lubricant Order Race
1 iron porous A 1 8
2 iron porous B 2 15
3 iron porous C 3 2
4 iron porous D 4 12
5 iron non-porous A 5 16
6 iron non-porous B 6 6
7 iron non-porous C 7 7
8 iron non-porous D 8 11
9 aluminum porous A 9 10
10 aluminum porous B 10 14
11 aluminum porous C 11 9
12 aluminum porous D 12 1
13 aluminum non-porous A 13 3
14 aluminum non-porous B 14 4
15 aluminum non-porous C 15 13
16 aluminum non-porous D 16 5

19.3.1.1 2^2 factorial experiments

Consider a full factorial experiment with only 2 factors.

We have $ 2^2 $ = 4 combinations between factor levels.

Consider Example 3.1.1, where you want to study the effect on time of a certain chemical reaction with variation in temperature and concentration of a reactant. We had to

Screenshot_2

Consider 3 replications of this (complete) experiment, with the data below, and the order of execution in parentheses:

Treatment A B Y1 Y2 Y3 Y
0 -1 -1 26,6(1) 22,0(7) 22,8(10) 23,8
(a) 1 -1 40,9(4) 36,4(9) 36,7(12) 38
(b) -1 1 11,8(3) 15,9(8) 14,3(11) 14
(ab) 1 1 34,0(2) 29,0(5) 33,6(6) 32,2

First we make a graph with the average values of $ Y $ for the different treatments:

(image missing)

We observed that the best configuration would be A- and B+. However, the interaction between A and B may be significant, so we cannot conclude anything at this time.

Be:

  • $ \overline{Y_{A+}} $ the average of Y with the A factor at level + (high);
  • $ \overline{Y_{A-}} $ the average of Y with factor A at level - (low); and so on for the other factors.

The average effect of factor A is calculated as being

$$A=\overline{Y_{A+}}-\overline{Y_{A-}}=\frac{ab+a}{2}-\frac{b+(0)}{2}=\frac{32,2+38}{2}-\frac{23,8+14}{2}=16,2$$

and similarly the average effect of factor B is given by

$$B=\overline{Y_{B+}}-\overline{Y_{B-}}=\frac{ab+b}{2}-\frac{a+(0)}{2}=\frac{14+32,2}{2}-\frac{23,8+38}{2}=-7,8.$$

To find the effect of the interaction between factors A and B we do

$$AB=\frac{ab-a}{2}-\frac{b-(0)}{2}=\frac{32,2-38}{2}-\frac{14-23,8}{2}=-2,9-(-4,9)=2$$

Interaction Chart

int1

Main Effects Chart

eprinc_0

19.3.1.2 Analysis of effects via ANOVA

When analyzing an experiment using the ANOVA Table, it is possible to quantify the portion of the total variability that is due to each factor and the interaction between them.

For this, let $ y_{ijk} $ the kth observation at level i of A and j of B. In general, i = 1, …, a; j = 1, …, b; k = 1, …, r; where a and b are the number of levels of A and B, respectively and r is the number of replicates of the experiment. In the case of experiments with 2 levels for each factor, a = b = 2.

Screenshot_3

The table results are obtained as follows:

  • $ y_{i\cdot\cdot}=\displaystyle\sum_{j=1}^{b}\sum_{k=1}^{r}y_{ijk}~ $, the sum of all observations at level i of A and $ \overline{y_{i\cdot\cdot}}=\cfrac{y_{i\cdot\cdot}}{br},~ $ the average of these observations, for i = 1, …, a.
  • $ y_{\cdot j\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{k=1}^{r}y_{ijk}~ $, the sum of all observations at level j of B and $ \overline{y_{\cdot j\cdot}}=\cfrac{y_{\cdot j\cdot} }{ar} $, the average of these observations, for j = 1, …, b.
  • $ y_{i j \cdot}=\displaystyle\sum_{k=1}^{r}y_{ijk}~ $, the sum of all observations that have level i of A and j of B (at the same time) and $ ~\overline{y_{i j \cdot}}=\cfrac{y_{i j \cdot}}{r},~ $ the average of these observations, for i = 1, …, a; j = 1, …, b.
  • $ y_{\cdot\cdot\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{r} y_{ijk},~ $ the sum of all observations and $ ~\overline{y_{\cdot\cdot\cdot}}=\cfrac{y_{\cdot\cdot\cdot}}{abr}~ $ the general average of the observations.

To quantify the variation related to each factor and the interaction between them, it is necessary to separate the Total Sum of Squares (SQT), which represents the total variation. To do this, we will show that

$$SQ_T = SQ_A + SQ_B + SQ_{AB} + SQ_E$$

where

$$SQ_A=br\sum_{i=1}^{a}(\overline{y_{i..}}-\overline{y_{…}})^{2}=\displaystyle\cfrac{1}{br}\sum_{i=1}^{a}y_{i\cdot\cdot}^2-\cfrac{y_{\cdot\cdot\cdot}^2}{abr}$$

$$SQ_B=ar\sum_{j=1}^{b}(\overline{y_{. j.}}-\overline{y_{…}})^{2}=\displaystyle\cfrac{1}{ar}\sum_{j=1}^{b}y_{\cdot j\cdot}^2-\cfrac{y_{\cdot\cdot\cdot}^2}{abr}$$

and the sum of squares of the interaction effect

$$SQ_{AB}=r\sum_{i=1}^{a}\sum_{j=1}^{b}(\overline{y_{ij.}}-\overline{y_{i..}}-\overline{y_{.j.}}-\overline{y_{…}})^{2}=\cfrac{1}{r}\sum_{i=1}^{a}\sum_{j=1}^{b}y_{ij\cdot}^2-\cfrac{y_{\cdot\cdot\cdot}^2}{abr}-SQ_A-SQ_B.$$

We also have that the Total Sum of Squares is given by

$$SQ_{T}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{r}(y_{i j k }-\overline{y_{\cdot\cdot\cdot}})^2=\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{r}y_{ij k }^2-\cfrac{y_{\cdot\cdot\cdot}^2}{abr}$$

and finally the Sum of Squares of Errors

$$SQ_{E}=\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{r}(y_{i j k}- \overline{y_{i j\cdot}})^2=\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{r}y_{i jk}^2-\cfrac{1}{r} \sum_{i=1}^{a}\sum_{j=1}^{b}y_{i j \cdot}^2.$$

How we are working with factorial experiments $ 2^2 $ then taking $ a=b=2 $ we have

$$SQ_A=br\displaystyle\sum_{i=1}^{a}(\overline{y_{i..}}-\overline{y_{…}})^2=2 r [(\overline{y_{2..}}-\overline{y_{…}})+(\overline{y_{1..}}-\overline{y_{…}})]^2$$

i.e.

$$SQ_A= 2 r \left[\left(\overline{y_{2..}}-\frac{\overline{y_{2..}}+\overline{y_{1..}}}{2}\right)+\left(\overline{y_{1..}}-\frac{\overline{y_{2..}}+\overline{y_{1..}}}{2}\right)\right]^2= 2 r\left[\left(\frac{\overline{y_{2..}}-\overline{y_{1..}}}{2}\right)+\left(\cfrac{\overline{y_{1..}}-\overline{y_{2..}}}{2}\right)\right]^2$$

and then we conclude that

$$SQ_A=4 r\left(\displaystyle\cfrac{\overline{y_{2..}}-\overline{y_{1..}}}{2}\right)^2=r(\overline{y_{2..}}-\overline{y_{1..}})^2=r ({efeito de A})^2$$

For factorial experiments $ 2^2, $ we have:

$$SQ_A = r ({efeito de A})^2$$

$$SQ_B=r ({efeito de B})^2~{ e }$$

$$SQ_{AB}=r({efeito de AB})^2.$$

Thus, the ANOVA Table is constructed:

Source of Variation Degrees of Freedom Sum of Squares Medium Squares F-statistic
$ A $ $ a-1 $ $ SQ_A $ $ QM_A=\displaystyle\frac{SQ_A}{a-1} $ $ \displaystyle\frac{QM_A}{QM_E} $
$ B $ $ b-1 $ $ SQ_B $ $ QM_B=\displaystyle\frac{SQ_B}{b-1} $ $ \displaystyle\frac{QM_B}{QM_E} $
$ AB $ $ (a-1)(b-1) $ $ SQ_{AB} $ $ QM_{AB}=\displaystyle\frac{SQ_{AB}}{(a-1)(b-1)} $ $ \displaystyle\frac{QM_{AB}}{QM_E} $
$ Erro $ $ ab(r-1) $ $ SQ_E $ $ QM_{E}=\displaystyle\frac{SQ_{E}}{ab(r-1)} $
$ Total $ $ abr-1 $ $ SQ_T $

Example 3.2.1.1

Considering again the data from Example 3.1.1, where it was desired to study the effects of temperature and reagent concentration on the reaction time, the ANOVA Table was constructed to check whether the effects of the factors and the interaction between them are significant.

Source G.L. Sum of Squares Medium Square F-statistic P-value
A 1 787,32 787,32 129,28 0
B 1 182,52 182,52 29,97 0,0006
A:B 1 12 12 1,97 0,198
Waste 8 48,72 6,09
Total 11 1030,56

For factor A, we have $ F_{obs} = 129,28> F_{0,95;1;8}=5,32 $, therefore factor A is significant. For factor B, we have $ F_{obs} = 29,97> F_{0,95;1;8}=5,32, $, therefore factor B is also significant. But the interaction is not significant, since $ F_{AB}=1,97< F_{0,95;1;8}=5,32 $.

Let’s observe the changes when we move from one level to the next:

$$\overline{y_{1..}}=(26,6+11,8+22+15,9+22,8+14,3)/6=18,9$$

$$\overline{y_{2..}}=(40,9+34+36,4+29+36,7+33,6)/6=35,1$$

$$\overline{y_{.1.}}=(26,6+40,9+22+36,4+22,8+36,7)/6=30,9$$

$$\overline{y_{.2.}}=(11,8+34+15,9+29+14,3+33,6)/6=23,1$$

Therefore, the best configuration to obtain the shortest reaction time is $ A_- $ and $ B_+ $, that is, the concentration in $ 10(porcentagem) $ and the temperature in $ 90 $ºC.

Results obtained by the Action software.

anova

19.3.1.3 Analysis of effects via linear regression

Another way to analyze the effects of factors and interactions is to define a linear regression model, for example, for an experiment with 2 factors A and B, the model is defined as follows

$$Y=\beta_{0}+\beta_{1}X_{i}+\beta_{2}X_{j}+\beta_{12}X_{i}X_{j}+\varepsilon$$

in which

  • $ \beta_{0} $ is the overall average of the response
  • $ X_{i} $ takes on a value of -1 or 1, depending on the level of factor A
  • $ X_{j} $assumes value -1 or 1, depending on the level of factor B
  • $ X_{ij} = X_{i}X_{j} $.

The unknown constants βj are called parameters and ε represents the experimental error, that is, the variability due to random factors not controlled in the experiment.

In general, the linear regression model is given by

$$Y = \beta_{0} + \beta_{1}x_{1} + \beta_{2}x_{2} + … +\beta_{k}x_{k}+ \varepsilon$$

Parameter Estimation

The least squares method is the most used to estimate the parameters of the linear regression model. To do this, we consider p explanatory variables x, p+1 model parameters and n observations, with n > p.

Data from a linear regression can be represented as follows:

$ \mathbf{Y} $ $ \mathbf{x}_{1} $ $ \mathbf{x}_{2} $ $ \dots $ $ \mathbf{x}_{p} $
$ y_{1} $ $ x_{11} $ $ x_{12} $ $ \dots $ $ x_{1p} $
$ y_{2} $ $ x_{21} $ $ x_{22} $ $ \dots $ $ x_{2p} $
$ \vdots $ $ \vdots $ $ \vdots $ $ \ddots $ $ \vdots $
$ y_{n} $ $ x_{n1} $ $ x_{n2} $ $ \dots $ $ x_{np} $

Hypotheses: ε is a random variable such that:

$$E[\varepsilon]=0~{e}~Var[\varepsilon]=\sigma^{2}$$

Let us consider the model,

$$y_{i}=\beta_{0}+\beta_{1}x_{i1}+\beta_{2}x_{i2}+…+\beta_{p}x_{ip}+\varepsilon_{i}=\sum^{p}_{j=1}\beta_{j}x_{ij} + \varepsilon_{i}~~(3.1.3.1)$$

Also, we assume that the experimental errors εi are uncorrelated, have zero mean and constant variance.

The least squares method determines values ​​of the β’s of equation (3.1.3.1), for which the sum of the squares of the errors εi is minimized. As we can see in the Regression Analysis book in chapter 2.3 Estimation of Model Parameters, the β’s estimators are given by:

Screenshot_4

This system of equations is solved by an appropriate method that uses matrix notation. The regression model can be written in the following matrix form

$$Y = X \beta + \varepsilon$$

where

Screenshot_5

Following this notation, β estimators must satisfy

$$\widehat{\beta}=(X^\prime X)^{-1} X^\prime Y$$

and the adjusted linear regression model and the residual vector are, respectively:

$$\widehat{Y}=X\widehat{\beta} \quad \hbox{e} \quad \varepsilon=Y-\widehat{Y}.$$

Example 3.1.3.1

A 22 factorial experiment can be represented as shown in the table below

Y I X1 X2 X1 x X2
0 1 -1 -1 +1
to 1 +1 -1 -1
b 1 -1 +1 -1
ab 1 +1 +1 +1

Matrix-wise, we can express the model as follows:

$$\mathbf{Y}=X\beta+\varepsilon$$

where

Screenshot_8

for all i = 1, …, n.

So we have:

Screenshot_9

Note that the estimators $ \widehat{\beta}_1,~\widehat{\beta}_2,~\widehat{\beta}_3 $ correspond to the effect of factor A divided by 2, effect of factor B divided by 2 and effect of interaction AB divided by 2, respectively.

Example 3.1.3.2

Calculate the model coefficients.

A B AB Y1 Y2 Y3 $ \overline{ Y} $ Treatment
-1 -1 +1 28 25 27 26,67 (0)
+1 -1 -1 36 32 32 33,33 to
-1 +1 -1 18 19 23 20,00 b
+1 +1 +1 31 30 29 30,00 ab

$$Média~Geral: \quad \widehat{\beta_0}=(26,67+33,33+20+30)/4=27,50$$

$$Efeito~de~A: \quad \widehat{\beta_1}=(-26,67+33,33-20+30)/4=4,17$$

$$Efeito~de~B: \quad \widehat{\beta_2}=(-26,67-33,33+20+30)/4=-2,50$$

$$Efeito~de~AB: \quad \widehat{\beta_3}=(26,67-33,33-20+30)/4=0,84$$

In this way, the adjusted model is

Screenshot_10

Properties of least squares estimators

We have to

Screenshot_11

Tests on individual parameters

These tests are very important to verify the influence of each variable in the model. For example, the model can be made more efficient by including other variables or by excluding variables that are in the model. The hypotheses are defined by:

Screenshot_6

If the hypothesis $ H_0 $ is true, the independent variable $ X_j $ can be removed from the model. The test statistic is given by

$$t_{0}=\cfrac{\displaystyle \widehat{\beta}_{j}}{\displaystyle \sqrt{\widehat{\sigma}^{2}C_{jj}}}$$

where $ C_{jj} $ is an element on the diagonal of the matrix $ (X^\prime X)^{-1} $ corresponding to $ \widehat{\beta}_j $.

The test criteria are given below:

  • We reject $ H_0 $ if $ \mid t_0 \mid> t_{(\alpha/2, n-k-1)} $;
  • Otherwise we do not reject the null hypothesis.
  • The P-value is given by

$$2*P\left[~t_{n-k-1}> \mid t_0 \mid ~\displaystyle/~H_0~\right]$$

Example 3.1.3.3

Consider again the data from Example 3.1.1,

a) Obtain estimates of the model parameters;

b) Carry out hypothesis tests to analyze the significance of the parameters.

Treatment $ A $ $ B $ $ Y_1 $ $ Y_2 $ $ Y_3 $ $ \overline{Y} $
(0) -1 -1 26,6(1) 22,0(7) 22,8(10) 23,8
(a) +1 -1 40,9(4) 36,4(9) 36,7(12) 38
(b) -1 +1 11,8(3) 15,9(8) 14,3(11) 14
(ab) +1 +1 34,0(2) 29,0(5) 33,6(6) 32,2

The model, in matrix form, is $ Y=\mathbf{X}\beta+\varepsilon, $ with

Screenshot_12

Screenshot_13

Screenshot_14

Therefore

$$\widehat{\beta_0}=27$$

$$\widehat{\beta_1}=\displaystyle\frac{{efeito~de~A}}{2}=8,1$$

$$\widehat{\beta_2}=\displaystyle\frac{{efeito~de~B}}{2}=-3,9$$

$$\widehat{\beta_3}=\displaystyle\frac{{efeito~de~AB}}{2}=1$$

The effects of factors and interaction were already seen in Example 1.1.1, and are:

$$A=16,2~~{ e }~~B=-7,8~~{ e }~~AB=2.$$

as we had previously obtained in Example 3.1.1.

The fitted model is

$$\widehat{Y} = 27 + 8,1 X_{i} -3,9 X_{j} + 1 X_{i}X_{j}.$$

where

  • $ x_i $ takes on a value of -1 or 1, depending on the level of factor A
  • $ x_j $ assumes value -1 or 1, depending on the level of factor B
  • $ x_{ij}=x_{i}x_j $.

Significance tests for parameters $ \beta_1, \beta_2, \beta_3. $

Screenshot_7

Test Statistics

$$t_{0}=\cfrac{\displaystyle \widehat{\beta}_{j}}{\displaystyle \sqrt{\widehat{\sigma}^{2}C_{jj}}}$$

where $ C_{jj} $ is the element of the matrix $ (X^\prime X)^{-1} $ corresponding to $ \widehat{\beta}_j $.

The matrix $ X^\prime X $ in this case it is given by

Screenshot_15

i.e.

$$C_{11}=C_{22}=C_{33}=\cfrac{1}{12}=0,0833$$

and

$$\widehat{\sigma}^2=\displaystyle\cfrac{SQ_E}{n-k-1}$$

,

where $ SQ_E=\mathbf{Y}^\prime\mathbf{Y}-\beta^\prime X^\prime \mathbf{Y}=9778,56-9729,84=48,72. $

So,

$$\widehat{\sigma}^2=\cfrac{SQ_E}{n-k-1}=\frac{48,72}{12-3-1}=6,09,$$

Calculate statistical values for model parameters

For $ \beta_1 $:

$ t_0=\cfrac{8,1}{\sqrt{6,09*0,0833}}=\cfrac{8,1}{\sqrt{0,507297}}=\cfrac{8,1}{0,7122479}=11,37 $

For $ \beta_2 $:

$ t_0=\cfrac{-3,9}{\sqrt{6,09*0,0833}}=\cfrac{-3,9}{\sqrt{0,507297}}=\cfrac{-3,9}{0,7122479}=-5,47 $

For $ \beta_3 $:

$ t_0=\cfrac{1}{\sqrt{6,09*0,0833}}=\cfrac{1}{\sqrt{0,507297}}=\cfrac{1}{0,7122479}=1,4 $

Building a table with the values above and the p-values we have

Term Effect Regression Coefficient Standard Deviation T P-value
Overall Average 27 0,7124 37,9 0
A 16,2 8,1 0,7124 11,37 0
B -7,8 -3,9 0,7124 -5,47 0,0005
A*B 2 1 0,7124 1,4 0,198

The test criterion is given by:

  • We reject $ H_0 $ if $ |t_0| > t_{\alpha/2,n-k-1} $;
  • Otherwise we do not reject the null hypothesis.

The value of $ t_{0,025;12-3-1}= 2,306 $ and thus we conclude that, with level α = 5%, that factors A and B are significant and the interaction AB is not significant. It is enough to see that the regression coefficients of A and B are respectively 8.1 and -3.9 and as we are interested in obtaining the smallest response (shortest reaction time), we choose levels A-B+.

AnaliExp2

19.3.2 2^3 Factorial Experiments

Example 3.2.1

Consider the process of gluing an integrated circuit to a base.

cola_0

In this case we will have:

Screenshot_16

The experiment data are presented in the following table. The numbers in parentheses represent the order of races:

Treatment A B C $ Y_1 $ $ Y_2 $ $ \overline{Y} $
(0) -1 -1 -1 82,9 (1) 88,6 (7) 85,75
to +1 -1 -1 95,0 (6) 96,4(13) 95,7
b -1 +1 -1 80,0 (2) 78,6 (14) 79,3
c -1 -1 +1 93,1 (3) 94,7 (7) 93,9
ab +1 +1 -1 105,0 (8) 103,6 (10) 104,3
ac +1 -1 +1 104,0 (9) 101,2 (16) 102,6
bc -1 +1 +1 89,7 (5) 86,9 (15) 88,3
abc +1 +1 +1 114,0 (11) 111,8 (12) 112,9

19.3.2.1 Graphical analysis

Graph of averages for glue strength.

cubo

Figure 3.2.1.1: Average values ​​for gluing for 2 levels of A (type of glue), B (base material) and C (curing time).

int2_0

Figure 3.2.1.2: Effects of interactions between factors $ A $ (glue type), $ B $ (base material) and $ C $ (healing time).

eprinc3

eprinc1

Figure 3.2.1.3: Main effects between factors $ A $ (glue type), $ B $ (base material) and $ C $ (healing time).

19.3.2.2 Calculation of effects

You can calculate the main effects of factors and interactions by direct calculations, as follows, or by using the linear model.

$$A=\overline{Y_{A+}}-\overline{Y_{A-}}=\frac{a+ab+ac+abc}{4n}-\frac{(0)+b+c+bc}{4n}$$

$$B=\overline{Y_{B+}}-\overline{Y_{B-}}=\frac{b+ab+bc+abc}{4n}-\frac{(0)+a+c+ac}{4n}$$

$$C=\overline{Y_{C+}}-\overline{Y_{C-}}=\frac{c+ac+bc+abc}{4n}-\frac{(0)+a+b+ab}{4n}$$

$$AB=\frac{(0)+c+ab+abc}{4n}-\frac{a+b+ac+bc}{4n}$$

$$AC=\frac{(0)+b+ac+abc}{4n}-\frac{a+c+ab+bc}{4n}$$

$$BC=\frac{(0)+a+bc+abc}{4n}-\frac{b+c+ab+ac}{4n}$$

$$ABC=\frac{a+b+c+abc}{4n}-\frac{(0)+ab+ac+bc}{4n}$$

Example 3.2.2.1

Considering the following table (Example 3.2.1), calculate the main effects.

Treatment $ A $ $ B $ $ C $ $ AB $ $ AC $ $ BC $ $ ABC $ $ Y_1 $ $ Y_2 $ $ \overline{Y} $
0 -1 -1 -1 1 1 1 -1 82,90 88,60 85,75
to 1 -1 -1 -1 -1 1 1 95 96,40 95,70
b -1 1 -1 -1 1 -1 1 80 78,60 79,30
c -1 -1 1 1 -1 -1 1 93,10 94,70 93,90
ab 1 1 -1 1 -1 -1 -1 105 103,60 104,30
ac 1 -1 1 -1 1 -1 -1 104 101,20 102,60
bc -1 1 1 -1 -1 1 -1 89,70 86,90 88,30
abc 1 1 1 1 1 1 1 114 111,80 112,90

$$A=\frac{95+105+\ldots+111,8}{8}-\frac{82,9+80+\ldots+86,9}{8}=103,875-86,8125=17,0625$$

$$B=\frac{80+78,6+\ldots+111,8}{8}-\frac{82,9+88,6+\ldots+101,2}{8}= 96,20-94,4875=1,7125$$

$$C=\frac{93,1+94,7+\ldots+111,8}{8}-\frac{82,9+88,6+\ldots+103,6}{8}=99,425-91,2625=8,1625$$

$$AB=\frac{82,9+88,6+\ldots+111,8}{8}-\frac{95+96,4+\ldots+86,9}{8}= 99,2125+91,475=7,7375$$

$$AC=\frac{82,9+88,6+\ldots+ 111,8}{8}-\frac{95+96,4+\ldots+86,9}{8}=95,1375-95,55=-0,4125$$

$$BC=\frac{82,9+88,6+\ldots+111,8}{8}-\frac{80+78,6+\ldots+101,2}{8}=95,6625-95,025=0,6375$$

$$ABC=\frac{95+96,4+\ldots+111,8}{8}-\frac{82,9+88,6+\ldots+86,9}{8}=95,45-95,2375=0,2125$$

Results obtained by the Action software

efeitos

19.3.2.3 Linear Model

Another way to calculate the main effects is using the regression model:

Calculation of main effects using linear model:

$$Y=\beta_0+\beta_1 x_1+\beta_2x_2+\beta_3 x_3+\beta_{12}x_1x_2+\beta_{13}x_1x_3+ \beta_{23}x_2x_3+\beta_{123}x_1x_2x_3+\varepsilon,~~(3.2.1)$$

a) $ x_{1} $, $ x_{2} $ and $ x_{3} $ are variables corresponding to factors A, B and C;

b) The regression coefficients are $ \beta_{0} $, $ \beta_{1} $, $ \beta_{2} $, $ \beta_{3} $, $ \beta_{12} $, $ \beta_{13} $, $ \beta_{23} $ and $ \beta_{123} $;

c) ε is a random error component involved in the model (experimental error).

For the data in Example 3.2.1, obtain the linear model parameter estimates.

In matrix form, we have:

$$Y=X\beta+\varepsilon$$

with

Screenshot_17

Screenshot_18

We can estimate $ \beta $ using

Screenshot_19

This way we can obtain the effects of factors and interactions, which is twice the corresponding regression coefficient, that is, $ A=17,0625 $, $ B=1,7125 $, $ C=8,1625 $, $ AB=7,7375 $, $ AC=-0,4125 $, $ BC=0,6375 $ and $ ABC=0,2125 $.

Results obtained by the Action software

coef

19.3.2.4 ANOVA Table

Another way to analyze the effects of factors and interactions is through the ANOVA table.

In a factorial experiment $ 2^3 $, the general form of this table is obtained considering $ y_{ijkl} $ the lth observation at level i of A, j of B and k of C. In general, i = 1, …, a; j = 1, …, b; k = 1, …, c; l = 1, …, r; where a, b and c are the number of levels of A, B and C, respectively and r is the number of replicates of the experiment.

For the case of the experiment $ 2^3 $ we have 2 levels for each factor, thus, a = b = c = 2.

Furthermore, we must consider that:

  • $ y_{i\cdot\cdot\cdot}=\displaystyle\sum_{j=1}^{b}\sum_{k=1}^{c}\sum_{l=1}^{r}y_{ijkl} $ is the sum of all observations at level i of A and $ \overline{y_{i\cdot\cdot\cdot}}=\displaystyle\cfrac{y_{i\cdot\cdot\cdot}}{bcr} $ is the average of these observations, to $ i=1,\ldots,a $

Similarly,

  • $ y_{\cdot j\cdot\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{k=1}^{c}\sum_{l=1}^{r}y_{ijkl} $and $ \overline{y_{\cdot j\cdot\cdot}}=\displaystyle\cfrac{\displaystyle y_{\cdot j\cdot\cdot}}{acr} $, for $ j=1,\ldots,b $
  • $ y_{\cdot \cdot k\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{l=1}^{r}y_{ijkl} $ and $ \overline{y_{\cdot \cdot k\cdot}}=\displaystyle\cfrac{\displaystyle y_{\cdot \cdot k\cdot}}{abr} $, for $ k=1,\ldots,c $
  • $ y_{ij\cdot\cdot}=\displaystyle\sum_{k=1}^{c}\sum_{l=1}^{r}y_{ijkl} $ is the sum of all observations that have level i of A and j of B (at the same time) and $ \overline{y_{i\cdot\cdot}}=\displaystyle\cfrac{y_{i j \cdot\cdot}}{cr} $ is the average of these observations, to $ i=1,\ldots,a;j=1,\ldots,b $

Similarly,

  • $ y_{i \cdot k\cdot}=\displaystyle\sum_{j=1}^{b}\sum_{l=1}^{r}y_{ijkl} $ and $ \overline{y_{i \cdot k\cdot}}\displaystyle\cfrac{y_{i \cdot k \cdot}}{br} $, for $ i=1,\ldots,a;k=1,\ldots,c $
  • $ y_{\cdot j k\cdot}=\displaystyle\sum_{i=1}^{a} \sum_{l=1}^{r} y_{ijkl} $ and $ \overline{y_{\cdot j k\cdot}}=\displaystyle\cfrac{y_{\cdot j k\cdot}}{ar} $, for $ j=1,\ldots,b;k=1,\ldots,c $
  • $ y_{i j k\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c} y_{ijkl} $ is the sum of all observations that have level $ i $ of $ A $, $ j $ of $ B $ and $ k $ of $ C $ (at the same time) and $ \overline{y_{i j k\cdot}}=\displaystyle\frac{y_{i j k\cdot}}{abc} $ is the average of these observations, to $ i=1,\ldots,a;j=1,\ldots,b;k=1,\ldots,c $
  • $ y_{\cdot\cdot\cdot\cdot}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c} \sum_{l=1}^{r} y_{ijkl} $ is the sum of all observations and $ \overline{Y_{\cdot\cdot\cdot\cdot}}=\displaystyle\cfrac{Y_{\cdot\cdot\cdot\cdot}}{abcr} $ is the general average of the observations.

In this way, we have the sums of squares of the main effects

$$SQ_A=\displaystyle\cfrac{1}{bcr}\displaystyle\sum_{i=1}^{a}y_{i\cdot\cdot\cdot}^2-\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}$$

$$SQ_B=\displaystyle\cfrac{1}{acr}\displaystyle\sum_{j=1}^{b}y_{\cdot j\cdot\cdot}^2- \cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}$$

$$SQ_C=\displaystyle\cfrac{1}{abr}\displaystyle\sum_{k=1}^{c}y_{\cdot\cdot\cdot}^2- \cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}$$

The sums of squares of the effects of interactions

$$SQ_{AB}=\displaystyle\cfrac{1}{cr}\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}y_{ij\cdot\cdot}^2-\displaystyle\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}-SQ_A-SQ_B$$

$$SQ_{AC}=\displaystyle\cfrac{1}{br}\displaystyle\sum_{i=1}^{a}\sum_{k=1}^{c}y_{i\cdot k\cdot}^2-\displaystyle\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}-SQ_A-SQ_C$$

$$SQ_{BC}=\displaystyle\cfrac{1}{ar}\displaystyle\sum_{j=1}^{b}\sum_{k=1}^{c}y_{\cdot j k\cdot}^2-\displaystyle\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}-SQ_B-SQ_C$$

$$SQ_{ABC}=\displaystyle\cfrac{1}{r}\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c}y_{ijk\cdot}^2-\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}-SQ_A-SQ_B-SQ_C-SQ_{AB}-SQ_{AC}-SQ_{BC}$$

The Total Sum of Squares is given by

$$SQ_{T}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c}\sum_{l=1}^{r}y_{i j k l}^2-\displaystyle\cfrac{y_{\cdot\cdot\cdot\cdot}^2}{abcr}$$

and finally, the Sum of Squares of the Errors

$$SQ_{E}=\displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c}\sum_{l=1}^{r}y_{i j k l}^2-\cfrac{1}{r} \displaystyle\sum_{i=1}^{a}\sum_{j=1}^{b}\sum_{k=1}^{c}y_{i j k \cdot}^2.$$

Source of Variation Sum of Squares Degrees of Freedom Medium Squares F-statistic
$ A $ $ SQ_A $ $ a-1 $ $ QM_A=\displaystyle\frac{SQ_A}{a-1} $ $ \displaystyle\frac{QM_A}{QM_E} $
$ B $ $ SQ_B $ $ b-1 $ $ QM_B=\displaystyle\frac{SQ_B}{b-1} $ $ \displaystyle\frac{QM_B}{QM_E} $
$ C $ $ SQ_C $ $ c-1 $ $ QM_C=\displaystyle\frac{SQ_C}{c-1} $ $ \displaystyle\frac{QM_C}{QM_E} $
$ AB $ $ SQ_{AB} $ $ (a-1)(b-1) $ $ QM_{AB}=\displaystyle\frac{SQ_{AB}}{(a-1)(b-1)} $ $ \displaystyle\frac{QM_{AB}}{QM_E} $
$ AC $ $ SQ_{AC} $ $ (a-1)(c-1) $ $ QM_{AC}=\displaystyle\frac{SQ_{AC}}{(a-1)(c-1)} $ $ \displaystyle\frac{QM_{AC}}{QM_E} $
$ BC $ $ SQ_{BC} $ $ (b-1)(c-1) $ $ QM_{BC}=\displaystyle\frac{SQ_{BC}}{(b-1)(c-1)} $ $ \displaystyle\frac{QM_{BC}}{QM_E} $
$ ABC $ $ SQ_{ABC} $ $ (a-1)(b-1)(c-1) $ $ QM_{ABC}=\displaystyle\frac{SQ_{ABC}}{(a-1)(b-1)(c-1)} $ $ \displaystyle\frac{QM_{ABC}}{QM_E} $
$ Erro $ $ SQ_{E} $ $ abc(r-1) $ $ QM_{E}=\displaystyle\frac{SQ_{E}}{abc(r-1)} $
$ Total $ $ SQ_{T} $ $ abcr-1 $

Table 3.2.4.1: Analysis of Variance Table for Factorial Experiments of the type $ 2^3 $.

For more information, see the ANOVA module.

Example 3.2.4.1

Perform variance analysis and statistical test calculations to

Source of Variation Sum of Squares Degrees of Freedom Medium Square F-statistic P-value
A 1164,52 1 1164,52 303,21 0,000
B 11,73 1 11,73 3,05 0,119
C 266,51 1 266,51 69,39 0,000
AB 239,48 1 239,48 62,35 0,000
AC 0,68 1 0,68 0,18 0,685
B.C. 1,63 1 1,63 0,42 0,534
ABC 0,18 1 0,18 0,05 0,834
Error 30,72 8 3,84
Total 1715,44 15

Remembering: A is the type of glue, B is the base material, C is the curing time.

As the p values ​​for A, C and AB are less than α = 5%, these factors are significant, but factor B is not significant, as noted in the main effects graphs.

Calculate test values for parameters $β_1, β_2, β_3, β_{12}, β_{13}, β_{23}, β_{123}$, obtained in Example 3.2.1.

Screenshot_20

Conclusions:

  • Factors A, C and AB are significant, but B is not;
  • A’s regression coefficient is larger, in modulus, than that of AB, so we can only look at the levels of A and C;
  • As the regression coefficients of both are positive, we conclude that A and C are better at level +1; and
  • Since B is not significant, it is better to keep the current level -1. Therefore the best configuration would be A+, B-, C+.

Results obtained by the Action software

anova1

19.3.3 Factorial Experiments without Replicas

In some situations, the number of combinations of experiment factors (treatments) is large. In these cases, resources may only be available for a single execution of the project, that is, the experiment will not have replicas.

An obvious risk when conducting an experiment without replications is that the fitted model may lead to wrong conclusions. Furthermore, in this case there is no internal error estimate (pure error).

There are some methods to treat these experiments, among them we mention the methods of Lenth and Daniel, which are objective methods for deciding which effects are significant in the analysis of experiments without replications, in situations where the model is saturated and thus, there are no degrees of freedom to estimate the error variance. Consequently, a method for estimating a quantity similar to the standard error, called pseudo standard error or PSE, is proposed.

19.3.3.1 Normal and Half-Normal Probability Graph

The use of normal and half-normal probability graphs to identify possibly active effects (non-zero effects from a statistical point of view). In the study of factorial experiments without replications, Cuthbert Daniel (1959) proposed a method that evaluates these active effects. Daniel’s idea is widely used to this day because it is simple and can point to the correct direction of effects in most experiments.

The effective application of these graphs depends on the fact that the effect estimates have the same variance, and the points where we have “sparse effects” are detected by the method. According to Daniel, we expect that only a small fraction of the contrasts will be active among all those involved in the study. In these graphs, effects whose points are clearly far from an imaginary straight line, formed by the point cloud, will be judged active.

Be $ \hat{c_1},\hat{c_2},\dots,\hat{c_n} $, the $ n $ estimated effects. Denote by $ \hat{c_{(i)}}, $ the i-th of $ n $ ordered effects, $ \hat{c_{(1)}},\hat{c_{(2)}},\dots,\hat{c}_{(n)} $. In this way, the normal probability graph can be obtained by arranging the points on a graph whose coordinates $ (x,y) $ are given by

$$\left(\hat{c}_{(i)},\Phi^{-1}\left[\frac{(i-0,5)}{n}\right]\right)$$

in which $ \Phi^{-1}(.) $ is the cumulative distribution function of the standard normal. Some authors comment on the preference of using the half-normal graph instead of the normal probability graph. According to them, one of the advantages of using half-normal is the fact that the possibly active effects will appear in the upper right corner of the graph. The half-normal probability graph is obtained by marking the points whose coordinates $ (x,y) $ are given by

$$\left(|\hat{c}_{(i)}|,\Phi^{-1}\left[0,5+\frac{(i-0,5)}{n}\right]\right)$$

Example 3.3.1

A certain chemical is produced in a pressure vessel. With the aim of studying which factors influence the product’s filtration rate (Y), a factorial experiment was carried out in which 4 factors were considered: A (temperature), B (pressure), C (formaldehyde concentration) and D (agitation speed). Each factor is observed at two levels. Table 3.3.1.1 shows the planning matrix and data response, considering an experiment without replications.

Treatment $ A $ $ B $ $ C $ $ D $ $ Y $
0 -1 -1 -1 -1 45
to 1 -1 -1 -1 71
b -1 1 -1 -1 48
ab 1 1 -1 -1 65
c -1 -1 1 -1 68
ac 1 -1 1 -1 60
bc -1 1 1 -1 80
abc 1 1 1 -1 65
d -1 -1 -1 1 43
ad 1 -1 -1 1 100
bd -1 1 -1 1 45
abd 1 1 -1 1 104
CD -1 -1 1 1 75
acd 1 -1 1 1 86
bcd -1 1 1 1 70
abcd 1 1 1 1 96

Table 3.3.1.1: Experiment - Product filtration rate.

First, let’s calculate the points on the graph. After calculating the estimated effects $ \hat{c_i} $ then we calculate $ (i-0,5)/n. $ After this step, we calculate the quantiles of the standard normal $ \Phi^{-1}\left[\frac{(i-0,5)}{n}\right]. $ Finally, we order the estimated effects in module $ |\hat{c}_{(i)}|. $

Observe the results in the following table.

i $ \hat{c}_i $ $ \dfrac{i-0,5}{n} $ $ \Phi^{-1}\left[\frac{(i-0,5)}{n}\right] $ $ \hat{c}_{(i)} $
1 21,625 0,033333 -1,83391 0,125
2 3,125 0,1 -1,28155 0,375
3 9,875 0,166667 -0,96742 1,125
4 14,625 0,233333 -0,72791 1,375
5 0,125 0,3 -0,5244 1,625
6 -18,125 0,366667 -0,34069 1,875
7 2,375 0,433333 -0,16789 2,375
8 16,625 0,5 0 2,625
9 -0,375 0,566667 0,167894 3,125
10 -1,125 0,633333 0,340695 4,125
11 1,875 0,7 0,524401 9,875
12 4,125 0,766667 0,727913 14,625
13 -1,625 0,833333 0,967422 16,625
14 -2,625 0,9 1,281552 18,125
15 1,375 0,966667 1,833915 21,625

As previously mentioned, we plot a coordinate graph:

$$\left(|\hat{c}_{(i)}|,\Phi^{-1}\left[\frac{(i-0,5)}{n}\right]\right)$$

Screenshot_26

Now, for the two percentiles we calculate the quantile indices

$ j_k=1+(n-1)*\text{percentis},\quad k=1,2 $

With this, we have

$$j_1=1+(15-1)*0,25=4,5\quad \text{e}\quad j_2=1+(15-1)*0,75=11,5$$

Since the indices are integers, we will truncate the previous indices:

$$l_1=4\quad \text{e}\quad l_2=11$$

Also, we take the largest integers of the indices $ j_k $ for $ k=1,2 $

$$h_1=[j_1]=5\quad\text{e}\quad h_2=[j_2]=12$$

and we calculate $ w_k=j_k–l_k,\quad k=1,2, $ and we get

$$w_1=4,5-4=0,5\quad\text{e}\quad w_2=11,5-11=0,5$$

Another important piece of information is the initial quantiles

$ q_0=\hat{c}_{(i)}[l_k]=(-1,125\quad 4,125)^T $

Therefore, we obtain the empirical quantiles

Screenshot_25

Calculated $ q_s $ and the quantiles of the standard normal, we calculate the angular coefficient of the straight line, for this we use the formula $ y-y_0=m*(x-x_0) $

$$m=\dfrac{\Phi^{-1}(0,75)-\Phi^{-1}(0,25)}{7-(-0,75)}=0,2632155$$

and the intercept is zero.

Therefore, we obtain the graph on the right below. It’s worth remembering that the one on the left is the classic QQ-Plot.

(image missing)

Figure 3.3.1.1: Paper graph of normal and half-normal probability (Daniel Plot).

19.3.3.2 Lenth method

Lenth’s method has been considered by many authors in the literature as a very efficient method when working with the analysis of factorial experiments without replications. One point for analyzing these experiments is the study of a large number of contrasts and that the estimates of these contrasts have the same variability. Lenth’s method, like Daniel’s, assumes that we have only a few “sparse effects” (dispersed effects), which the author treats as active effects (different from zero), that is, effects that are significantly non-zero from a statistical point of view.

Consider a two-level factorial experiment and assume that there are $ m $$ k_1,k_2,\dots,k_m $ contrasts $ c_1,c_2,\dots,c_m $ or independent estimated effects and that they have the same variance, denoted by $ \tau^2 $ with Normal distribution $ N(k_i,\sigma^2). $ Being $ N $ the number of observations, for example, we have to $ m=N-1 $ in the case of a saturated model. In this way, we have that each estimated contrast or effect is given by

$$c=\overline{y_{+}}-\overline{y_{-}},$$

being that $ \overline{y_{+}} $ is the average of $ N/2 $ observations at the “high” level of the factor in question and $ \overline{y_{-}} $ is the average of $ N/2 $ observations at the “low” level. As already mentioned, each contrast has the same variance $ \tau^2=4 \sigma^2/N $, in which $ \sigma^2 $ is the error variance.

Be $ c_{1}, c_{2}, …, c_{m} $ the estimated contrasts or effects, with $ m=N-1 $. Initially, we calculate the amount

$$s_{0}=1,5 \times \text{mediana} (|c_{j}|)\quad j=1,\dots,m.$$

Then, we calculate the pseudo standard error (PSE) as being

$$ PSE = 1,5 \times \text{mediana}(|c_{j}|:|c_{j}|\leq2,5 s_{0})\quad j=1,\dots,m, $$

where the PSE term is an estimator for $ \tau^2. $ We notice that $ s_0 $ and $ PSE $ are quite similar, with a small difference in the median $ PSE, $ which is more restricted. This restriction is due to active points and is described in the article Russel Lenth (1989), which is done to obtain consistent estimates for $ \tau. $

Regarding the decision criterion of which effects are significant, we define a margin of error for the contrasts $ c_{i} $, denoted by ME. The value of the margin of error is given by

$$ME = t_{(1-\frac{\alpha}{2};d)} \times PSE,$$

being that $ t_{(1-\frac{\alpha}{2};d)} $ is the quantile $ (1-\frac{\alpha}{2}) $ from the t-student distribution with $ d $ degrees of freedom and $ \alpha $ is the level of significance adopted. (Generally, we use $ d=m/3 $ and $ \alpha=0,05 $). Thus, we have that ME is a margin of error for $ c_i $ with approximate confidence $ 95(porcentagem) $. Contrasts that exceed the ME value in absolute value are considered significant with a significance level of $ 95(porcentagem) $, for example.

However, when there are a large number of contrasts $ m $, we expect one or two non-significant contrast estimates to exceed the ME value, leading to a false conclusion. Therefore, in order to deal with these cases, a simultaneous margin of error is defined, which will be denoted by SME. This measure is calculated by multiplying the PSE pseudo standard error by a factor $ t_{\gamma;d} $. In fact,

$$SME = t_{\gamma;d} \times PSE,$$

in which

$$\gamma=(1+0,95^{1/m})/2.$$

The constant $ \gamma $ comes from the fact that the estimates of the contrasts are independent. It is usual to construct a graph to display the information calculated here. To do this, we constructed a bar graph showing the absolute values ​​of the estimated contrasts or estimated effects and added reference lines with the ME and SME values. Contrasts whose bars extend the SME line are considered active. Those whose bars do not extend the ME reference line are considered inactive. Contrasts whose bars are between the ME and SME reference lines require greater care in the decision. The region between the ME and SME lines is called the region of uncertainty and a good argument is needed to decide whether the contrast(s) are significant or not.

Criteria for evaluating effects

  • Confidence Interval

The effect is acceptable at the significance level $ \alpha $ if the effect belongs to the confidence interval $ (1-\alpha )\times $ 100% with limits:

  • $ LI=\hat{c}_j-ME,\quad \text{Limite Inferior} $
  • $ LS=\hat{c}_j+ME,\quad \text{Limite Superior}\quad j=1,\dots,m $
  • Hypothesis Testing:

Another way to evaluate the effects is through hypothesis testing:

Screenshot_24

To do this, we calculate the Lenth statistic, given by:

$$T_{L_j}=\frac{|\hat{c}_j|}{PSE}\sim t_{(d)},\quad j=1,\dots,k$$

being $ PSE $ the pseudo standard error, $ d $ the number of contrasts divided by 3 and $ t_{(d)} $ the t-Student distribution with $ d $ degrees of freedom. Therefore, we obtain the following decision rule for a significance level $ \alpha. $

  • Se $ |T_{L_j}| > t_{(d;1-\alpha/2)} $ we reject $ H_0, $ that is, the effect is statistically significant;
  • Se $ |T_{L_j}| \leq t_{(d;1-\alpha/2)} $ we do not reject $ H_0, $ that is, the effect is not statistically significant.
  • P-value:

represents the lowest level of significance for which we reject $ H_0 $. Therefore, for a significance level = 0.05 adopted, we reject $ H_0 $ if the P-value obtained is less than 0.05, while we do not reject $ H_0 $ if the P-value is greater than 0.05. For the t-test, the P-value is calculated in the form

$$\text{p-valor}=2\times P[t_d>|T_{L_j}|~|~H_0]$$

Therefore, we reject $ H_0 $ when the p-value is lower than the significance level $ \alpha $ proposed (usually 0.05), otherwise (p-value > $ \alpha $) we do not reject $ H_0. $

Example 3.3.2

Considering the data from Example 3.3.1 in which the objective is to study which factors influence the product’s filtration rate (Y) and using Table 3.3.1.1, estimates of the effects (main effects) are calculated by direct calculations or using the linear model, as seen in Section 19.3.2.2. Effect estimates are given in Table 3.3.2.1.

Term Estimation of Effects
A 21,625
B 3,125
C 9,875
D 14,625
AB 0,125
AC -18,125
AD 16,625
B.C. 2,375
BD -0,375
CD -1,125
ABC 1,875
ABD 4,125
ACD -1,625
BCD -2,625
ABCD 1,375

Table 3.3.2.1: Estimates of factor effects.

Using the values ​​in Table 3.3.1.2, we calculated the PSE, ME and SME values. In fact,

$$s_{0}=1,5 \times \text{mediana} (21,625; 3,125; …; 2,625; 1,375) =3,938.$$

In this way, we have to

$$ PSE = 1,5 \times \text{mediana}(|c_{j}|:|c_{j}|\leq2,5 s_{0}) = 1,5 \times \text{mediana} (|c_{j}|: |c_{j}|\leq9,844) = 2,625. $$

Adopting $ \alpha=0,05 $ and $ m=15 $, we have to $ d=5 $. Then, $ t_{(0,975;5)}=2,571 $, $ \gamma=(1+0,95^{1/15})/2=0,998 $ and consequently, $ t_{0,998;5}=5,219 $. Therefore, it follows that the margin of error ME and the simultaneous margin of error SME are given by

$$SME = 13,699 \ \hbox{e} \ ME = 6,748.$$

Let’s adopt effect A to calculate the confidence interval and the t-statistic. Thus, the confidence interval is given by:

$$LI=\hat{c}_j-ME=21,625-6,748$$

$$LS=\hat{c}_j+ME=21,625+6,748$$

And the test statistics:

$$T_{L_j}=\frac{|\hat{c}_j|}{PSE}=\frac{21,625}{2,625}=8,238$$

Therefore, the p-value is given by:

$$\text{p-valor}=2\times P[t_d>|T_{L_j}|~|~H_0]=2\times P[t_d>|8,238|~|~H_0]=0,0002$$

Results of this example obtained with the Action software:

(image missing)

(image missing)

Table 3.3.2.2: Analysis of the experiment without replicates

(image missing)

Figure 3.3.2.1: Graph of effects using the Lenth method.

Therefore, from the results obtained, we have that the factors A, C, D, A:C and A:D are significant.

19.3.3.3 Youden Experiment

The study of robustness is generally part of method development. If it is not studied during the development of the method, there is a need to carry out such a study. According to INMETRO, robustness measures the sensitivity it presents to small variations in experimental conditions that can be expressed as a list of sample materials, analytes, storage, environmental and/or sample conditions, preparation conditions in which the method can be applied or presented, subject to small modifications. For all experimental conditions that may, in practice, be subject to variations (e.g. stability of reagents, sample composition) any changes may affect the analytical result and this must be indicated.

For example, the robustness of a chromatographic method is assessed by varying parameters such as organic solvent concentration, pH and ionic strength of the mobile phase in HPLC, as well as extraction time, agitation, etc. The changes introduced reflect changes that may occur when a method is transferred to other laboratories, analysts or equipment. Aiming at these changes, INMETRO recommends the Youden test, which allows evaluating whether changes in the method have significant differences. Another point that can be evaluated in this method is that we can determine whether a combination of influences can cause significant differences in the final results. In this method, eight tests are carried out separately, aiming to determine which effects of the different steps in the analytical procedure affect the result. The planning table using the Youden method is given by:

Screenshot_21

Table 3.3.1: Experimental planning to evaluate robustness using the Youden method.

In each analytical parameter in table (3.3.1), we define the high level (capital letter) as $ (+) $ and the low level (lowercase letter) as $ (-). $ Thus, we obtain table (3.3.2).

Screenshot_22

Table 3.3.2: Experimental planning to evaluate robustness using the recoded Youden method.

To analyze Youden’s experiment, first the effects for each analytical parameter are calculated, then we use Lenth’s method to assess whether the active effects are significant. Let’s apply these concepts in the following example taken from the article by Isabela C. and Pianete.

Example 3.3.2

With the objective of evaluating the robustness of the chromatographic method for the quantification of lumefantrine, in Youden’s experiment, and determining analytical parameters that have the greatest influence on the final results of the analysis. Seven analytical parameters were selected and small variations were induced in the nominal values ​​of the method.

Screenshot_23

Table 3.3.3: Analytical parameters.

Using Youden’s experiment we obtain the following table:

P1 P2 P3 P4 P5 P6 P7 Answer
1 1 1 1 1 1 1 99,63
1 1 -1 1 -1 -1 -1 99,8
1 -1 1 -1 1 -1 -1 99,85
1 -1 -1 -1 -1 1 1 99,63
-1 1 1 -1 -1 1 -1 99,48
-1 1 -1 -1 1 -1 1 99,64
-1 -1 1 1 -1 -1 1 99,6
-1 -1 -1 1 1 1 -1 99,51

Table 3.3.4: Dataset.

Term Estimation of effects
P1 0,17
P2 -0,01
P3 -0,005
P4 -0,015
P5 0,03
P6 -0,16
P7 -0,035

Table 3.3.5: Estimation of effects.

Using the values ​​in Table (3.3.5), we calculate the PSE, ME and SME values. First, we calculate $ s_0 $ as follows

$$s_{0}=1,5 \times mediana (|c_{j}|)=1,5 \times mediana (0,005; 0,01; …; 0,015; 0,035) =0,03.$$

In this way, we have to

$$ PSE = 1,5 \times mediana(|c_{j}|:|c_{j}|\leq2,5 s_{0}) = 1,5 \times mediana (|c_{j}|: |c_{j}|\leq 0,075) = 0,0225. $$

Adopting $ \alpha=0,05 $ and $ m=7 $, we have to $ d=2,333 $. Then, $ t_{(0,975;2,333)}=3,76412307 $, $ \gamma=(1+0,95^{1/7})/2=0,996 $ and consequently, $ t_{0,996;2,333}=9,01 $. Therefore, it follows that the margin of error ME and the simultaneous margin of error SME are given by

$$SME= t_{(0,975;2,333)} \times PSE=0,20269 \ \hbox{e} \ ME =t_{0,996;2,333} \times PSE=0,08493.$$

Let’s adopt effect 1 to calculate the confidence interval and the t-statistic. Thus, the confidence interval is given by:

$$LI=\hat{c}_1-ME=0,17-0,08493=0,0853$$

$$LS=\hat{c}_1-ME=0,17+0,08493=0,2547$$

The t-statistic at point 1 is given by:

$$T_{L_1}=\frac{|\hat{c}_i|}{PSE}=\frac{|0,17|}{0,0225}=7,5556$$

with the quantile of the t-Student distribution $ t_{0,975,2,333}, $ or we calculate the p-value from the t-Student distribution with $ 2,333 $ degrees of freedom and significance level $ \alpha=0,05. $ Therefore, p-value is given by:

$$p-valor=2\times P[t_d> |T_{L_j}|~|~H_0]=2\times P[t_d> |7,5556|~|~H_0]=0,005$$

As the p-value is smaller than the $ \alpha $ adopted (0.05), we reject $ H_0 $ at the 5% significance level. Therefore, column temperature and mobile phase flow have active effects. To find out details about the influence of these two parameters, see the article by Isabela C. and Pianete.

See below the results obtained by the Action Stat software for the same example.

(image missing)

Table 3.3.6: Analysis of the experiment without replications using the Lenth method.

(image missing)

Table 3.3.7: Graph of effects using the Lenth method.

(image missing)

Table 3.3.8: Half-normal probability paper graph (Daniel Plot).

19.4 Block factorial experiments

As the number of factors in an experiment increases, it becomes unfeasible to carry out all runs under homogeneous conditions, such as collecting data all on the same day, using the same batch of raw materials or maintaining the same operator. Or it may be of interest to carry out an experiment that guarantees equal treatment for different conditions encountered in practice. In these cases, we use block factorial experiments.

19.4.1 Blocks for factorial experiments $2^k$

To perform a factorial experiment $ 2^k $ with n replicas under inhomogeneous conditions we can consider each set of these conditions as a block and carry out the replicas in different blocks. Furthermore, races must be done randomly.

For situations in which it is not possible to carry out a complete replication of a factorial experiment in a single block, a technique called confounding is used. This technique causes certain interaction effects to become indistinguishable from blocks, or confused with blocks.

Considering a factorial design $ 2^k $ in $ 2^p $ blocks, being p < k, pode-se delinear este experimento em dois blocos, quatro blocos, oito blocos e assim por diante.

19.4.1.1 Dois blocos

Supondo um experimento fatorial $ 2^2 $ com uma única réplica tem-se quatro possíveis combinações. Muitas vezes, os recursos disponíveis, como por exemplo, a matéria prima não é suficiente para realizar as quatro combinações, mas apenas duas delas. Neste caso, pode-se considerar cada tipo de matéria prima como um bloco, o que permite alocar duas combinações para cada bloco.

Verifica-se na Figura 4.1.1.1 uma maneira de alocar as combinações possíveis em blocos diferentes. No bloco 1 observa-se as combinações [(0), ab] e no bloco 2 as combinações [a,b], sendo que a ordem das corridas é aleatória.

bloco1

Figura 4.1.1.1: Um delineamento $ 2^2 $ em dois blocos. forma geométrica (superior) e quatro corridas em dois blocos (inferior).

Cálculo dos efeitos

Os procedimentos para estimar os efeitos principais de A e B são os mesmos usados para estimativas em experimentos que não são delineados em blocos.

$$A=\frac{1}{2}\left[ab+a-b-(0)\right]$$

$$B=\frac{1}{2}\left[ab+b-a-(0)\right]$$

Nota-se que os dois efeitos principais não são afetados pelos blocos, pois para cada estimativa existe uma combinação de tratamento mais e outra menos em cada bloco. Ou seja, qualquer combinação entre os blocos 1 e 2 será cancelada.

A estimativa do efeito da interação é dada por:

$$AB=\frac{1}{2}\left[ab+(0)-a-b\right]$$

Como os dois tratamentos com sinal positivo [ab e (0)] estão no bloco 1 e os dois com o sinal negativo [a e b] estão no bloco 2, o efeito da interação é idêntico nos blocos. Portanto AB está confundida com os blocos.

De maneira geral, se a interação for assinalada com sinal positivo considera-se o bloco 1 e quando for assinalada com sinal negativo, o bloco 2 desta forma, a interação fica confundida com os blocos. Na prática determina-se que as interações de maior ordem sejam confundidas com os blocos, de acordo com a Tabela 4.1.1.1.

Screenshot_27

Tabela 4.1.1.1: Planejamento Fatorial 22 em dois blocos

O caso mostrado na Tabela 4.1.1.1 é o mais simples para experimentos fatoriais $ 2^k $ com dois blocos. A seguir verificamos um exemplo de um experimento $ 2^4 $ em dois blocos.

Exemplo 4.1.1.1

Uma empresa fabricante de bolos quer reduzir as reclamações relacionadas a dureza de sua massa. Para isso delineou um experimento $ 2^3 $, com duas réplicas, com os fatores definidos da seguinte forma:

  • A - Açúcar;
  • B - Leite;
  • C - Fermento.

Para realizar este experimento foram produzidos bolos com variações de 2 níveis de fatores. Entretanto, os bolos foram assados em um forno com 2 divisões que permitem somente 4 bolos cada, desta forma, o forno caracteriza um novo fator de influência. Por isso, o forno foi considerado um bloco, de acordo com a sua posição. o experimento e os dados coletados são mostrados na tabela a seguir.

Réplica Bloco A B C Leveza
1 1 -1 -1 -1 0,539
1 1 1 1 -1 0,446
1 1 1 -1 1 0,306
1 1 -1 1 1 0,371
1 2 1 -1 -1 0,411
1 2 -1 1 -1 0,602
1 2 -1 -1 1 0,369
1 2 1 1 1 0,295
2 1 -1 -1 -1 0,459
2 2 -1 -1 1 0,430
2 1 1 1 -1 0,372
2 2 1 1 1 0,246
2 2 1 -1 -1 0,354
2 2 -1 1 -1 0,622
2 1 1 -1 1 0,357
2 1 -1 1 1 0,310

Exemplo 4.1.1.2

As lâmpadas fluorescentes são equipamentos que utilizam descargas elétricas para produzir energia luminosa. Para o seu funcionamento necessitam de equipamentos auxiliares, os reatores, que visam controlar e estabilizar a corrente elétrica. O tempo de vida das lâmpadas e a quantidade de luz que elas produzem dependem do rendimento dos reatores. O reator é um produto composto, basicamente, de chapas de aço, fio esmaltado, resina (para encapsulamento) e capacitores (quando necessário).

Uma indústria fabricante de reatores quer melhorar o rendimento de seu produto em 10 %.

Para chegar as alternativas para a melhoria do produto, decidiram fazer um experimento fatorial levando em conta os fatores:

  • A - Peso do Núcleo de Aço,
  • B - Peso do Fio de Cobre,
  • C - Temperatura de Cura da Resina e
  • D - Tipo de Capacitor.

Cada fator foi estudado em dois níveis e os dados obtidos em dois dias diferentes com 8 tratamentos em cada dia. Portanto temos um experimento $ 2^4 $ em dois blocos com o confundimento da interação ABCD.

A B C D ABCD Bloco Rendimento
-1 -1 -1 -1 1 2 3,6
1 -1 -1 -1 -1 1 4,9
-1 1 -1 -1 -1 1 3,4
1 1 -1 -1 1 2 5,4
-1 -1 1 -1 -1 1 6
1 -1 1 -1 1 2 4,9
-1 1 1 -1 1 2 5,1
1 1 1 1- -1 1 4,5
-1 -1 -1 1 -1 1 3,4
1 -1 -1 1 1 2 7,9
-1 1 -1 1 1 2 3,2
1 1 -1 1 -1 1 7,6
-1 -1 1 1 1 2 5,3
1 -1 1 1 -1 1 7,3
-1 1 1 1 -1 1 5,7
1 1 1 1 1 2 6,5

bloco2

Figura 4.1.1.2: Gráfico de média para o Exemplo 4.1.1.2.

Verificamos a seguir os gráficos da representação geométrica, dos efeitos principais e da interação, para os dados de rendimento dos reatores, respectivamente.

eprinc4

Tabela 4.1.1.2: Tabela dos Efeitos Principais.

Verificamos na Figura 4.1.1.2 a representação geométrica do experimento e os valores de cada combinação, pois o experimento foi realizado sem réplicas.

As estimativas dos efeitos principais e das interações obtidas pelo modelo de regressão são mostrados na Tabela 4.1.1.2.

eprinc2_0

Figura 4.1.1.3: Gráfico dos Efeitos principais para o Exemplo 4.1.2.1.

De acordo com a análise gráfica da Figura 4.1.1.3 verificamos indícios de que a mudança do nível -1 para o nível 1 dos fatores A (Peso de núcleo de aço), C (Temperatura de cura da resina) e D (Tipo de Capacitor) aumentam o rendimento dos reatores.

int3_0

Figura 4.1.1.4: Gráfico de Interações para o Exemplo 4.1.2.1.

Verificamos na Figura 4.1.1.4 indícios da existência das interações AC e AD.

Obtemos então os efeitos dos fatores e das interações através de modelo de regressão:

Termo Efeito Coef. Regressão
Média Geral 5,2938
Bloco -0,0562
Peso núcleo 1,6625 0,8313
Peso fio -0,2375 -0,1188
Temperatura 0,7375 0,3687
Capacitor 1,1375 0,5688
Peso nucleo * Peso fio -0,0125 -0,0062
Peso nucleo * Temperatura -1,3875 -0,6938
Peso nucleo * Capacitor 1,2625 0,6312
Peso fio * Temperatura -0,1875 -0,0937
Peso fio * Capacitor 0,0125 0,0063
Temperatura * Capacitor -0,0625 -0,0312
Peso nucleo * Peso fio* Temperatura -0,1625 -0,0812
Peso nucleo * Peso fio * Capacitor -0,3125 -0,1563
Peso nucleo * Temperatura * Capacitor -0,1375 -0,0688
Peso fio * Temperatura * Capacitor 0,2125 0,1063

Neste caso, como não temos réplicas, não existe soma de quadrados do erro (estamos estimando 16 coeficientes com 16 equações).

Uma saída neste caso é aplicar o método de Lenth para decidir que efeitos são significativos, como mostra a Figura 4.1.1.5.

(imagem em falta)

(imagem em falta)

(imagem em falta)

(imagem em falta)

Figura 4.1.1.5: Método de Lenth para os Efeitos do Exemplo 4.1.1.2.

(imagem em falta)

Figura 4.1.1.6: Daniel Plot para o Exemplo 4.1.1.2.

De acordo com as análises gráficas notamos que os fatores A, C e D e as interações AC e AD influenciam no rendimento dos reatores. Desta forma, podemos ajustar um novo modelo linear para estimar os seus efeitos.

Os termos significativos de acordo com a Figura 4.1.1.5 são A, C, D, AC e AD. Ajustamos então um novo modelo linear e estimamos os efeitos de cada fator e das interações significativas:

Termo Efeito Coeficiente da Regressão Desvio Padrão T P
Média Geral 5,2938 0,0888 59,61 0
Bloco 0,0562 0,0888 0,63 0,542
A 1,6625 0,8313 0,0888 9,36 0
C 0,7375 0,3688 0,0888 4,15 0,002
D 1,1375 0,5687 0,0888 6,4 0
AC -1,3875 -0,6938 0,0888 -7,81 0
AD 1,2625 0,6312 0,0888 7,11 0

Tabela 4.1.1.3: Tabela de coeficientes de regressão e efeitos para o Exemplo 4.1.1.2.

Na sequência construímos a Tabela ANOVA, utilizando também como fonte de variação o bloco considerado.

Fonte de Variação Soma de Quadrados Graus de Liberdade Quadrados Médios Estatística F P-valor
Bloco 0,05 1 0,05 0,4 0,54
A 11,06 1 11,06 87,62 0
C 2,18 1 2,18 17,24 0
D 5,18 1 5,18 41,02 0
AC 7,7 1 7,7 61,03 0
AD 6,38 1 6,38 50,53 0
Erro 1,14 9 0,13
Total 33,67 15

Tabela 4.1.1.4: Tabela da ANOVA para o Exemplo 4.1.1.2.

Olhando para os coeficientes obtidos pela regressão na Tabela 4.1.1.4 vemos que os fatores e as interações consideradas realmente são significativos.

Resultados obtidos pelo software Action

analiexp_0

analiexp1

Tabela 4.1.1.7 resultados da Tabela da ANOVA obtidos no Action.

Os resultados mostrados na Tabela 4.1.1.7 confirmam os indícios verificados na análise gráfica, que os fatores A, C e D e as interações AC e AD são significativas ao nível α = 0,05, ou seja, eles influenciam no rendimento do reator. Portanto, a melhor configuração para aumentar o rendimento dos reatores é manter o nível do fator “B” e fixar os níveis dos fatores A, C e D no nível 1.

19.4.1.2 Quatro ou mais blocos

Além dos delineamentos já discutidos é possível construir um experimento fatorial do tipo $ 2^k $ dividido em quatro blocos com $ \frac{2^k}{4}=2^{k-2} $ observações em cada bloco. Este delineamento é útil quando o número de fatores é grande (k ≥ 4) e o tamanho dos blocos é pequeno.

Como um exemplo, considere um experimento fatorial $ 2^5 $. Cada bloco é composto por 8 corridas, resultando assim em 4 blocos. Considerando, por exemplo, os efeitos de ABC e CDE para serem confundidos com os blocos, o delineamento do experimento é dado de acordo com a Tabela 4.1.2.1.

A B C D E ABC CDE Blocos
0 -1 -1 -1 -1 -1 -1 -1 1
(a) 1 -1 -1 -1 -1 1 -1 3
(b) -1 1 -1 -1 -1 1 -1 3
(ab) 1 1 -1 -1 -1 -1 -1 1
(c) -1 -1 1 -1 -1 1 1 4
(ac) 1 -1 1 -1 -1 -1 1 2
(bc) -1 1 1 -1 -1 -1 1 2
(abc) 1 1 1 -1 -1 1 1 4
(d) -1 -1 -1 1 -1 -1 1 2
(ad) 1 -1 -1 1 -1 1 1 4
(bd) -1 1 -1 1 -1 1 1 4
(abd) 1 1 -1 1 -1 -1 1 2
(cd) -1 -1 1 1 -1 1 -1 3
(acd) 1 -1 1 1 -1 -1 -1 1
(bcd) -1 1 1 1 -1 -1 -1 1
(abcd) 1 1 1 1 -1 1 -1 3
(e) -1 -1 -1 -1 1 -1 1 2
(ae) 1 -1 -1 -1 1 1 1 4
(be) -1 1 -1 -1 1 1 1 4
(abe) 1 1 -1 -1 1 -1 1 2
(ce) -1 -1 1 -1 1 1 -1 3
(ace) 1 -1 1 -1 1 -1 -1 1
(bce) -1 1 1 -1 1 -1 -1 1
(abce) 1 1 1 -1 1 1 -1 3
(de) -1 -1 -1 1 1 -1 -1 1
(ade) 1 -1 -1 1 1 1 -1 3
(bde) -1 1 -1 1 1 1 -1 3
(abde) 1 1 -1 1 1 -1 -1 1
(cde) -1 -1 1 1 1 1 1 4
(acde) 1 -1 1 1 1 -1 1 2
(bcde) -1 1 1 1 1 -1 1 2
(abcde) 1 1 1 1 1 1 1 4

Tabela 4.1.2.1: Delineamento do experimento fatorial $ 2^5 $ em 4 blocos.

Observamos que a forma como o experimento foi delineado resultou em exatamente quatro combinações de sinais diferentes, para as 32 observações, que correspondem aos 4 blocos do experimento. Para compor os blocos consideramos todas as corridas que estão em (-,-) no bloco 1, (-,+) no bloco 2, (+,-) no bloco 3 e por fim, (+,+) no bloco 4, conforme a Tabela 4.1.2.2. Neste caso, qualquer interação adicionada a ABC e CDE serão confundidas com os blocos, já que existem quatro blocos com 3 graus de liberdade e também ABC e CDE tem 1 grau de liberdade. O efeito geral de ABC e CDE é definido como o produto entre eles, da seguinte forma:

$$(ABC)(CDE)=ABC^2DE=ABDE, {(pois }~ C^2=1, { sempre)}$$

assim, o efeito de ABDE também é confundido com os blocos.

Screenshot_28

Tabela 4.1.2.2: Resumo do delineamento do experimento fatorial $ 2^5 $ em 4 blocos.

O procedimento geral para construir um delineamento $ 2^k $ em quatro blocos consiste em escolher dois efeitos para gerar os blocos, assim, temos automaticamente um terceiro efeito confundido com os dois primeiros. Os efeitos escolhidos para serem confundidos devem ser cuidadosamente selecionados, para não escolher efeitos que realmente são importantes para o experimento.

Este procedimento pode ser estendido para um número maior de blocos. É possível construir um delineamento fatorial de $ 2^k $ em p blocos, onde p < k, de $ 2^k-p $ combinações cada bloco. Para isso, basta escolher p efeitos independentes para confundir com blocos (independentes significa que nenhum efeito principal está generalizado com as interações). A seguir verifica-se alguns exemplos de efeitos que podem ser confundidos.

$$(ABEF)(ABCD)=A^2B^2CDEF = CDEF$$

$$(ABEF)(ACE)= A^2BCE^2F=BCF$$

$$(ABCD)(ACE) = A^2BC^2ED=BDE$$

$$(ABEF)(ABCD)(ACE) = A^3B^2C^2DE^2F=ADF$$

Existem muitos procedimentos para construção e análise de delineamentos fatoriais com k fatores e dois níveis. A Tabela 4.1.2.3 mostra a estrutura de blocos para Experimentos Fatoriais $ 2^k $.

Nº de fatores k Nº de blocos 2p Tam. do bloco 2k-p Efeito escolhido Interações Confundidas
3 2 4 ABC ABC
4 2 AB,AC AB,AC,BC
4 2 8 ABCD ABCD
4 4 ABC,ACD ABC,ACD,BD
8 2 AB,BC,CD AB,BC,CD,AC,BD,AD,ABCD
5 2 16 ABCDE ABCDE
4 8 ABC,CDE ABC,CDE,ABDE
8 4 ABE,BCE,CDE ABE,BCE,CDE,AC,ABCD,BD,ADE
16 2 AB,AC,CD,DE Todos os fatores de 2º grau, 4º grau (15 interações)
6 2 32 ABCDEF ABCDEF
4 16 ABCF,CDEF ABCF,CDEF,ABDE
8 8 ABEF,ABCD,ACE ABEF,ABCD,ACE,BCF,BDE,CDEF,ADF
16 4 ABF,ACF,BDF,DEF ABE,ACF,BDF,DEF,BC,ABCD,ABDE,AD,ACDE, CE,BDF,BCDEF,ABCEF,AEF,BE
32 2 AB,BC,CD,DE,EF Todos os fatores de 2º grau, 4º grau, 6º grau (31 interações)
7 2 64 ABCDEFG ABCDEFG
4 32 ABCFG,CDEFG ABCFG,CDEFG,ABDE
8 16 ABC,DEF,AFG ABC,DEF,AFG,ABCDEF,DCFG,ADEG,BCDEFG
16 8 ABD,EFG,CDE,ADG ABCD,EFG,CDE,ADG,ABCDEFG,ABE,ACG, CDFG,ADEF,ACEG,ABFG,BCEF,BDEG,ACF,BDF
32 4 ABG,BCG,CDG,DEG,EFG ABG,BCG,CDG,DEG,EFG,AC,BC,DE,DF,AE,BE,ABCD, ABDE,ABEF,BCDE,BCEF,CDEF,ABCEDFG,ADG,ACDEG,ACEFG, ABDFG,ABCEG,BEG,BDEFG,CFG,ADEF,ACDF,ABCF,AFG
64 2 AB,BC,CD,DE,EF,FG Todos os fatores de 2º grau, 4º grau, 6º grau (63 interações)

Tabela 4.1.2.3: Estrutura de Blocos para Experimentos Fatoriais 2k.

19.5 Experimentos Fatoriais Fracionados

A medida que o número de fatores em um experimento fatorial $ 2^k $ aumenta, o número de corridas também aumenta e consequentemente o número de interações de ordem alta. Se o condutor do experimento assumir que estas interações não são úteis para o experimento, pois são difíceis de interpretar, então, os efeitos principais e das interações de baixa ordem serão fundamentais, desta forma, eles deverão ser obtidos mesmo que seja realizada apenas uma fração deste experimento.

Estes tipos de experimentos denominam-se experimentos fatoriais fracionados. Na prática das indústrias, este tipo de experimento é muito utilizado, pois permite reduzir o número de corridas e consequentemente o custo de realização do experimento.

A maior aplicação prática deste tipo de experimento fatorial é na seleção de variáveis. Nesta aplicação, consideramos um grande número de variáveis ou fatores que podem influenciar no sistema ou processo. Neste caso, o experimento fatorial é fracionado a fim de identificar quais variáveis ou fatores influenciam no processo e, posteriormente, realizar um experimento mais detalhado, somente com os fatores que influenciam.

Estes experimentos fatoriais estão fundamentalmente baseados em três ideias:

  • Efeitos principais: Na presença de muitas variáveis, o sistema ou processo será dirigido por alguns efeitos principais e interações de baixa ordem.
  • Propriedades projetivas: Fatoriais fracionados podem ser projetados para que os fatores mais significantes tenham os maiores efeitos.
  • Experimentos sequenciais: É possível combinar as corridas de dois (ou mais) fatoriais fracionados para montar sequencialidade em delineamentos grandes para estimar os fatores e interações de interesse.

19.5.1 Meia fração de um experimento fatorial fracionado

  • Temos um experimento com três fatores com dois níveis cada;
  • Serão executados metade dos 8 tratamentos;

Considere a situação onde temos um experimento com três fatores com dois níveis cada, mas por questões de custo somente metade dos 8 tratamentos serão executados.

A Tabela 4.1.1 representa um delineamento do tipo $ 2^3 $.

Suponha que neste caso selecionemos quatro tratamentos a, b, c e abc como nossa meia fração. Note que neste caso temos ainda as interações de segunda ordem, mas escolhemos definir como a meia fração os termos que tem sinal positivo na coluna ABC.

Screenshot_29

Tabela 5.1.1: Fatorial Fracionado 23.

As combinações do tratamento no delineamento fatorial 23-1 rendem três graus de liberdade para estimar os efeitos principais. Que podem ser definidos como:

$$A=\frac{1}{2}(a-b-c+abc)$$

$$B=\frac{1}{2}(-a+b-c+abc)$$

$$C=\frac{1}{2}(-a-b+c+abc)$$

Para saber se o fator A está confundido com algum outro fator, podemos fazer o cálculo

$$A=A \times I=A \times ABC=A^2 \times BC$$

$$(A^2 \text{ é sempre 1 })$$

$$A=BC$$

de onde concluímos que A está confundido com AB. De forma análoga, mostramos que B está confundido com AC e que C está confundindo com AB. Os efeitos das interações de 2ª ordem são dados por

$${BC}=\frac{1}{2}(a-b-c+abc).$$

$${AC}=\frac{1}{2}(-a+b-c+abc).$$

$${AB}=\frac{1}{2}(-a-b+c+abc).$$

ou seja, é impossível diferenciar entre A e Bc, B e AC, e C e AB. Quando estimamos A, B e C, estamos na verdade estimando A + BC, B + AC e C + AB. Quando dois ou mais efeitos tem essa propriedade são chamados de aliases. Neste caso A e BC são aliases, B e AC são aliases e C e AB são aliases. Indicamos as aliases pelas notações IA → A + BC, IB → B + AC e IC → C + AB

A meia fração I=+ABC é chamada de fração principal.

Se selecionarmos a outra meia fração, isto é, I' = -ABC, os tratamentos associados com o sinal menos na coluna ABC as aliases (ou fatores confundidos) seriam neste caso

$${A}=A*-ABC=-BC$$

$${B}=B*-ABC=-AC$$

$${C}=C*-ABC=-AB$$

Ou seja, estaremos estimando na verdade A - BC, B - AC e C - AB. E as aliases são indicadas por I’A = A - BC, I’B = B - AC, I’C = C - AB

Se efetuarmos as corridas de ambas as meias frações, todas as 8 corridas associadas com o experimento experimento completo 23 estarão disponíveis. Desta forma, podemos obter as estimativas de todos os efeitos analisando as 8 corridas como um experimento completo 23 em dois blocos de quatro corridas cada. Isto implica que, considerando IA → A + BC e I’A → A - BC

$$\frac{1}{2}(I_A + I_A) = \frac{1}{2}(A+BC+A-BC) \rightarrow A$$

e também

$$\frac{1}{2}(I_A - I_A)=\frac{1}{2}(A+BC-A+BC) \rightarrow BC$$

Portanto, todas as três partes das combinações lineares são demonstradas da seguinte maneira:

X $ \frac{1}{2}(I_A + I_A) $ $ \frac{1}{2}(I_A - I_A) $
A A BC
B B AC
C C AB

19.5.1.1 Resoluções dos experimentos fatoriais fracionados

Para resolver os experimentos fatoriais fracionados, são utilizados três tipos de resoluções:

  1. Resolução do tipo III: Estas são as resoluções nos quais nenhum efeito principal está relacionado com qualquer outro efeito principal, mas podem estar relacionado com interações de segunda ordem que por sua vez podem estar relacionadas também com interações de segunda ordem ou de ordem superior. O planejamento $ 2^{3-1} $ na Tabela 5.1.1.1 segue resolução do tipo III $ (2^{3-1}_{III}). $
  2. Resolução do tipo IV: Esta resolução determina que nenhum efeito principal está relacionado com outro efeito principal ou então interação de segunda ordem, mas as interações de segunda ordem estão relacionadas entre si. Um planejamento $ 2^{4-1} $ com $ I=ABCD $ segue resolução do tipo IV $ (2^{4-1}_{IV}) $
  3. Resolução do tipo V: Estes são os experimentos em que nem os efeitos principais ou as interações de segundo grau estão relacionados com os efeitos principais ou as interações de segundo grau, mas as interações de segundo grau podem estar relacionadas com interações de terceiro ou maior grau. Um planejamento $ 2^{5-1} $ com $ I=ABCDE $ segue resolução do tipo V $ (2^{5-1}_V) $

Construindo meias frações

Uma meia fração de um experimento $2^k$ da resolução mais alta, pode ser construído escrevendo um delineamento básico consistindo de corridas para um fatorial completo do tipo $2^{k-1}$ e então adicionando-se o k-ésimo fator, identificando-o com os mais e menos, que representam os níveis da interação de maior ordem ABC…(K - 1). Portanto, o fatorial fracionado ($2^{3-1}III$) pode ser obtido por um fatorial completo $2^2$ e então, equacionando-se as interações de segunda ordem AB com C. A fração alternativa, desta forma, -AB com C. Podemos entender melhor este procedimento da seguinte forma.

Screenshot_30

Tabela 5.1.1.1: Duas meias frações de um planejamento $ 2^3 $.

Resultados obtido pelo software Action

expfrac

Exemplo 5.1.1.1

Um experimentador quer avaliar o comportamento do desgaste do pinhão do motor de uma máquina colheitadeira de cana, em relação a quatro fatores: abertura da lateral do chassi, janela da caneca, formato do disco e formato do rolo. O objetivo é determinar qual configuração estabelece um menor desgaste do pinhão. Utilizando 8 máquinas do mesmo modelo, mesmo ano de fabricação e utilizando a mesma frente de trabalho, realizamos um experimento fatorial fracionado $2^{4-1}$ com três réplicas. As unidades experimentais foram de 250 horas de trabalho por réplica. Os dados são dados na tabela a seguir.

Lateral chassi (LC) Janela caneca (JC) Formato disco (FD) Rolo (R) Desgaste
menor com janela sem recorte com furo 0,2233
menor sem janela com recorte com furo 0,1233
menor sem janela com recorte com furo 0,1300
maior sem janela com recorte sem furo 0,1867
menor com janela sem recorte com furo 0,2533
menor sem janela com recorte com furo 0,1700
menor com janela com recorte sem furo 0,2400
menor sem janela sem recorte sem furo 0,3033
maior com janela com recorte com furo 0,1933
maior com janela sem recorte sem furo 0,2500
maior com janela com recorte com furo 0,1900
maior com janela sem recorte sem furo 0,2533
maior sem janela sem recorte com furo 0,2067
menor com janela com recorte sem furo 0,2033
maior com janela com recorte com furo 0,1767
menor sem janela sem recorte sem furo 0,2200
menor sem janela sem recorte sem furo 0,2133
maior sem janela com recorte sem furo 0,1800
maior com janela sem recorte sem furo 0,2333
maior sem janela com recorte sem furo 0,1967
maior sem janela sem recorte com furo 0,2100
maior sem janela sem recorte com furo 0,2033
menor com janela sem recorte com furo 0,2067
menor com janela com recorte sem furo 0,1967

exemplo_colheitadeira_interacoes

exemplo_colheitadeira_efeitos_tabela

exemplo_colheitadeira_efeitos_grafico

19.5.2 Fatoriais fracionados sequenciais

Usando planejamentos fatoriais fracionados podemos ter uma grande economia e eficiência no experimento, particularmente se o experimento for conduzido sequencialmente. Por exemplo, suponha que tenhamos que investigar um fatorial k = 4 fatores ($ 2^4 $ = 16). Porém é preferível termos um experimento pela metade, ou seja, $ (2^{4-1}_{IV}) $ fatorial com 8 corridas, analisar os resultados e então decidir qual o melhor conjunto para correr em seguida. Se for necessário desenvolver ambiguidades é preferível que o experimento seja conduzido de maneira alternada até completar o fatorial. Quando este método for escolhido, ambas as frações do fatorial representam blocos do planejamento completo, com a maior ordem das interações confundida com os blocos (ABCD). Podemos afirmar que os experimentos sequenciais podem perder informação, mas apenas nas interações mais altas. De outra maneira podemos também aprender o suficiente com a primeira fração e poderemos fazer novas análises dos dados, excluir fatores, interações e até aumentar o intervalo de varredura de certas variáveis.

Exemplo 5.2.1

Considere a taxa de filtragem definida na tabela a seguir. A taxa de filtragem depende dos fatores envolvidos no processo:

  • Temperatura (A);
  • Pressão (B);
  • Concentração de gás (utilizado para esterilização) (C);
  • Taxa de filtragem (D).

Iremos utilizar a resolução $ 2_{IV}^{4-1} $ com I = ABCD. O experimento básico tem o número necessário de corridas, mas somente três fatores (colunas). Para encontrar o nível do quarto fator fazemos D = ABC. Então o nível D em cada corrida é definido como o produto dos sinais de + e - nas colunas A, B e C. Como o gerador ABCD é positivo, este experimento $ 2^{4-1}_{IV} $ é chamado fração principal.

Screenshot_31

Tabela 5.2.1: Planejamento $ 2^{4-1}_{IV} $ com a relação definida I=ABCD.

O experimento está ilustrado segundo a figura abaixo

exemplo_filtragem

Figura 5.2.1: Planejamento do tipo $ 2^{4-1}_{IV} $ para a taxa de Filtragem.

Como seriam analisados se apenas metade do fatorial fosse considerado? Mais ainda, que análises poderíamos fazer sabendo que os fatores A, C e D e as interações AC e AD são todas diferentes de zero?

Neste caso estaremos usando um fatorial com resolução IV, $ (2^{4-1}) $. Usando ainda as definições do experimento podemos escrever que os efeitos principais e suas estruturas de aliases estão relacionados com a interações de terceira ordem; ou seja,

$$A=A*ABCD=A^2BCD=BCD$$

$$B=B*ABCD=AB^2CD=ACD$$

$$C=C*ABCD=ABC^2D=ABD$$

$$D=D*ABCD=ABCD^2=ABC$$

Cada interação de segunda ordem está relacionada com outra relação de segunda:

$$AB=CD,~AC=BD,~BC=AD.$$

As estimativas dos efeitos obtidos do experimento são:

$$A = \overline{Y_{A+}} - \overline{Y_{A-}} = \frac{100+65+60+96}{4}-\frac{45+45+75+80}{4}= 80,25-61,25=19$$

$$B = \overline{Y_{B+}} - \overline{Y_{B-}} = \frac{45+65+75+60}{4}-\frac{45+100+75+60}{4}=71,50-70=1,50$$

$$C = \overline{Y_{C+}} - \overline{Y_{C-}} = \frac{75+60+80+96}{4}-\frac{45+100+45+65}{4}=77,75-63,75=14$$

$$D = \overline{Y_{D+}} - \overline{Y_{D-}} = \frac{100+45+75+96}{4}-\frac{45+65+60+80}{4}=79-62,50=16,50$$

$$AB = \overline{Y_{AB+}} - \overline{Y_{AB-}} = \frac{45+65+75+96}{4}-\frac{100+45+60+80}{4}=70,25-72,25=-1$$

$$AC = \overline{Y_{AC+}} - \overline{Y_{AC-}} = \frac{45+45+60+96}{4}-\frac{100+65+75+80}{4}=61,50-80=-18,50$$

$$AD = \overline{Y_{AD+}} - \overline{Y_{AD-}} = \frac{45+100+80+96}{4}-\frac{45+65+75+60}{4}=80,25-61,25=19$$

Os resultados obtidos no Action são dados a seguir

exemplo_filtragem_efeitos

exemplo_filtragem_efeitos_grafico

Exercício 5.2.2

Deseja-se verificar a quantidade de alimento que migra através de uma embalagem num processo de estocagem de acordo com quatro fatores. Para cada um dos fatores temos os seguintes níveis:

  • A: tempo de estufa (em minutos) nos níveis 27 e 33;
  • B: temperatura de estufa (em ºC) nos níveis 17 e 23;
  • C: temperatura de tara (em ºC) nos níveis 90 e 120;
  • D: tempo de resfriamento (em minutos) nos níveis 2 e 4.

Neste caso, temos 4 fatores, o que nos daria 16 corridas se fôssemos executar o experimento completo. Decidimos então fracionar o experimento em duas partes e executar 4 réplicas. Os dados são apresentados na tabela a seguir.

Repetição A B C D Migração
1 27 17 90 2 11,0933
2 27 17 90 2 15,4800
3 27 17 90 2 12,7600
4 27 17 90 2 9,6267
1 27 17 120 4 1,7733
2 27 17 120 4 5,7733
3 27 17 120 4 4,2533
4 27 17 120 4 3,6667
1 33 17 90 4 1,5333
2 33 17 90 4 0,8533
3 33 17 90 4 5,1467
4 33 17 90 4 5,6267
1 33 17 120 2 3,0533
2 33 17 120 2 8,7067
3 33 17 120 2 6,2533
4 33 17 120 2 6,8933
1 27 23 90 4 10,7067
2 27 23 90 4 13,0400
3 27 23 90 4 11,6667
4 27 23 90 4 12,7333
1 27 23 120 2 13,5467
2 27 23 120 2 11,4267
3 27 23 120 2 8,2533
4 27 23 120 2 7,4533
1 33 23 90 2 18,0800
2 33 23 90 2 17,2000
3 33 23 90 2 19,2400
4 33 23 90 2 16,5067
1 33 23 120 4 5,4533
2 33 23 120 4 11,9467
3 33 23 120 4 12,9200
4 33 23 120 4 13,1867

Tabela 5.2.3: Conjunto de dados.

19.5.2.1 Um quarto de fração de um planejamento 2^k

Para um número grande de fatores, pequenas frações de um planejamento fatorial fracionado podem ser úteis. Considere neste caso uma fração de um quarto de um planejamento $ 2^k $. Este planejamento contém $ 2^{k-2} $ corridas e é frequentemente considerado um planejamento fatorial fracionado do tipo $ 2^{k-2} $. Um planejamento deste tipo pode ser construído simplesmente escrevendo um experimento fatorial completo com $ (k-2) $ fatores e então associando as duas colunas com os geradores, isto é, escolher as interações que envolvem os primeiros $ (k-2) $ fatores. Portanto um quarto do experimento terá dois geradores. Se escolhermos como os geradores $ P $ e $ Q $, então $ I=P $ e $ I=Q $ são chamadas relações geradoras para o experimento. Seus sinais (+ ou -) definem que parte dos quartos de fração será produzida. Lembramos também que todos os quartos definidos por $ \pm P $ e $ \pm Q $ fazem parte da mesma família, e ainda, podemos assumir que quando temos os dois geradores positivos temos o quarto principal.

Considere um planejamento $ 2^{6-2} $, suponha que escolhamos

$$I=ABCE~~{ e }~~I=BCDF$$

como os geradores. Matricialmente podemos descrever o experimento como mostra a Tabela 5.2.1.1.

Corridas A B C D E=ABC F=BCD
1 - - - - - -
2 + - - - + -
3 - + - - + +
4 + + - - - +
5 - - + - + +
6 + - + - - +
7 - + + - - -
8 + + + - + -
9 - - - + - +
10 + - - + + +
11 - + - + + -
12 + + - + - -
13 - - + + + -
14 + - + + - -
15 - + + + - +
16 + + + + + +

Tabela 5.2.1.1: Experimento fatorial fracionado $ 2^{6-2} $.

Uma outra forma de obter um quarto da fração é gerar o experimento $ 2^6 $ e dividi-lo em 4 blocos, conforme já tratado no capítulo anterior. Isso resultará em um experimento fatorial fracionado $ 2^{6-2}, $ com geradores ABCF e CDEF (conforme Tabela 4.1.3.3) Quando considerarmos o bloco onde ambos os geradores são positivos a fração será chamada fração principal.

A interação entre os geradores $ ABCE $ e $ BCDF $ é $ ADEF $, portanto a relação completa para o experimento é

$$I=ABCE=BCDF=ADEF.$$

Por exemplo, para encontrar os aliases de $ A $ podemos fazer:

  • $ A*ABCE=AABCE=BCE $, pois $ AA=1 $ sempre ($ A $ só assume os valores +1 ou -1),
  • $ A* BCDF=ABCDF, $ e
  • $ A*ADEF=AADEF=DEF $, novamente pois $ AA=1 $.

Assim, vemos que quando estimarmos $ A $, estaremos estimando $ A+BCE+DEF+ABCDF $. Na Tabela 5.2.1.2 mostramos a estrutura completa de aliases para este caso.

$ A = BCE = DEF = ABCDF $ $ AD = EF = ABCF = BCDE $
$ B = ACE = CDF = ABDEF $ $ AE = BC = DF = ABCDEF $
$ C = ABE = BDF = ACDEF $ $ AF = DE = ABCD = BCEF $
$ D = AEF = BCF = ABCDE $ $ BD = CF = ABEF = ACDE $
$ E = ABC = ADF = BCDEF $ $ BF = CD = ABDE = ACEF $
$ F = ADE = BCD = ABCEF $ $ ABD = ACF = BEF = CDE $
$ AB = CE = ACDF = BDEF $ $ ABF = ACD = BDE = CEF $
$ AC = BE = ABDF = CDEF $

Tabela 5.2.1.2: Estrutura de aliases para o experimento com $ I=ABCE=BCDF=ADEF $.

Exemplo 5.2.1.1

(Montgomery, 1997) Algumas peças manufaturadas em um processo de moldagem por injeção têm mostrado encolhimento excessivo. Uma equipe de qualidade decidiu então utilizar um experimento para reduzir este encolhimento. Foram investigados seis fatores, cada um com dois níveis:

[A - ] temperatura do molde,

[B - ] velocidade do parafuso,

[C - ] duração do processo,

[D - ] templo de ciclo,

[E - ] tamanho da porta, e

[F - ] pressão.

O objetivo é estudar como cada fator afeta o encolhimento das peças, e ainda verificar quais fatores interagem entre si.

A equipe decidiu usar um experimento fatorial fracionado (um quarto da fração), isto é equivalente a fazer um experimento com 16 corridas. O experimento está representado na tabela a seguir.

Screenshot_32

Calculando os efeitos principais, temos que:

A = 13,875, B = 35,625, C = -0,875, D = 1,375, E = 0,375, F = 0,375, AB = 11,875, AC = -1,625, AD = -5,375, AE = -1,875, AF = 0,625, BC = -1,875, BD = -0,125, BE = -1,625, BF = -0,125, CD = -0,125, CE = 11,875, CF = -0,125, DE = 0,625,

DF = -1,875 e EF = -5,375.

Os maiores efeitos principais foram obtidos em A, B e na interação AB, portanto esses fatores são os mais importantes para o modelo. O modelo ajustado para esses parâmetros é:

$$Encolhimento=27,31+6,94A+17,81B + 5,94AB.$$

Os desvios padrão e algumas estatísticas referentes ao modelo estão na tabela a seguir.

Preditor Estimativa Desvio Padrão Estat. T P-Valor
Intercepto 27,3125 1,138232365 23,99554 1,65E+11
A 6,9375 1,138232365 6,094977 5,38E+05
B 17,8125 1,138232365 15,64927 2,39E+09
A:B 5,9375 1,138232365 5,216422 0,000216

Resultados obtidos pelo software Action

anova2

reg1

Screenshot_33

Screenshot_34

19.6 Superfície de Resposta

Introdução a modelos de superfície de resposta

As técnicas de superfície de resposta são ferramentas matemáticas muito úteis quando estamos interessados na otimização de um processo em que temos a influência de vários fatores em uma variável resposta, ou seja, os modelos de superfície de resposta podem ser explorados para determinar condições ótimas para se trabalhar ou a sensibilidade da variável resposta a mudanças dos níveis dos fatores de interesse.

Basicamente, as diretrizes para se trabalhar com um modelo de superfície de resposta são:

  • Amostragem;
  • Modelagem;
  • Otimização.
  1. Amostragem: definimos o número de ensaios que vamos executar, já pensando nos modelos que iremos implementar.
  2. Modelagem e Testes de Hipóteses: ajustamos os modelos e analisamos os ajustes obtidos.
  3. Otimização: obtemos a configuração ótima dos níveis dos fatores de interesse, entre os intervalos considerados, e verificamos a necessidade de realizar novamente o experimento considerando novos níveis para os fatores.

Podemos dividir os modelos de Planejamento de Experimentos, em geral, em dois tipos:

Screenshot_35

In this chapter we will consider models marked with $ (\ast) $, which are the response surface models. For modeling/analysis of response surface models, the following techniques can be used:

Screenshot_36

To optimize the adjusted model, the following techniques can be used:

Screenshot_37

For the optimization phase, it is important to highlight that graphical visualization of the response surface is possible when we have up to 2 factors. For a problem with more factors, this visualization is no longer possible and it is necessary to use numerical techniques. The Steepest Ascent and Descent techniques are used when the optimal configuration within the ranges considered has not yet been reached and it is necessary to extrapolate to other levels in the most interesting direction. Simulation techniques are used to verify possible behavior when considering situations that have not been observed.

It is important to highlight that when considering quadratic models it is essential the inclusion of replicas in the experiment, due to the need to detect the degree of curvature of the model. Therefore, whenever possible include replicates in the experiment.

The basic idea of response surface techniques is to consider that there is a relationship between variables $ x_1, \ldots,x_k $ and $ y $

$$y=f(x_1, \ldots,x_k,\beta)$$

which is unknown, but we can approximate this function by a relation polynomial, for example, of the type

$$y= \beta_0+\beta_1 x_1+\beta_2 x_2+\ldots+\beta_kx_k+\beta_{11}x_1^2+\ldots+\beta_{kk}x_k^2+\beta_{12}x_1 x_2+\beta_{13}x_1 x_3+\ldots+\beta_{(k-1)k}x_{k-1}x_k+\varepsilon.~~(1.5.1)$$

Therefore, we will call the curve given by the relation

$$E(y)=f(x_1, \ldots,x_k, \beta).$$

Expression (5.1) is called second-order response surface model (terms have, at most, order 2). The term $ \varepsilon $ is the random error involved in the model, and has distribution assumptions according to each problem. The $ \beta $’s are the coefficients of the regression model. This model is interesting and very useful for describing experimental data in which curvature is abundant. But this does not imply that in all systems containing curvature this model has a good fit. There are several cases where a more complex model is necessary, and in some rare cases it may even be necessary to use cubic terms to achieve an adequate fit. In other cases the curvature can be easily handled using a logarithm transformation on the response, for example with $ k=2 $

$$\ln y=\beta_0+\beta_1 x_1+\beta_2 x_2+\beta_{12} x_1 x_2.$$

19.6.1 Experiments for second-order Response Surface

The importance of using response surface designs is that they enable more general conclusions than factorial experiments. When we run a factorial experiment, we define some factor levels to work with and check which is the best configuration among the factor levels considered. Response surface techniques allow us to verify which is the best configuration for levels throughout the range considered. This is due to the possible curvature that the model incorporates. Furthermore, we can also check whether the optimal configuration is part of the considered range or whether there is a need to run a new experiment considering new factor levels. Many times after adjusting a factorial model like $ 2^k $, we realize that none of the configurations are reasonable or we notice a lack of fit in the model. In this case, we could add new levels to the factors by proposing a factorial experiment of the type $ 3^k $ or $ 4^k $, for example. However, the cost would be much higher and we could again not reach good conclusions.

A good alternative, in this case, would be to propose a model with curvature that would have a much lower cost than a factorial experiment, with several levels of factors and that would also facilitate the conclusion regarding levels that optimize the response.

It is desirable that a response surface experiment has some good characteristics, including:

  • Good fit to the data;
  • Provide sufficient information to perform a lack of fit test and to estimate the pure error;
  • Allow easy expansion of data;
  • Be robust to the presence of outliers in the data and control of factor levels;
  • Have a reasonable cost;
  • Allow experiments to be performed in blocks; and
  • Have constant prediction variance.

Considering that there is a relationship between the variables $ x_1, … , x_k $ and $ Y=f(x_1, … , x_k, β) $ which is unknown, but we can approximate it using a linear quadratic or higher order relationship according to the needs of each problem.

In response surface experiments when a factorial study involves quantitative factors, we generally approximate using a second-order polynomial regression model. The rationale is that main effects and second-order effects generally capture the “essence” of the response function, as third-order and higher effects are generally unimportant. So, we have to the level $ X_j $ of the j-th quantitative factor is:

$$E[Y]=\beta_0+\beta_1X_1+\dots+\beta_kX_k+\beta_{11}X^2_1+\dots+\beta_{kk}X^2_{k}+\beta_{12}X_1~X_2+\dots+\beta_{k-1,k}X_{k-1}X_k~~(6.2.1)$$

at which the level $ X_j $ of the j-th factor is:

$$X_j=\frac{\text{nível atual}-\frac{\text{maior nível} + \text{menor nível}}{2}}{\frac{\text{maior nível} -\text{menor nível}}{2}}$$

When planning a response surface experiment, a minimum requirement is that the experiment be capable of providing estimates of $ p=\frac{(k+1)(k+2)}{2} $ parameters in the model (6.2.1). For example, with $ k $=2 we have $ p=\frac{(2+1)(2+2)}{2}=6. $ So, we have to:

$$Y=\beta_0+\beta_1 X_1+\beta_2 X_2+\beta_{11}X^2_{1}+\beta_{22}X^2_{2}+\beta_{12}X_{1}X_{2}$$

A fractional factorial design of resolution V or higher, in a two-level factorial study, will provide linear estimates for the main effects. All two-factor and interaction effects are confounded only with higher-order effects. However, at least three levels of each factor must be present to obtain quadratic estimates of $ k $ main effects.

One type of experiment that provides estimates of all parameters in the regression model (6.2.1) is the full factorial design with each factor at three levels, i.e. $ 3^k $ in which $ k $ denotes the number of factors in the study. A number of practical limitations are associated with full factorial designs. $ 3^k $. One of the main ones is that the number of treatments needed for an experiment $ 3^k $ grows rapidly with the number of factors. Another disadvantage is that each of the factors appears at exactly three levels, making it not possible to test the presence of cubic or higher order main effects.

In the response surface models, estimates were developed based on the second order model (6.2.1) that overcome the limitations of models $ 3^k $, such as Central Composition Experiments, which are general purpose experiments widely used in practice.

To perform the analysis of response surface models, we can use different techniques, depending on what is being analyzed. Visualizing the response surface for a first analysis is only possible when we have a maximum of 2 factors. When we have up to 3 factors we can use level curves. However, for higher order models numerical techniques are required and graphical visualization is not possible. For four or more factors, we may use techniques that are not described in this content.

19.6.1.1 Central Compound Experiment

Central composite experiments are the most popular among second-order experiment designs. Basically, these experiments are composed of a central point, which will be run with replicates and will give an internal estimate of the pure error, and axial points, which will determine the quadratic terms. These experiments are two-level full or fractional factorial experiments that have been augmented with a small number of carefully chosen treatments to allow estimation of the second-order response surface model.

In figure 6.1.1.1(a) we have an example of a factorial experiment $ 2^2 $, in figure 6.1.1.1(b) we have a central composite experiment that we obtain by adding a single point to the center and four points of the star (also called axial points). A star point is one in which all factors are fixed at their average levels. The coordinates of the four star points in Figure 6.1.1.1(b) are (-1,0), (1,0), (0,-1), and (0,1). In short, the four points of the star are located at the centers of each of the four edges of the experimental region.

(image missing)

Figure 6.1.1.1: (a) Factorial experiment $ 2^2 $, (b) Central composite experiment with $ \alpha=1 $, (c) Central composition experiment with $ \alpha=\sqrt{2}. $

The distance between a star point and the center point in units is $ \alpha. $ Note that, in figure 6.1.1.1(b) the points of the star are at a distance of one unit from the center, that is, $ \alpha=1. $ Sometimes, it is possible to place the star points beyond the experimental region defined by the original upper and lower limits of the factors, as shown in Figure 6.1.1.1(c) in which we present a central composite experiment in which the star points are located at a distance $ \alpha=\sqrt{2} $ from the center. As can be seen, each factor runs at more than five distinct levels when $ \alpha $ is greater than 1, while the use of $ \alpha $ it is composed of just three distinct levels for each factor, as shown in Figure 6.1.1.1(b). An advantage of fixing $ \alpha $ greater than 1, therefore, tests for cubic and quadratic curvature effects can be conducted.

Now, we define some important components for core composition experiments:

  1. $ 2^{k-f} $ vertex points: the basis of any central composite design is a 2-level full factorial design or fractional factorial design of resolution V or greater, where k is the number of factors and f is the number of fraction levels of a factorial design $ 2^2. $ This component is provided by estimating the linear main effects and all two-by-two interaction effects. Generally, we use the levels for the vertex points $ (\pm 1, \dots, \pm 1). $

  2. $ 2 k $ star points: the combination of these factor levels allows the estimation of all main quadratic effects. When we have $ \alpha> 1, $ we can conduct significance tests for large orders of curvature effects. Generally, we use the levels for star points $ (\pm \alpha, \dots, 0),~(0,\pm\alpha,\dots,0) $ etc.

  3. $ n_0 $ center points: if $ n_0> 1, $ an estimation of the pure error for $ \sigma^2 $ can be evaluated and a lack of fit test is possible. The coordinates of the center points are $ (0,\dots,0). $

With the definitions made so far, the term central composite experiment refers to the family of second-order experiment designs. However, we can have different designs depending on the vertex points $ \alpha $ and in the extensions of the repetitions. In these experiments, we can have repetitions at the center point, vertex points and star points. So, we have to $ n_c $ is the number of replicas at each vertex point and $ n_s $ the number of replicas at each point of the star. Now, we define the number of experimental runs as:

  1. $ 2^{k-f}n_c: $ number of experimental runs of the vertex points;
  2. $ 2~k~n_s: $ number of experimental runs of star points;
  3. $ n_T=2^{k-f}n_c+2~k~n_s+n_0: $ number of runs of the experiment.

In table 6.1.1.1, we have some usual core composition experiments.

Number of factors 2 3 4 5 6 7 8
Factorial experiment (base) $ 2^2 $ $ 2^3 $ $ 2^4 $ $ 2^{5-1}_V $ $ 2^{6-1}_V $ $ 2^{7-1}_V $ $ 2^{8-2}_V $
Star Points 4 6 8 10 12 14 16
Center points 1 1 1 1 1 1 1
$ \alpha~(n_c=n_s=1) $ 1,414214 1,6818 2 2 2,3784 2,8284 3,3636
Total runs $ (n_c=n_s=1,n_0=4) $ 12 18 28 30 48 82 84

Table 6.1.1.1: Usual core composition experiments.

Now, we show some guidelines for building a core composition experiment:

  • Determine the number of replicas of the central point;
  • Determine the axial points of the model; and
  • Construction of the planning matrix.

Example 6.1.1.1

(Montgomery, 1985) When analyzing a chemical process, we will develop a response surface model of order 2 to relate reaction time and temperature in relation to product yield. In table 6.1.1.1.1, we have the original data before central composition planning.

Time Temperature Product (yield %)
80 170 76,5
80 180 77
90 170 78
90 180 79,5
85 175 79,9
85 175 80,3
85 175 80
85 175 79,7
85 175 79,8
92,07 175 78,4
77,93 175 75,6
85 182,07 78,5
85 167,93 77

Table 6.1.1.1.1: Chemical process data.

Next, we will set up a central composition experiment as in table 6.1.1.1.2. In figure 6.1.1.1.1 we have an illustration of the planning.

(image missing)

Figure 6.1.1.1.1: Central composition planning with $ \alpha=\sqrt{2}. $

x1 x2 Product (yield %)
-1 -1 76,5
-1 1 77
1 -1 78
1 1 79,5
0 0 79,9
0 0 80,3
0 0 80
0 0 79,7
0 0 79,8
$ \sqrt{2} $ 0 78,4
$ -\sqrt{2} $ 0 75,6
0 $ \sqrt{2} $ 78,5
0 $ -\sqrt{2} $ 77

Table 6.1.1.1.2: Central composition planning table with $ \alpha=\sqrt{2}. $

Therefore, we model the data as follows:

$$Y=\beta_0+\beta_1 x_1+\beta_2 x_2+\beta_{11} x^2_1+\beta_{22} x^2_2+\beta_{12}x_1 x_2+\varepsilon_{12}$$

in which

  • Y represents the product which is the product yield in %;
  • $ x_1 $ represents the explanatory variable time in seconds;
  • $ x_2 $ represents the explanatory variable temperature in °C;
  • $ \varepsilon_{12} $ is the random variable that represents the experimental error;
  • $ \beta_0 $, $ \beta_1 $, $ \beta_2 $, $ \beta_{11} $, $ \beta_{22} $ and $ \beta_{12} $ are the model parameters, which are estimated, and which define the second-order polynomial regression.

Using Software Action we obtain the following results:

(image missing)

(image missing)

(image missing)

(image missing)

(image missing)

(image missing)

(image missing)

Example 6.1.1.2

(Montgomery, 1985) Suppose we are interested in developing a response surface model to relate the yield of a reaction (%) against temperature and reaction time.

The data is in the table below:

Temperature (ºC) 111 115 125 135 139
Time(s) 258 270 300 330 342

We can standardize the measurements, to facilitate interpretation, transforming them into values in the range [-1, 1]. The equation for the transformation is:

$$x_{i} = \frac{\xi_{i} - \frac{[\max(\xi_{i}) + \min(\xi_{i})]}{2}}{\frac{[\max(\xi_{i}) - \min(\xi_{i})]}{2}}.$$

Naming the variable Temperature $ (x_1) $ and time $ (x_2), $ we have:

$$x_1=\displaystyle\frac{{Temperatura}-125}{14}$$

$$x_2=\displaystyle\frac{{Tempo}-300}{42}$$

The transformed values of x1 and x2 are:

x1 x2 y
-0,714 -0,714 88,55
-0,714 0,714 86,29
0,714 -0,714 85,8
0,714 0,714 80,44
-1 0 85,5
1 0 85,39
0 -1 86,22
0 1 85,7
0 0 90,21
0 0 90,85
0 0 91,31

In this case, we can illustrate the experiment with a central point as shown in Figure 6.1.1.2.1, where each point represents a run. Note that we have 3 central points.

(image missing)

Figure 6.1.1.2.1: Description of the experiment with central point, for this example.

We could try to fit a first-order model, but as Figure 6.1.1.2.2 shows, this would not be a good alternative.

(image missing)

Figure 6.1.1.2.2: Linear fit to the data.

A more appropriate alternative would be quadratic adjustment, as shown in Figure 6.1.1.2.3.

(image missing)

Figure 6.1.1.2.3: Quadratic fit to the data.

In this case, the model will be of the type

$$y=\beta_0+\beta_1 x_1+\beta_2 x_2+\beta_3 x_1^2+\beta_4 x_2^2 +\beta_5x_1 x_2, \text{ em que }$$

$ x_1 $ $ x_2 $ $ x^2_1 $ $ x^2_2 $ $x1:x2 $
-0,714 -0,714 0,51 0,51 0,51
-0,714 0,714 0,51 0,51 -0,51
0,714 -0,714 0,51 0,51 -0,51
0,714 0,714 0,51 0,51 0,51
-1 0 1 0 0
1 0 1 0 0
0 -1 0 1 0
0 1 0 1 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0

Note that the last three lines correspond to the central point $ (x_1=x_2=0) $, then we can consider linear regression

$ Y= X\beta+\varepsilon, $ with

Screenshot_39

and thus, the adjusted model will be given by

$$\widehat{y}=90,794 - 1,547 x_1 - 1,476 x_2 - 5,514 x_2^2- 1,519 x_1 x_2.$$

(image missing)

Figure 6.1.1.2.4: Adjusted surface.

(image missing)

Figure 6.1.1.2.5: Contour curves for the fitted surface.

In Figures 6.1.1.2.4 and 6.1.1.2.5 we can observe the fitted surface and the contour curves, respectively.

To find the maximum answer, we can equate the derivatives of the function $ \widehat{y}, $ in relation to the variables $ x_1 $ and $ x_2, $ to 0. That is, we calculate

$$\frac{\partial \widehat{y}}{\partial x_1}=\beta_1+2,\beta_3 x_1+\beta_5 x_2=0$$

$$\frac{\partial \widehat{y}}{\partial x_2}=\beta_2+2 ,\beta_4 x_1+\beta_5 x_1=0$$

$$\frac{\partial \widehat{y}}{\partial x_1}=-1,547-2 \times 5,514 x_1 - 1,519 x_2 = 0$$

$$\frac{\partial \widehat{y}}{\partial x_2}=-1,476- 2 \times 4,999 x_2 - 1,519 x_1=0$$

and to solve the system

Screenshot_38

That is, the values of $ x_1 $ and $ x_2 $ that maximize the response are respectively $ -0,123 $ and $ -0,129 $, and the maximum yield of the reaction is $ \widehat{y}=90,98(porcentagem). $

In the original variables, we would obtain

$ Temperatura_{ótima}=123,28~ºC~e~tempo_{ótimo}=294,58 $

or approximately,

Temperature = 123 ºC and Time = 294 seconds.

19.6.1.2 Box-Behnken Experiment

Central composition plans are the most used with regard to order 2 response surface plans, however there are other types of models. Box-Behnken (1960) developed a family of efficient 3-level designs to model order 2 response surfaces.

Box-Behnken schedules differ from central composition schedules in two ways. Firstly, only 3 levels for each factor are employed. Secondly, Box-Behnken plans do not have vertex points, and are therefore sometimes preferred over central composition plans, because when there are physical or economic restrictions, they prevent the use of vertex points, that is, when all factor levels are at one extreme.

Box-Behnken experiments are characterized by experimental design with 3 factor levels and second-order models. This planning is based on experiments with balanced incomplete blocks. Basically, we set one of the variables to zero and a factorial $ 2^2 $ is executed with the other two variables.

When to use a Box-Behnken experiment: In some response surface experiments, we need to use factors with 3 levels (low, medium and high), in this case the Box-Behnken experiments are a good alternative to the central composition experiments. Furthermore, there is enough information to carry out a lack of fit test. Another interesting feature in this type of experiment is the symmetry of the arrangement of the points on the cube. A Box-Behnken experiment with k = 3 can be given by:

x1 x2 x3
-1 -1 0
-1 1 0
1 -1 0
1 1 0
-1 0 -1
-1 0 1
1 0 -1
1 0 1
0 -1 -1
0 -1 1
0 1 -1
0 1 1
0 0 0

and represented as in Figure 6.1.2.1

(image missing)

Figure 6.1.2.1: Box-Behnken experiment with k=3.

Example 6.1.2.1

An important step in the production of a polyamide resin is addition of amines. It was hypothesized that the manner of addition has a profound effect on the molecular weight distribution of the resin. Three variables were then considered: amine temperature (x1, ºC), agitation (x2, RPM) and the addition rate (x3, 1/min). As it is difficult to determine the addition and agitation levels, 3 levels were considered and a Box-Behnken experiment was proposed as below.

Level Temperature Unrest Fee $x_1$ $x_2$ $x_3$
High 200 10 25 1 1 1
Medium 175 7,5 20 0 0 0
Bass 150 5 15 -1 -1 -1

The experiment was carried out and the following responses were obtained:

$x_1$ $x_2$ $x_3$ y
-1 -1 0 53
1 -1 0 58
-1 1 0 59
1 1 0 56
-1 0 -1 64
1 0 -1 45
-1 0 1 35
1 0 1 60
0 -1 -1 59
0 1 -1 64
0 -1 1 53
0 1 1 65
0 0 0 65
0 0 0 59
0 0 0 62

The regression coefficients, the respective standard deviations and the observed values of the T statistic and the P-value of the quadratic model are given in table 6.1.2.1:

box_benhken

Table 6.1.2.1: Table of ANOVA and parameter estimates of the 2nd order polynomial model.

(image missing)

Table 6.1.2.2: Lack of Fit Test and residuals table.

(image missing)

Figure 6.1.2.2: Residual analysis graphs, probability paper etc.

(image missing)

Figure 6.1.2.3: Contour Graph (contours).

(image missing)

Figure 6.1.2.4: Contour graph (Areas).

(image missing)

Figure 6.1.2.5: Surface graph.

box_benhken6

Figure 6.1.2.6: Feasible region graph.

box_benhken7

Figure 6.1.2.7: Optimization Chart.

19.6.2 Response Surface Method

In many situations we are interested in evaluating the relationships between the main factors that make up a process and a response variable of interest. In these situations, our objective is to determine the operating condition of the process that will lead to obtaining an optimal value for the response variable. In general, we can represent the relationship between a response variable of interest ($ Y $) and $ k $ process factors ($w_1$, $w_2$, …, $w_k$) by an expression like

$$Y= f(w_1, w_2,\ldots, w_k) + \varepsilon$$

in which $ \varepsilon $ represents a random error component, which takes into account the variation observed in the response variable that is not explained by the factors $w_1$, $w_2$, …, $w_k$. We say that the function $ f $ defines a response surface.

  • A response surface is the figure obtained when a response variable is represented graphically as a function of one or more process factors.

Note that from the mathematical form of the function $ f $ it is possible to find which operating condition leads to the optimal point (maximum, minimum or target) of the response variable. However, in most practical situations, the mathematical form of the function $ f $ is not known, and it is therefore necessary to estimate it through the use of sample data. As it is usually difficult to find a function that is suitable for describing the relationship between $w_1$, $w_2$, …, $w_k$ and $ Y $, in all possible process operating conditions. In this chapter, we focus attention on narrow ranges of variable values $w_1$, $w_2$, …, $w_k$, so that it is possible to adjust simple equations, such as first and second order polynomials, which provide information on how we should conduct the process to find the optimal operating region. It is important to highlight that in most situations, the determination of $ f $ does not constitute the main interest of the study, being just a necessary step to obtain the optimal condition in which the process must be operated.

Example 6.2.1

We carried out an experiment to verify the reaction time (min), due to the concentration of reagent (A), at levels 10% and 20% and the temperature (B), at levels 80°C and 90°C. The experiment was carried out with 3 replicates and the data collected are in the following table.

Treatment A B Y1 Y2 Y3 Average (Y)
(o) -1 -1 26,6(1) 22,0(7) 22,8(10) 23,8
to 1 -1 40,9(4) 36,4(9) 36,7(12) 38
b -1 1 11,8(3) 15,9(8) 14,3(11) 14
ab 1 1 34,0(2) 29,0(5) 33,6(6) 32,2

In the table, the values in parentheses indicate the order (sequence) in which the treatments were carried out.

When adjusting the model, we found the following results:

(image missing)

Table 6.2.1: Results obtained for adjusting the linear model.

SupResp1_0

SupResp2_0

When adjusting the model, the AB interaction is not significant, therefore the best model to represent the data does not include the interaction

$$y = 27 + 8,1 A - 3,9 B$$

A response surface for model 5.2 is presented below.

(image missing)

(image missing)

Figure 6.2.2: Response surface for the model

In this figure, f(A,B) is represented graphically as a function of the levels of A and B. The response variable $ Y $ is then obtained as a surface in three-dimensional space.

For the response surface shown above, if some values of interest are fixed for the response variable $ Y $ we obtain, in the plane, curves called level curves or contour curves.

(image missing)

(image missing)

(image missing)

Figure 6.2.3: Response surface for the model

In Figure 6.2.3, the values in the legend, on the right, are the values fixed for the response variable $ Y $. In this figure, each contour curve corresponds to a particular height of the response surface.

In general, when involved $ k $ factors $x_1$, $x_2$, …, $x_k$ It is usual to construct level curves considering pairs of factors of interest (x1, x2). Thus, a level curve identifies the values ​​of the factors for which the response variable is constant.

As already mentioned, the form of the relationship between the response variable and the process factors is usually unknown. Therefore, the first step of the response surface method consists of determining an equation that approximately represents the relationship between the variables of the experiment. Often, when one is interested in considering a small region of the response surface, far from the optimum point, which is the point that maximizes or minimizes the response variable, there is almost no curvature on the surface. In this case, we can employ the first-order model presented below to represent the relationship between the variables:

$$y=\beta_0+\beta_1 x_1+\beta_2 x_2+\ldots+\beta_k x_k+\varepsilon$$

Near the optimum point, even for small regions of the surface, most of the time the curvature is more accentuated, making it necessary to use a higher order polynomial to represent the relationship between $ Y $ and $x_1$, $x_2$, …, $x_k$. Usually, a second-order model is employed.

It is important to highlight that the response surface method is a sequential procedure. Below we will briefly present an overview of the steps for determining the optimal operating condition of a process, using the response surface method.

A factorial experiment was carried out $2^2$; with the results described in the following table.

Time Temperature $x_1$ $x_2$ Purity
30 150 -1 -1 39,3
30 160 -1 1 40
40 150 1 -1 40,9
40 160 1 1 41,5
35 155 0 0 40,3
35 155 0 0 40,5
35 155 0 0 40,7
35 155 0 0 40,2
35 155 0 0 40,6

Table 6.2.2: Results obtained for adjusting the linear model.

(image missing)

Plot contour and surface graphs

(image missing)

Figure 6.2.4: Contour Graph (Lines).

(image missing)

Figure 6.2.5: Contour Chart (Areas).

The 3D Surface Graph opens in a new window and the user can rotate the surface to better analyze the graph.

(image missing)

Figure 6.2.6: Surface Graph (Static).

The Feasible Region is the white part of the graph.

(image missing)

Figure 6.2.7: Feasible Region Chart.

19.6.2.1 Optimization Methods

Generally, the form of the relationship between the response variable and the process factors is unknown. Therefore, the first step of the response surface method consists of determining an equation that represents, approximately, the relationship between the response $ Y $ and process factors $x_1$, $x_2$, …, $x_k$.

Often, when we consider a small region of the response surface, far from the optimum point, there is almost no curvature on the surface. In this case, we can employ the first-order model. Near the optimum, even for small regions of the surface, most of the time the curvature is more pronounced, making it necessary to use a higher order polynomial to represent the relationship between the response $ Y $ and process factors $x_1$, $x_2$, …, $x_k$. Usually, a second-order model is employed.

It is important to highlight that the response surface method is a sequential procedure. We present below, in summary form, an overview of the steps for determining the optimal operating condition of a process, using the response surface method.

Overview of the Steps for Determining the Optimal Operating Condition of a Process, using the Response Surface Method:

  • We list the factors that may have significant effects on the response variable of interest.
  • We plan an experiment that allows the identification of influential factors among those listed in item 1. At this stage, the 2k factorial experiments described previously are generally used.
  • We eliminated the factors detected as not influential in the previous stage and assessed the need to include new factors in the study. Note that this need may be the result of learning resulting from carrying out the experiment in step 2. If it is not necessary to include new factors, we must perform step 4. Otherwise, we must return to step 2.
  • We carried out a more detailed experiment, involving only the factors that have significant effects on the response variable. The objective of this step is to adjust a model that can represent the relationship between the influencing factors and the response. Generally, this experiment is carried out in a small region centered on the current operating condition of the process.
  • Based on the model adjusted in item 4, we carried out an analysis that will allow us to determine the optimal operating condition of the process.

How this analysis is carried out will be detailed throughout this section but, in general, the following guidelines must be observed:

  • In item 4, a first-order model is usually fitted. Initially we expect to be far from the optimal operating point of the process and as in this situation it is common for there to be only a slight curvature in the true functional relationship between the variables, a first order model will provide a good approximation for this relationship.
  • The first-order model will be the starting point so that we can move sequentially, quickly and efficiently, towards the optimum point.
  • In subsequent stages of the analysis, when the neighborhood of the optimal point has already been reached, it will be necessary to adjust a higher order model. Since in these regions the curvature present on the response surface will be more pronounced.
  • The interpretation of this model will allow the optimal operating condition of the process to be achieved.

Example 6.2.1.1

We carried out a factorial experiment $2^2$; with the results described in the following table.

Time Temperature $ x_1 $ $ x_2 $ Purity
30 150 -1 -1 39,3
30 160 -1 1 40
40 150 1 -1 40,9
40 160 1 1 41,5
35 155 0 0 40,3
35 155 0 0 40,5
35 155 0 0 40,7
35 155 0 0 40,2
35 155 0 0 40,6

(image missing)

Figure 6.2.1: Optimization Chart.

19.6.2.2 Maximum upward (descending) slope method

This section will detail steps 4 and 5 of the procedure for determining the optimal operating condition of a process using the response surface method.

Usually, the starting point of the experiment is far from the optimal operating condition of the process that we want to know. In this situation, the objective will be to approach the optimum as quickly and economically as possible.

A procedure that allows this objective to be achieved is the maximum upward (descending) slope method, when the objective is to maximize (minimize) the response. This method assumes that we will move sequentially along the direction of maximum upward slope, that is, in the direction in which the maximum increase in the response variable occurs. On the other hand, if the objective is to minimize the response, we will walk sequentially along the direction of maximum downward slope, that is, in the direction in which the maximum decrease in the response variable occurs. The maximum upward (descending) slope method consists of the steps presented below.

Steps of the Maximum Ascending (Descending) Slope Method:

  1. We carried out an experiment with the objective of fitting a first-order model in a small region of interest defined by the variables $ x_1,x_2,\ldots, x_k $. Generally, this region encompasses the usual operating condition of the process, which in most situations is far from optimal. In this region, it is common for the response surface to present only a slight curvature, which is then fitted by a first-order model. The first order model fitted in this region of interest is given by the equation

$$\begin{equation*}\displaystyle\widehat{y} = \widehat{\beta_0} + \sum_{i=1}^{k} \widehat{\beta_i} x_i\end{equation*}$$

For this surface, the contour lines are a series of parallel straight lines (first order), as shown in Figure (6.2.2.1).

  1. We use the information obtained in step 1 to determine the direction of maximum upward (descending) slope. The direction of maximum upward (descending) slope is the direction in which $ y $ increases (decreases) more quickly. This direction is perpendicular to the contour lines and is taken from the center of the region of interest.

  2. We conduct a series of experiments along the direction of maximum upward (descending) slope until a region is found where no increase (decrease) in the response variable is observed.

  3. We repeat steps 1, 2 and 3 starting from the new region determined in step 3. This repetition must be carried out as long as the lack of fit of the first-order model is not detected.

  4. When the lack of adjustment of the first-order model is detected, we carry out additional experiments to obtain a more accurate estimation of the optimal operating condition of the process. This estimation will most often involve fitting a second-order model.

$$\begin{equation*}\displaystyle\widehat{y}=\beta_0 + \sum_{i=1}^k \widehat{\beta}_i x_i +\sum_{i=1}^k \widehat{\beta}_{i} x_i^2 + \sum_{i=1}^k \sum_{j=i+1}^k \widehat{\beta}_{ij} x_i x_j + \varepsilon\end{equation*}$$

(image missing)

Figure 6.2.2.1: First order response surface and upward slope direction.

The need to adjust a second-order model is generally an indication that the vicinity of the optimum point has been reached.

Steps 1 through 4 of the maximum upward (descending) slope method are illustrated in the following example, and step 5 is described in the next section.

Example 6.2.2.1

A chemical engineer is interested in determining the operating conditions that maximize the yield of a process. Two control variables affect the response:

  • chemical reaction time (w1)
  • temperature (w2).

The process is operating with a reaction time of 35 minutes and a temperature of 155°F, with a yield of around 40%. The experimenter decided to evaluate the process in the region of (30, 40) minutes and (150, 160)°F. To simplify interpretation, the variables were transformed using:

$$x_i = \frac{w_i + \displaystyle\frac{\text{máx}(w_i) - \text{mín}(w_i)}{2}}{\displaystyle\frac{\text{máx}(w_i) - \text{mín}(w_i)}{2}}$$

We carried out a 22 factorial experiment, with the results described in the following table.

Time Temperature x1 x2 Purity
30 150 -1 -1 39,3
30 160 -1 1 40
40 150 1 -1 40,9
40 160 1 1 41,5
35 155 0 0 40,3
35 155 0 0 40,5
35 155 0 0 40,7
35 155 0 0 40,2
35 155 0 0 40,6
Factors G.L. Sum of Squares Medium Square Stat. F P-value
x1 1 2,4025 2,4025 68,75199 0,000417
x2 1 0,4225 0,4225 12,09062 0,017713
x1:x2 1 0,0025 0,0025 0,071542 0,799787
Residuals 5 0,174722 0,034944

Table 6.2.2.1: Analysis of variance.

In the ANOVA table, we note that the interaction between the two variables is not significant, as the p-value is far above the significance level $ \alpha=0,05, $ therefore the best model does not include interaction.

(image missing)

To understand how to perform this function of Software Action, you can refer to the user manual.

Therefore, the model that best fits the data is

$$y = 40,45 + 0,775 x_1 + 0,325 x_2.$$

For the significance test, a very small p-value was obtained, which indicated that the yield is related to the chemical reaction time and temperature. Below we present an analysis of the model parameters

The direction of maximum upward slope is the direction in which the yield of the chemical reaction increases most rapidly. This direction is perpendicular to the contour lines and is taken from the center of the region in which the model was adjusted in the previous step. It is possible to show that the steps that must be taken along the direction of maximum upward slope are obtained through the promotion of process factors, proportional increases in the regression coefficients $ j. $

Details of the procedure can be found below:

a) Choose the value of the change that will be suffered by one of the factors w1, …, wk from the center of the variation range of this factor.

This change will generate a new process operating condition, in relation to this factor, in which a new observation of the response variable will be collected. The factor considered (wi) must be the one whose effect on the response variable is best known by the person responsible, the experiment and/or the one with the regression coefficient of the highest absolute value. The magnitude of variation that will be suffered by this factor (wi) must be such that it does not imply a very large departure from where the model was adjusted and at the same time, we must cause a significant variation in the response variable. The wi signal must be chosen according to the criteria:

i) If the optimum point is maximum, $ \Delta w_i $ has the same sign as bi.

ii)If the optimum point is minimum, $ \Delta w_i $ has the opposite sign to bi.

b) Express the addition $ \Delta w_i $ in coded form

$$x_i = \frac{2 (w_i - C_i)}{A_i},$$

where:

  • Ci: center of the range of variation of the factor considered; and
  • Ai: amplitude of the range of variation of the factor considered.

Thus, the addition $ \Delta x_i $ is calculated by

$$\Delta x_i = \frac{2 \Delta w_i}{A_i}$$

c) Calculate the value of the variation that will be suffered by the other factors, in coded form.

$$\Delta x_j = \frac{b_{j+1}}{\frac{b_j}{\Delta x_j }}, \quad \forall j \neq i.$$

These changes must define the new operating condition of the process in which response observations will be collected.

d) Convert the $ \Delta x_j $ of the factors in coded form for changes $ \Delta w_j $ of the factors in their original form.

$$\Delta w_i = \Delta x_i \frac{A_j}{2}.$$

e) Obtain the new process operating condition: (C1 + w1, …, Ck + wk);

f) Obtain process response values for the new process operating condition and compare with the values obtained in the previous condition in (C1, …, Ck):

i) Maximum Point:

If the value of the process response for the new process operating condition (C1 + w1, …, Ck + wk) is greater than or equal to the average response obtained in (C1, …, Ck), return to step a) previous with the new process specification.

It is worth highlighting that it is usual to consider the same values ​​xj determined in the first iteration of the method, which makes it unnecessary to perform steps b), c) and d).

If the value of the response variable obtained for the new operating condition is lower than the average response obtained in (C1, …, Ck), terminate the experiment along this direction of maximum upward slope.

ii) Minimum point (the same considerations apply) as for the maximum point.

Returning to the example, we have:

a) Choose the value of the change that will be suffered by the reaction time factor (w1), from the center of the variation range of this factor.

$$\Delta w_1 = 5 , {minutos};$$

b) Express the increase $ \Delta w_1 $ in a coded way

$$\Delta x_1 = \frac{2 \Delta w_1}{A_1} = \frac{2 \times 5}{10}=1.$$

c) Calculate the value of the change, in coded form, that will be suffered by the temperature factor (x2), from the center of the variation range of this factor (155° F).

$$\Delta x_1 = \frac{b_2}{\frac{b_1}{\Delta x_1}} = \frac{0,325}{0,775}=0,42.$$

d) Convert the new operating condition of the process in which the yield observation will be collected

$$\Delta w_2 = \Delta x_2 \frac{A_2}{2} = 0,42 \frac{10}{2}=2,1.$$

e) New operating condition

$$(C_1 + w_1, \ldots, C_k + w_k) = ( 35 + 5 ; 155 + 2) = (40 , 157)$$

f) Compare the value of the response variable obtained for the new operating condition defined in the previous item with the average response obtained in (C1, C2).

Result obtained for process optimization

Screenshot_40

(image missing)

19.7 DOE Applications

19.7.1 Model for residual material particle size

This application aims to minimize the particle size of unwanted residual material in a certain product during its production. For this, an experiment was planned in which the variables were selected:

  1. Damper
  2. Drainage
  3. Current
  4. APS D90
  5. APS D50
  6. Sieve 45 μm

The response variable of this model is the 45 μm sieve, which is the amount of residue of unwanted materials that were retained on the sieve. The APS variables D90 and D50 represent the particle size distribution of the waste given in (%). The current is the air flow of the duct, the drainage represents the number of days for the material to dry and finally the damper measures the control of the material flow. Below we present the results of the experiment.

Damper Drainage Current APS D50 APS D90 Sieve 45 μm
25 7 40 12,4 25,5 0,02
25 7 40 12,2 24,2 0,02
25 7 40 12,6 24,5 0,02
25 7 60 11,4 23,6 0,02
25 7 60 11,4 23,4 0,01
25 7 60 11,4 23,1 0,01
25 7 75 10,3 21,2 0,01
25 7 75 10,4 20,9 0,01
25 7 75 10,5 20,9 0,00
50 7 75 13,3 27,4 0,00
50 7 75 13,4 27,4 0,00
50 7 75 13,5 27,5 0,00
50 7 60 13,1 27,6 0,00
50 7 60 13,2 27,7 0,00
50 7 60 13,7 28,2 0,00
50 7 40 13,6 29,1 0,00
50 7 40 13,8 29,6 0,01
50 7 40 13,9 29,8 0,01
75 7 40 16,8 39,5 0,31
75 7 40 16,7 39,1 0,36
75 7 40 16,4 38,8 0,38
75 7 60 15,8 37,8 0,39
75 7 60 15,7 37,6 0,37
75 7 60 15,6 37,6 0,37
75 7 75 15,2 35,8 0,24
75 7 75 15,1 35,6 0,22
75 7 75 15,0 35,7 0,24
50 7 60 12,9 28,8 0,06
50 7 60 13,0 28,3 0,07
50 7 60 13,0 27,5 0,06
50 7 60 12,7 27,1 0,04
50 7 60 12,6 26,3 0,03
50 7 60 12,5 26,4 0,03
50 7 60 11,9 25,5 0,02
50 7 60 12,3 26,1 0,02
50 7 60 12,6 26,6 0,02
50 7 60 11,5 25,0 0,02
50 7 60 11,6 25,1 0,03
50 7 60 11,8 25,3 0,03
50 7 60 14,5 33,0 0,04
50 7 60 14,7 33,5 0,03
50 7 60 14,9 33,7 0,03
50 7 60 13,7 28,4 0,02
50 7 60 13,4 28,3 0,03
50 7 60 13,7 28,4 0,02
25 30 40 11,9 25,6 0,02
25 30 40 11,7 25,0 0,02
25 30 40 11,6 23,8 0,02
25 30 60 11,0 22,5 0,00
25 30 60 11,0 22,3 0,00
25 30 60 10,9 21,6 0,00
25 30 75 10,2 21,0 0,01
25 30 75 10,0 20,5 0,02
25 30 75 10,0 20,1 0,01
50 30 75 12,9 26,4 0,01
50 30 75 13,4 26,4 0,02
50 30 75 13,2 26,7 0,01
50 30 60 12,8 26,4 0,02
50 30 60 12,5 25,9 0,01
50 30 60 13,1 26,7 0,01
50 30 40 12,8 27,2 0,04
50 30 40 13,0 27,6 0,02
50 30 40 13,2 27,9 0,02
75 30 40 13,7 30,9 0,06
75 30 40 13,6 30,9 0,07
75 30 40 14,0 30,7 0,18
75 30 60 14,1 31,70 0,04
75 30 60 14,0 31,7 0,02
75 30 60 13,9 31,6 0,07
75 30 75 14,5 32,3 0,05
75 30 75 14,4 32,1 0,05
75 30 75 14,4 32,1 0,05
50 30 70 11,0 21,5 0,04
50 30 70 11,1 21,6 0,03
50 30 70 11,2 21,6 0,05
50 30 60 12,0 24,9 0,04
50 30 60 12,1 24,6 0,03
50 30 60 12,1 24,5 0,03

19.7.1.1 Adjustment of the complete model

Considering the multiple linear regression model with all the explanatory variables listed in the residual material particle size model section, we initially check whether there are collinearity and multicollinearity problems between the variables involved.

Using Software Action we obtain the following results:

(image missing)

Table 7.1.1: Correlation matrix for model covariates.

Analyzing Table 7.1.1 we observe that the variables APS D50 and APS D90 have a correlation greater than 0.9. In this way, we will eliminate the APS D50 covariate from the model. After evaluating the collinearity between the covariates involved, we perform an outlier diagnosis in order to detect whether any observation is an outlier and an influential point.

(image missing)

Figure 7.1.1: Boxplot of hii, leverage, standardized and studentized residuals versus adjusted values.

Now, let’s diagnose outliers. From Figure 5.3.1 we observe that observations 48, 66 and 69 are outliers in Y because the values of the studentized and standardized residuals are greater than 3.

(image missing)

Table 7.1.2: Bonferroni test for outliers.

In order to confirm the graphical analysis, using the Bonferroni test in Table 7.1.2, only observation 66 rejects the hypothesis that it is not an outlier.

Modelo_Res_influente_0

Figure 7.1.2: Graphs of observation influence measures.

From Figure 7.1.2 we see that in addition to outliers, observation 66 is an influential point because its values $ D_i $ (Cook’s Distance) is greater than 1.

19.7.1.2 Graphic analysis

The objective of this model is to optimize the minimum amount of unwanted waste flakes on the 45 μm sieve (close to zero). Therefore, due to practice and in relation to costs, we define some boundary conditions for the variables. Below are the boundary conditions:

  • APS (D50): between 11.0 to 20
  • APS (D90): maximum 28.0.
  • 45µm sieve: maximum 0.03 g.
  • Drain time: 0 to 30 days

The APS variables (D50) and (D90) represent accumulated particle size distribution of residue from a certain type of material (50% and 90% respectively). The Drainage variable represents the drainage time, more specifically, the time in which the material is kept for drying. The Damper represents the opening of the system for the passage of material and the current at the speed of the material passes through the damper. And finally, the 45μm Sieve represents how much unwanted residue of a certain type of material remains in the sieve.

Initially, we will perform graphical analysis, in order to have an overview.

(image missing)

Figure 7.1.2.1: Graph of the feasible region APS D50 x APS D90 fixing the variables Damper, Drainage and Current.

(image missing)

Figure 7.1.2.2: Graph of the feasible region APS D50 x APS D90 fixing the variables Damper, Drainage and Current.

(image missing)

Figure 5.3.2.3: Graph of the feasible region APS D50 x APS D90 fixing the variables Damper, Drainage and Current.

After analyzing the graphs of the feasible regions, we observed that for a 7-day drainage we have to work with APS D90 with 23 μm of residue, as this reaches the lower limit of 11 μm of residue for APS D50. We also note that, setting the drainage at 7 days and the current at 60, when we increase the damper, we increase the APS D50, reaching a maximum of 15 μm for a damper of 75. An important observation is that we must evaluate the white bands, as they are the regions equivalent to a 45μm sieve that retains 0 to 0.03 g of unwanted residue. However, setting the drainage at 30 days and the current at 60, when we increase the damper from 25 to 50, we increase the APS D50 with a maximum of 15 μm of material residue at 50%. Now, when we increase the damper from 50 to 75, we decrease the APS D50, reaching a maximum of approximately 12 μm.

Other types of graphs can be applied to the model, such as contour and surface graphs. Below we present some graphs.

(image missing)

Figure 7.1.2.4: Contour graph (lines).

(image missing)

Figure 7.1.2.5: Contour graph (Areas).

(image missing)

Figure 7.1.2.6: Response surface graph.

Note that, from the graphs in figures 5.3.2.4 and 5.3.2.5, setting the current at 50, the APS D50 at 12 μm and APS D90 at 23.1 μm, we obtain for a damper of 30 that drainage is free from 7 to 30 days to obtain 0 g on the 45 μm sieve.

19.7.1.3 Final Model

As analyzed in the adjustment section of the complete model, we observed that the variables APS D50 and APS D90 have a correlation greater than 0.9. In this way, we will eliminate the APS D50 covariate from the model. After evaluating the collinearity between the covariates involved, observation 66 is an influential point because its values of $ D_i $ (Cook’s distance) is greater than 1. So, let’s remove this observation from the model.

Therefore, the final model is given by:

$$Y=\beta_0+\beta_1 x_{1}+\beta_2 x_{2}+\beta_3 x_{3}+\beta_3 x_{3}+\beta_4 x_{4}+\beta_6 x_{1}:x_{2}+\dots+\beta_{32} x_{1}:x_{2}:x_{3}:x_{4}~~~(7.1.3.1)$$

in which

  • Y: is the 45 μm sieve;
  • $β_0$: is the intercept;
  • $x_1 $: is the damper variable;
  • $x_2 $: is the drainage variable;
  • $x_3 $: is the current variable;
  • $x_4 $: is the APS D90 variable;
  • $β_i $: are the model coefficients for the variables x1, x2, x3, x4 and the two-by-two, three-by-three, etc. interactions between these variables, for i=1,…,32.

Next, we will present the results obtained by the Action software.

(image missing)

Table 7.1.3.1: ANOVA table.

When adjusting the model with the variables Damper, Drainage, Current, APS D90 and all interactions as explanatory variables for the 45 μm Sieve variable, we observed that the model is significant at the 5% significance level. This fact is also seen in table 7.1.3.2 in the table with individual parameter testing.

(image missing)

Table 7.1.3.2: Table with the estimation of model parameters.

O $ R^2 $ is a descriptive measure of the quality of the fit obtained. In general we refer to the $ R^2 $ as the amount of variability in the data that is explained by the fitted regression model. In this case we get $ R^2 $=0,97.

Table 7.1.3.3: Table with standard deviation of residuals, degrees of freedom and association measures $ R^2 $ and $ R^2 $ adjusted.

A large value of $ R^2 $ does not mean a steeper straight line, moreover, it does not take into account the model’s lack of adjustment. O $ R^2 $ may be large even if y and x are non-linearly related. In this way, we have to $ R^2 $ it should not be observed alone, but always combined with other diagnoses of the model. Therefore, to reinforce the fit of the model, we will analyze the lack of fit of model 7.1.3.1.

Now, let’s test the following hypothesis:

Screenshot_41

We initially have

$$ (y_{ij}-\hat{y}_i)=(y_{ij}-\bar{y}_{i.})-(\bar{y}_{i.}-\hat{y}_{i}).$$

From this, we calculated the sum of squares separately for Lack of Fit.

$$SQE=\sum_{i=1}^m\sum_{j=1}^{n_i}(y_{ij}-\overline{y_{i.}})^2 +\sum_{i=1}^m \sum_{j=1}^{n_i}(\hat{y}_{ij}-\overline{y_{i}})^2$$

$$=0,00135+0,01448771=0,01583771.$$

$$QM_{LOF}=\frac{SQ_{LOF}}{m-p-1}=\frac{0,01448771}{48}= 0,000301827.$$

$$QM_{PE}=\frac{SQ_{PE}}{n-m}=\frac{0,00135}{10} =0,000135.$$

We can then calculate the F statistic, based on the mean squares, knowing that in this example the values ​​of m=122 and n=132.

$$F_0=\frac{QM_{LOF}}{QM_{PE}} = \frac{0,000301827}{0,000135}= 2,2357.$$

Se $ H_0 $ is true, we get that $ F_0 \sim F_{(48;10)}. $

Therefore, we reject $ H_0 $ if $ F_0> F_{(48; 10)} $. How $ F_{(48;10)}=2,64, $ then we have $ F_0< F_{(48;10)}. $ Thus, we have no evidence to reject $ H_0. $ Next, we will calculate the p-value.

$$\text{P-valor}=P[F_{(48; 10)}> F_0]= 0,08512.$$

Below we have the ANOVA Table with the Lack of Fit of the data with replicates.

(image missing)

Table 7.1.3.4: Lack of Fit test table.

Therefore, we do not reject the hypothesis that the linear model is adequate, that is, the linear model is adequate.

Below we present some diagnoses of the final model, such as the diagnosis of outliers and influential points.

(image missing)

Figure 5.3.3.1: Outlier diagnosis graph.

(image missing)

Figure 7.1.3.2: Graph of influential point diagnosis.

Now, let’s evaluate the homoscedasticity (constant variance of errors εi) of the model. From table 5.3.3.5, we obtain that the APS D90 variable is responsible for the heteroscedasticity of the model (negligible p-value). Thus, we can no longer say that Least Squares Estimators are the best minimum variance estimators for $ \beta, $ although they may still be non-addicted.

(image missing)

Table 7.1.3.5: Homoscedasticity diagnosis table.

Next, as we do not obtain least squares estimators with minimum variance, in the next section we will forecast the adjusted model and some optimization graphs of the final model.

19.7.1.4 Forecasting and model optimization methods

In this section, we will study the optimization and prediction methods of the final adjusted model obtained in section 19.7.1.3. First, let’s do a graphical analysis. In this analysis, we will set the current at 60 and the APS D90 at 21. Using the Action software we have the following results:

(image missing)

Figure 7.1.4.1: Contour graph or level curves (lines).

(image missing)

Figure 7.1.4.2: Contour graph or contour lines (Areas).

(image missing)

Figure 7.1.4.3: Response Surface Graph.

Evaluating graphs 7.1.4.1 and 7.1.3.2 we observed that for drainage up to 20 days, we have to work with a damper above 50 (light blue and medium green area), in order to obtain a minimum amount of material residue on the 45 μm sieve (from 0 to 0.03 g). Now, for drainage over 25 days, we have to work with a lower damper (below 40) in order to obtain the same results for the 45 μm sieve.

Below, we present the forecast for some configurations in the damper, drainage, current and APS D90 variables.

(image missing)

The yellow lines are some configurations that meet the measurement needs, which aim to meet the minimum mass of unwanted material waste, within the range of 0 to 0.03 grams. Finally, let’s analyze the regression model optimization graph. To do this, we will analyze two situations, the first with the lowest drainage time, then with the highest time. Below we present the graphs.

(image missing)

(image missing)

Note that, to obtain practically zero material residue on the 45 μm sieve, we need at least 11 days of drainage, with 25 of damper, 74.9 of current and 20.5 of APS D90. Now, with a drainage time of 30 days, damper 25, current 75 and APS D90 of 21.65, we obtain zero residue on the sieve and 45 μm. Therefore, we can achieve zero material waste depending on the draining time.

Bibliographic References

[1] Bussab, W. O. & Morettin, P. A. (1987), Basic Statistics, 4th Edition, Current Publisher: São Paulo.

[2] Magalhães, M. N. & Lima, A. C. P. (2001), Notions of Probability and Statistics, Editora USP: São Paulo.

[3] Mason, R. L., Gunst, R. F. & Hess, J. L. (1989), Statistical Design and Analysis of Experiments: with applications of Engineering and Science, John Wiley & Sons: New York.

[4] Meyer, P. L. (1983), Probability: Applications to Statistics, second edition, Technical and Scientific Books Publisher: Rio Janeiro.

[5] Montgomery, D. C. (1985), Introduction to Statistical Quality Control, John Wiley: New York.

[6] Montgomery, D. C. (1997), Design and Analysis of Experiments, John Wiley and Sons: New York.

[7] Neter, J. & Kutner, M. H. & Wasserman, W. & Nachststein, C. J. (1996) Applied Linear Statistical Models. Forth Edition, Ed. Irwin.

[8] R Development Core Team (2007). A: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

[9] Schmidt, S. R. & Launsby, R. G. (1997), Understanding Industrial Designed Experiments, Air Academic Press: Colorado.

[10] Vieira, S. and Hoffmann, R. (1989) Experimental Statistics. Atlas Publisher, São Paulo.

[11] Isabela da Costa César and Gerson Antônio Pianetti. Robustness evaluation of the chromatographic method for the quantitation of lumefantrine using youden’s test. Brazilian Journal of Pharmaceutical Sciences, 45(2):235{240, 2009.

[12] Cuthbert Daniel. Use of half-normal plots in interpreting factorial two-level experiments. Technometrics, 1(4):311{341, 1959.

[13] General Accreditation Coordination. Guidance on validating analytical methods. Technical report, DOQ-CGCRE-008, revision 3, 2010.

[14] Russell V Lenth. Quick and easy analysis of unreplicated factorials. Technometrics, 31(4):469{473, 1989.

Last modified 13.10.2026: ajuste das numerações (e4440012)
↑