3. Experiment with Replicas
Through this manual we analyze experiments with replicates and without replicates.
Example:
Study the effect on time of a given chemical reaction of varying the temperature and concentration of a reactant, as shown in the diagram below.

| Variable Answer | Y: Reaction time |
|---|---|
| Factors | A: Concentration of Reagent (Levels $V_{-1}$=10% e $V_{+1}$=20%) |
| B: Temperature (levels $T_{-1}$=80ºC e $T_{+1}$=90ºC) | |
| Treatment | $V_{-1}$ $T_{-1}$ - concentration in 10% e temperature in 80ºC ((0)),$\quad$ & |
| $V_{+1}$ $T_{-1}$ - concentration in 20% e temperature in 80ºC (a), | |
| $V_{-1}$ $T_{+1}$ - concentration in 10% e temperature in 90ºC (b) | |
| $V_{+1}$ $T_{+1}$ - concentration in 20% e temperature in 90ºC (ab) | |
| (The number of treatments is 2k, in this case $2^2$=4) | |
| Experimental Unit | Time period for each reaction |
| Replicas | Repetition of the experiment done under the same conditions |
| experimental, in the case of the example under the same temperature | |
| level and reagent. How much more replicas, more reliable the | |
| results of the experiment. |
a) Obtain estimates of the model parameters;
b) Make test of hypothesis to analyze the significance of the parameters.
Build a table as below:
| Treatment | A | B | Y |
|---|---|---|---|
| 0 | -1 | -1 | 26.6 |
| (a) | 1 | -1 | 40.9 |
| (b) | -1 | 1 | 11.8 |
| (ab) | 1 | 1 | 34 |
| 0 | -1 | -1 | 22 |
| (a) | 1 | -1 | 36.4 |
| (b) | -1 | 1 | 15.9 |
| (ab) | 1 | 1 | 29 |
| 0 | -1 | -1 | 22.8 |
| (a) | 1 | -1 | 36.7 |
| (b) | -1 | 1 | 14.3 |
| (ab) | 1 | 1 | 33.6 |
To load the data, open Data upload, choose the Paste tab, paste the table above (with the column names), give the dataset a name (for example, DOE com réplicas — tempo de reação), and click Load.

In the sidebar menu, open DOE › Experiment with Replica › Analysis and fill in the Settings panel:
- In Response Variable, select
Y. - In Independent Variables, select
A,B. - Check 1st Order.
- Uncheck 2-way interaction.
- Uncheck 2nd Order.
- Uncheck 3-way interaction.
- Check No Intercept.
- Check Prediction Values.
- Uncheck Forecast Values (New Data).
- In Diagnose Errors, select
Residues Analysis,Lack of Fit Test,Influential Points. - In Trust Level, enter
0.95. - In Optimization goal, choose Maximize.
- Click Calculate.

