DOE

DOE Design Tools

Check whether your orthogonal array actually holds, and generate a methods paragraph you can submit. Pure computation — no data stored, no account needed.

Worked example

A design defect that almost slipped through

The following is a fictional example used to demonstrate the validation logic. It is not real data from any customer or production line.

Scenario

Spin-coating of MAPbI₃ perovskite solar cells, with device efficiency varying noticeably between batches. Four suspected factors were selected, each at two levels: A precursor concentration, B antisolvent drip delay, C annealing temperature, D spin speed.

Step 1: eight runs, arranged by hand

To avoid the hardest process condition — all four factors at their high level — run 8 was replaced with a duplicate of run 1. The decision makes complete sense on the floor: skip the most awkward experiment and gain a replicate at the same time.

      A    B    C    D
 1   -1   -1   -1   -1
 2   +1   -1   -1   +1
 3   -1   +1   -1   +1
 4   +1   +1   -1   -1
 5   -1   -1   +1   +1
 6   +1   -1   +1   -1
 7   -1   +1   +1   -1
 8   -1   -1   -1   -1   ← 原应为 +1 +1 +1 +1

Step 2: what the validator reported

The structural check failed. But what matters is which check failed:

Two-level · passedOrthogonality · passedLevel balance · failed

This is precisely the defect manual review misses. Most people verify a matrix by checking that the product of any two columns sums to zero — orthogonality — and here orthogonality happens to pass. What actually broke is balance: factor A appeared five times at its low level and three times at its high level. An unbalanced factor confounds its main effect with the intercept, biasing the estimated effect; no amount of careful downstream analysis recovers it.

Step 3: restore the full matrix and add centre points

Run 8 was restored to +1 / +1 / +1 / +1, and three centre-point replicates were added. Only then did the structural checks pass, and with them came a pure-error estimate — without which no lack-of-fit test is possible.

The corrected design

Design
2^(4−1) fractional factorial, Resolution IV
Defining relation
I = ABCD
Main effects
Clear of two-factor interactions — interpretable
Two-factor interactions
AB=CD, AC=BD, AD=BC confounded
Centre points
3, enabling pure error and a curvature test

The boundary must be stated: Resolution IV supports reliable main-effect conclusions but cannot separate specific two-factor interactions. If interactions are the point of the study, add a fold-over or switch to Resolution V. Reporting main effects without saying this is exactly what reviewers challenge.

Paste your own matrix into the validator and see whether it has the same defect

Why validate before you run

One design mistake costs a full batch of material and weeks of instrument time. Most rework happens not because the idea was wrong, but because the matrix itself was flawed: unbalanced factor levels, non-orthogonal columns, or too low a resolution so that main effects are entangled with interactions. All of these are detectable on the matrix — you do not have to wait for the data to find out the conclusion cannot be defended.

What resolution means

Resolution is the key property of a fractional factorial design, set by the length of the shortest word in its defining relation. Resolution III means main effects are confounded with two-factor interactions and the design is only usable for screening. Resolution IV means main effects are clear but two-factor interactions are confounded with each other. Resolution V and above allow all two-factor interactions to be estimated. When resolution is too low, any real interaction will be misread as a main effect.

Computation happens on the server and is returned immediately. Your matrix and experimental data are not stored.