Optimal and mixture designs
A factorial design needs a neat box and a clean fraction. Real experiments often have an irregular region, a fixed budget, or components that must sum to one. This searches a candidate set for the runs that maximise |X′X| — the same algorithm that produces a Scheffé mixture design once you constrain the region to the simplex.
| Run | x1 | x2 | Variance |
|---|---|---|---|
| 1 | -1.00 | -1.00 | 0.81 |
| 2 | 0.00 | -1.00 | 0.56 |
| 3 | 1.00 | 1.00 | 0.81 |
| 4 | -1.00 | 1.00 | 0.81 |
| 5 | 1.00 | -1.00 | 0.81 |
| 6 | 0.00 | 0.00 | 0.56 |
| 7 | 1.00 | 0.00 | 0.56 |
| 8 | 0.00 | 1.00 | 0.56 |
| 9 | -1.00 | 0.00 | 0.56 |
Variance is the scaled prediction variance x′(X′X)⁻¹x at that run.
maximise |X′X| · D-optimality: the smallest joint confidence region.
|X′X|^{1/p} / n · One for an orthogonal design with unit columns.
x′(X′X)⁻¹x · Scaled prediction variance at a point.
Σx = 1, no intercept · Scheffé form; squares are collinear.
A clear path from inputs to results.
A factorial design needs a neat box and a clean fraction. Real experiments often have an irregular region, a fixed budget, or components that must sum to one. This searches a candidate set for the runs that maximise |X′X| — the same algorithm that produces a Scheffé mixture design once you constrain the region to the simplex.
How to use
- Choose the number of factors or mixture components.
- Pick a box region or the mixture simplex.
- Choose the model that has to be estimable.
- Set the run budget and the candidate grid.
- Read the design, the D-efficiency and the prediction variance across the region.
The formula
Reference: Coordinate exchange (Meyer & Nachtsheim, 1995); Scheffé mixture models (Scheffé, 1958).
Worked example
Two factors, full quadratic, nine runs from 49 candidates
- Two factors, box region, seven-level grid: 49 candidate points.
- Full quadratic model: intercept, two linear, one interaction, two squares.
- Nine runs, search seed 20261.
- 1
The search starts from nine random candidates and exchanges each row for the best alternative.
- 2
It converges in three sweeps to the eight points at the corners and axis midpoints plus the centre.
- 3
log |X′X| is 8.55 and the D-efficiency is 0.462 on the raw model scale.
- 4
The prediction variance peaks at the corners, which is exactly where the design has no runs between them.
Nine runs · log|X′X| 8.55 · the factorial-plus-star pattern a CCD would give.
Interpreting the result
A D-efficiency below one does not mean a bad design: it means the model columns are not orthogonal on their raw scale, which the squared terms never are. What matters is that the value is stable when you change the seed. If it moves, the search is finding different local optima and you should not trust a single run of it.
Assumptions & limitations
- Coordinate exchange finds a local optimum, not a proven global one.
- The candidate set defines the region; the design can only choose from it.
- Mixtures drop the intercept and the squared terms because Σx = 1 makes them collinear.
- Prediction variance is scaled by σ² and reported at the candidate points.
Frequently asked questions
What is D-optimality?
It maximises the determinant of X′X, which minimises the volume of the joint confidence region for the coefficients. In practice it means the design pins down every term with as little confounding as possible.
When should I use a mixture design?
Whenever the factors are proportions that must sum to one: blends, formulations, portfolio weights. The Scheffé form drops the intercept because it is redundant under the constraint.
Why is the efficiency 0.46 rather than 1?
Because the model includes squared terms whose columns are not centred. Efficiency is only exactly one when X′X is a multiple of the identity, which happens for an orthogonal design with unit-scaled columns.
Why change the seed?
Coordinate exchange is a local search. A different start can land in a different optimum; if the efficiency barely moves, the design is stable and you can use it.
Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.