In the Results panel, you can also download the analysis as Excel, Word, or PDF.
The results are
ANOVA table
| D.F. | Sum of Squares | Mean Square | F Stat. | P-value | |
|---|---|---|---|---|---|
| A | 1 | 787.32 | 787.320 | 0.894 | 0.367 |
| B | 1 | 182.52 | 182.520 | 0.207 | 0.659 |
| Residuals | 10 | 8808.72 | 880.872 |
Exploratory Analysis (residues)
| Minimum | 1Q | Median | Mean | 3Q | Maximum |
|---|---|---|---|---|---|
| 23.8 | 24.725 | 26.65 | 27 | 29.275 | 30.8 |
Coefficients
| Effects | Estimate | Standard Deviation | T Stat. | P-value | |
|---|---|---|---|---|---|
| A | 16.2 | 8.1 | 8.568 | 0.945 | 0.367 |
| B | -7.8 | -3.9 | 8.568 | -0.455 | 0.659 |
Descriptive measure for Goodness-of-Fit
| Standard deviation of residuals | Degrees of Freedom | R² | Adjusted R² |
|---|---|---|---|
| 29.679 | 10 | 0.099 | -0.081 |
Confidence interval for the parameters
| 2.5 % | 97.5 % | |
|---|---|---|
| A | -10.99 | 27.19 |
| B | -22.99 | 15.19 |
Prediction Interval
| Y | A | B | Fitted Value | Lower Limit | Upper Limit | Standard Deviation | |
|---|---|---|---|---|---|---|---|
| 1 | 26.6 | -1 | -1 | -4.2 | -31.197 | 22.797 | 12.117 |
| 2 | 40.9 | 1 | -1 | 12 | -14.997 | 38.997 | 12.117 |
| 3 | 11.8 | -1 | 1 | -12 | -38.997 | 14.997 | 12.117 |
| 4 | 34 | 1 | 1 | 4.2 | -22.797 | 31.197 | 12.117 |
| 5 | 22 | -1 | -1 | -4.2 | -31.197 | 22.797 | 12.117 |
| 6 | 36.4 | 1 | -1 | 12 | -14.997 | 38.997 | 12.117 |
| 7 | 15.9 | -1 | 1 | -12 | -38.997 | 14.997 | 12.117 |
| 8 | 29 | 1 | 1 | 4.2 | -22.797 | 31.197 | 12.117 |
| 9 | 22.8 | -1 | -1 | -4.2 | -31.197 | 22.797 | 12.117 |
| 10 | 36.7 | 1 | -1 | 12 | -14.997 | 38.997 | 12.117 |
| 11 | 14.3 | -1 | 1 | -12 | -38.997 | 14.997 | 12.117 |
| 12 | 33.6 | 1 | 1 | 4.2 | -22.797 | 31.197 | 12.117 |
Summary of Residual Analysis
| N.Obs | A | B | Residuals | Studentized Resiaduals | Standardized Residuals | Leverage | DFFITS | DFBETA | D-COOK |
|---|---|---|---|---|---|---|---|---|---|
| 1 | -1 | -1 | 30.8 | 1.156 | 1.137 | 0.167 | 0.517 | -0.365 | 0.129 |
| 2 | 1 | -1 | 28.9 | 1.075 | 1.067 | 0.167 | 0.481 | -0.34 | 0.114 |
| 3 | -1 | 1 | 23.8 | 0.868 | 0.878 | 0.167 | 0.388 | 0.274 | 0.077 |
| 4 | 1 | 1 | 29.8 | 1.113 | 1.1 | 0.167 | 0.498 | 0.352 | 0.121 |
| 5 | -1 | -1 | 26.2 | 0.964 | 0.967 | 0.167 | 0.431 | -0.305 | 0.094 |
| 6 | 1 | -1 | 24.4 | 0.891 | 0.901 | 0.167 | 0.399 | -0.282 | 0.081 |
| 7 | -1 | 1 | 27.9 | 1.033 | 1.03 | 0.167 | 0.462 | 0.327 | 0.106 |
| 8 | 1 | 1 | 24.8 | 0.907 | 0.915 | 0.167 | 0.406 | 0.287 | 0.084 |
| 9 | -1 | -1 | 27 | 0.996 | 0.997 | 0.167 | 0.445 | -0.315 | 0.099 |
| 10 | 1 | -1 | 24.7 | 0.903 | 0.912 | 0.167 | 0.404 | -0.286 | 0.083 |
| 11 | -1 | 1 | 26.3 | 0.968 | 0.971 | 0.167 | 0.433 | 0.306 | 0.094 |
| 12 | 1 | 1 | 29.4 | 1.096 | 1.085 | 0.167 | 0.49 | 0.347 | 0.118 |
Criterion
| Diagnostic | Formula | Value |
|---|---|---|
| hii (Leverage) | (2*(p+1))/n | 0.330 |
| DFFITS | 2* raíz ((p+1)/n) | 0.820 |
| DCOOK | 4/n | 0.333 |
| DFBETA | 2/raíz(n) | 0.580 |
| Standardized Resiaduals | (-3,3) | 3.000 |
| Studentized Residuals | (-3,3) | 3.000 |
–

Normality Test
| Statistics | P-value | |
|---|---|---|
| Anderson-Darling | 0.290 | 0.549 |
| Shapiro-Wilk | 0.941 | 0.515 |
| Kolmogorov-Smirnov | 0.159 | 0.552 |
| Ryan-Joiner | 0.979 | 0.669 |

Homoscedasticity Test - Breusch Pagan
| Statistics | DF | P-value |
|---|---|---|
| 0 | 1 | 1 |

Homoscedasticity Test - Goldfeld Quandt
| Variable | Statistics | DF1 | DF2 | P-value |
|---|---|---|---|---|
| A | 0.543762619611975 | 3 | 2 | 0.602191866042602 |
| B | 0.538356274651855 | 3 | 2 | 0.597230105553078 |
Independence Test - Durbin-Watson
| Statistics | P-value |
|---|---|
| 0.0143 | 0 |

Lack of Fit Test
| DF | Sum og square | Mean Square | F Stat. | P-value | |
|---|---|---|---|---|---|
| A | 1 | 787.32 | 787.320 | 129.281 | 0.000 |
| B | 1 | 182.52 | 182.520 | 29.970 | 0.001 |
| Residuals | 10 | 8808.72 | 880.872 | ||
| Lack of Fit | 2 | 8760.00 | 4380.000 | 719.212 | 0.000 |
| Pure Error | 8 | 48.72 | 6.090 |






Analysis Result
| Y | A | B |
|---|---|---|
| 26.6 | -1 | -1 |
| 40.9 | 1 | -1 |
| 11.8 | -1 | 1 |
| 34.0 | 1 | 1 |
| 22.0 | -1 | -1 |
| 36.4 | 1 | -1 |
| 15.9 | -1 | 1 |
| 29.0 | 1 | 1 |
| 22.8 | -1 | -1 |
| 36.7 | 1 | -1 |
| 14.3 | -1 | 1 |
| 33.6 | 1 | 1 |
The value of 0.025;12−3−1=2.306 and thus we conclude that, with level α=5%, 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 +1 and -1 and as we are interested in obtaining the smallest response (shortest reaction time), we choose levels A−B+.
At the end of the Results panel, Action Stat shows the Optimization Chart, which displays, for each factor, the predicted response across the levels and the level that meets the Optimization goal chosen in the settings (Maximize, Minimize, Nominal, or Adjust manually). To obtain the shortest reaction time, choose Minimize and click Calculate again.
