Tools › Quality › Design of Experiments › DOE Design Generator › Method
DOE Design Generator: Method
Open the free DOE Design Generator and Run Sheet
DOE Design Generator: Run Sheets, Aliases and Resolution of Designed Experiments
The tool takes a list of factors with their low and high settings and a choice of design, and returns the runs to carry out, in random order, with what that set of runs can and cannot tell apart: the defining relation and alias table of a fractional design, its resolution, the effects given up to blocks, and the degrees of freedom left for error. It builds and describes the design chosen; it does not choose one.
The idea: coded levels and the cube
Each factor is rescaled so that its low setting is −1 and its high setting +1. A run is then a point, and the runs of a two-level design with three factors are corners of a cube. Running all eight corners is the full factorial 23. Running a well-chosen half of them still tests each factor at both levels equally often, at the cost that some effects can no longer be told apart.

Real setting = midpoint + coded level × half-range, where the midpoint is (low + high) ÷ 2 and the half-range (high − low) ÷ 2. A factor with two named levels (two suppliers, two methods) is coded the same way and has no center.
The designs
| Design | Runs per replicate | What it is |
|---|---|---|
| Full factorial 2k | 2k | Every combination of low and high. Every main effect and interaction has its own contrast. |
| Fractional factorial 2k−p | 2k−p | The first k − p factors form a full factorial; each of the other p factors is set to a product of their columns (its generator). |
| Plackett-Burman | 12, 20 or 24 | Up to N − 1 factors in N runs, N a multiple of 4. Main effects only; they are partly aliased with two-factor interactions. |
| General full factorial | product of the level counts | Every combination of factors with any number of levels. |
| Central composite | F + 2k + center runs | F corner runs (a 2k or a resolution V half fraction), two star points on each axis at ±α, and center runs. Fits a full quadratic model. |
| Box-Behnken | edge runs + center runs | Groups of two or three factors take every ±1 combination while the rest stay at 0. Three levels per factor, no corner runs. Fits a full quadratic model. |
The stored generators of the fractional designs, the three Plackett-Burman tables and the center-point counts of the response-surface designs are those printed in the NIST/SEMATECH e-Handbook of Statistical Methods, sections 5.3.3.4 to 5.3.3.6. The Box-Behnken groups for six and seven factors follow Box and Behnken (1960) as recalled rather than as read; the page checks their balance and that the quadratic model can be fitted, and says so in the results.
Generators, the defining relation and aliases
Take five factors in 16 runs. A, B, C and D run through a full 24, and E is set to the product of their columns: the generator is E = ABCD. Multiply both sides by E. Because a column times itself is a column of +1 (written I), this gives the defining relation I = ABCDE: the product of those five columns is +1 in every run of the design.
To find what an effect is aliased with, multiply it by each word of the defining relation and drop any letter that appears twice: A × ABCDE = BCDE, so the contrast that estimates the main effect of A really estimates A + BCDE. With several generators the defining relation also holds every product of the words: for D = AB and E = AC it is I = ABD = ACE = BCDE.
The resolution is the length of the shortest word.
| Resolution | What is aliased with what |
|---|---|
| III | Main effects are clear of each other but share contrasts with two-factor interactions. |
| IV | Main effects are clear of two-factor interactions; two-factor interactions share contrasts with each other. |
| V | Main effects and two-factor interactions are clear of each other; two-factor interactions share contrasts with three-factor interactions. |
A generator typed with a minus sign (E = −ABCD) selects the other half of the full factorial; the aliases are the same with signs reversed, and the page prints the signs.
A Plackett-Burman design has no defining relation. Its main-effect columns are uncorrelated with each other, but the column of a two-factor interaction jk is partly correlated with the columns of the other factors. The page reports the coefficient c = Σ xi xj xk ÷ N for every main effect i and interaction jk: an interaction of true size β shifts the estimate of main effect i by c β. In the 12-run design every such coefficient is ±1/3.
Blocks
When the runs cannot all be made under the same conditions (two days, two batches of material), a two-level design is split into 2, 4 or 8 blocks by block generators: a run goes to a block according to the signs of chosen interaction columns. Those interactions, their products and all their aliases are then mixed up with the block differences and are given up. The page searches every possible set of block generators and takes the one that gives up the fewest main effects, then the fewest two-factor interactions, then the fewest three-factor interactions and so on (each effect counted at the length of its shortest alias), and lists what is given up. Runs are randomized inside each block.
A central composite design is blocked by running the star points, with center runs of their own, apart from the corner runs.
Star distance of a central composite design
| Rule | Formula | Property |
|---|---|---|
| Rotatable | α = F1/4 | The variance of a predicted response depends only on the distance from the center. F is the number of corner runs: 8 gives 1.682, 16 gives 2. |
| Orthogonal blocks | α² = F (S + cs) ÷ (2 (F + cf)) | A block difference between corner runs and star points does not shift the fitted coefficients. S = 2k star points, cs and cf the center runs with the star points and with the corner runs. |
| Orthogonal quadratic terms | α² = (√(F N) − F) ÷ 2 | The squared terms are uncorrelated with each other. N is the number of runs in one replicate. |
| Face-centered | α = 1 | Three levels per factor and nothing outside the entered range; not rotatable. |
In a circumscribed design the corner runs are at the entered low and high and the star points lie beyond them, so settings outside the entered range are called for; the page lists them. In an inscribed design everything is divided by α: the star points are at low and high and the corner runs inside.
Degrees of freedom
N runs carry N degrees of freedom. The mean takes one, B blocks take B − 1, and each term of the model that can be estimated takes one. What remains is left for error. It splits into pure error, from runs repeated at the same settings in the same block, and lack of fit, which measures error only if the terms left out of the model are negligible. The model counted is main effects and two-factor interactions for two-level and general factorial designs (plus one curvature contrast when there are center points), main effects for Plackett-Burman designs, and the full quadratic for response-surface designs. In a two-level design an effect confounded with the blocks is not counted in the model.
The random order
The run order is a Fisher-Yates shuffle driven by the Park-Miller generator x ← 16807 x mod (231 − 1), started from the seed and advanced three steps before use. For a list of n runs, i goes from n − 1 down to 1 and item i is swapped with item (x mod (i + 1)), a fresh x for each step; blocks are shuffled one after another with the same stream. The same seed therefore gives the same sheet anywhere.
What it assumes
- Each run can be set to the listed combination independently of the run before it; factors that are hard to change call for a split-plot design, which this page does not build.
- Coded levels are evenly spaced in the units entered. A factor that is varied on a logarithmic scale can be entered as its logarithm.
- The degrees-of-freedom table assumes the stated model; the alias table lists aliases up to the order chosen and counts the rest.
- Blocks differ only by a constant shift of the response.
When it misleads
- A resolution III design shows a large "main effect" that is really a two-factor interaction of two other factors. The alias table names the candidates; only more runs can separate them.
- A saturated design leaves no degrees of freedom for error, so nothing in the data says how large chance variation is.
- Center points detect curvature but cannot say which factor causes it.
- A circumscribed central composite design asks for settings beyond the entered range; if those cannot be run, the design run is not the design planned.
- Standard order is not a run order: time trends then line up with the factor columns.
Common mistakes
- Reading a fraction's "effect of A" as the effect of A alone, without looking at its aliases.
- Calling a design resolution IV because the generators have three letters: the resolution is the shortest word of the whole defining relation, products included, and each generator word gains the letter of its own factor.
- Forgetting the products: with generators D = AB and E = AC the word BCDE is in the defining relation too.
- Counting replicates as blocks, or repeat measurements of one run as replicates. A replicate is a fresh setup of the same settings.
- Running the center points first or last as a group instead of spreading them through the random order.
- Using the rotatable α of the full factorial (2k/4) when the corner runs are a half fraction: α follows the number of corner runs actually made.
Related tools
This page plans the runs; the ANOVA and DOE tool analyzes the results of the filled run sheet. Sample Size and Power answers how many replicates detect an effect of a given size, and Regression and Curve Fitting fits a quadratic model to the responses of a response-surface design. What this tool adds to them is the design itself: which runs, in which order, and which effects those runs can separate.