DoE for chromatographers
Everything in this app in the order you actually need it. Written for analysts who know HPLC and want the statistics to stop being a black box.
Why not one factor at a time
Changing one variable while holding the rest fixed feels careful. It is not. It costs more runs for less information, and it is structurally blind to interactions — and in reversed-phase chromatography the interactions are the interesting part. The effect of temperature on resolution depends on where the organic strength is set; the effect of pH depends on how far the analyte sits from its pKa. One factor at a time can only ever find the best point along the lines it happens to walk.
A designed experiment varies everything together in a structured pattern, so every run contributes to the estimate of every effect. Five factors in twelve runs, with an answer about all five. The same five factors one at a time would take more runs and still not tell you whether they interact.
Choosing the design
| Your situation | Design | Runs | What you get |
|---|---|---|---|
| 6–11 candidate factors, no idea which matter | Plackett-Burman | 12 | A ranking of main effects. No interactions, no curvature. |
| 4–7 factors, want main effects cleanly | Fractional factorial, resolution IV or V | 8–32 | Main effects free of two-factor interactions; some interactions aliased with each other. |
| 2–4 factors, want every interaction | Full factorial | 4–16 | Everything estimable. Still no curvature from two levels. |
| 3–5 factors, want an optimum | Box-Behnken | 13–41 | A curved surface without ever running every factor at its extreme simultaneously. |
| 2–5 factors, want an optimum and a design space | Central composite | 11–50 | The standard response-surface design. Face-centred keeps every run inside your stated ranges. |
| Proving a finished method tolerates small changes | Fractional factorial with centre points | 8–19 | Robustness evidence and proven acceptable ranges for ICH Q14. |
Setting factor ranges — the part that decides everything
A DoE can only see what you let it vary. Ranges that are too narrow produce a beautiful, significant model of nothing; ranges that are too wide produce runs that fail and a surface bent by a peak that co-eluted at one corner.
| Factor | Optimisation range | Robustness range | Watch for |
|---|---|---|---|
| Organic modifier (% B) | ±10–15 % around nominal | ±2 % absolute | Retention is exponential in %B — a 10 % change can move k by a factor of three. |
| Mobile-phase pH | 2 units, straddling the pKa | ±0.2 units | Selectivity changes fastest within ±1 unit of the pKa; that is where the effect lives and where robustness is worst. Stay inside the column’s pH limits. |
| Column temperature | 25–50 °C | ±2–5 °C | Affects retention, selectivity and viscosity. Above 60 °C, check analyte and stationary-phase stability. |
| Flow rate | 0.6–1.4 mL/min (4.6 mm id) | ±0.1 mL/min | Pressure limit, and the efficiency loss above the van Deemter optimum. |
| Buffer concentration | 10–50 mM | ±2 mM | Peak shape for basic analytes; precipitation risk at high organic. |
| Gradient time | 0.5× to 2× nominal | ±10 % | Peak capacity against cycle time. |
One rule that saves whole studies: before you commit, run the two extreme corners you are least sure about. If the method survives both, the design will complete.
Choosing responses
Measure what you will be judged on. For a separation that usually means: resolution of the critical pair, tailing factor of the peak you quantify, retention factor of the first peak (it must clear the void), run time, and — for anything you will transfer — backpressure.
- Resolution of the critical pair is the response, not “resolution” in general. Name the pair in the study objective.
- Prefer continuous responses. “Pass/fail” throws away almost all the information in a run.
- Responses that can only get worse have a floor. If tailing is 1.0 everywhere, the model has nothing to fit; that is a result, and it means the factor set is not what controls it.
- Set limits honestly. The lower and upper values you enter drive both the desirability scale and the design space. An aspirational limit produces an empty design space.
Reading the output
The R² family
R² is how much of the variation the model explains — it always rises when you add a term, so on its own it means little. Adjusted R² penalises the term count. Predicted R² leaves each run out in turn and asks how well the model predicts it. The number that matters is the gap: if adjusted and predicted R² differ by more than about 0.2, the model is carrying terms it has not earned, or one run is dominating it.
Adequate precision
The spread of predicted values across the design, divided by the average prediction error — a signal-to-noise ratio. Below 4 the model should not be used to navigate the design space.
Lack of fit
Centre-point replicates give pure error: how much the same conditions vary run to run. Lack of fit compares the model’s misses against that. You want lack of fit to be non-significant. A significant lack of fit with a good R² is the classic signature of curvature that a two-level design cannot see — move to a response-surface design.
VIF
Variance inflation factor. In a proper orthogonal design it is 1. Values above 10 mean terms are so correlated that their individual coefficients cannot be separated — usually because runs were lost or the design was modified.
Coded versus actual coefficients
Coded coefficients run from −1 to +1 across each factor’s range, so they are directly comparable — the biggest number is the biggest effect. Actual coefficients carry the units of their factor and must never be compared to each other. Use coded to interpret, actual to calculate.
Desirability and the design space
Real methods have several goals at once, and they conflict: the resolution you want costs run time you do not have. The Derringer-Suich approach converts each response to a desirability between 0 and 1 using the limits you set, then combines them as a weighted geometric mean. Because it is a geometric mean, a single zero makes the whole thing zero — one broken requirement cannot be averaged away by four good ones. That is the correct behaviour.
The design space takes it one step further: instead of a single best point, it maps every combination where all your limits hold. That region is what ICH Q8(R2) means by a design space, and its extent along each axis is what ICH Q14 means by a proven acceptable range. Put the operating point in the middle of it. The edge is the cliff.
The eight mistakes that ruin DoE studies
- Ranges too narrow. Nothing is significant and the conclusion is “no factor matters”, which is false.
- No centre points. No pure error, no lack-of-fit test, no way to detect curvature. Three centre points is the cheapest insurance in analytical science.
- Running in standard order. Any drift in column, mobile phase or detector is then perfectly confounded with your factors.
- Fitting a quadratic to a two-level design. The squares are aliased with the intercept; the software either refuses or, worse, silently gives you nonsense.
- Deleting outliers to improve R². An outlier is a question. Investigate the chromatogram first; exclude only with a recorded reason.
- Extrapolating. The model is a description of the box you studied. Outside it, the model is fiction.
- Skipping confirmation runs. The optimum is a prediction until you have measured it — in replicate, against the prediction interval.
- Breaking hierarchy. If you keep an interaction A×B or a square A², keep the main effect A even when it is not significant.
Where this sits in the regulatory picture
- ICH Q8(R2) — pharmaceutical development; the source of “design space” and of the enhanced, QbD approach.
- ICH Q14 — analytical procedure development; the enhanced approach for methods, where a DoE study becomes the evidence behind proven acceptable ranges and an established conditions statement.
- ICH Q2(R2) — validation of analytical procedures; robustness is where a designed study is the natural tool.
- USP <1220> — the analytical procedure lifecycle, and the analytical target profile a DoE study feeds.
- ICH Q9(R1) — quality risk management; a risk-assessment output is usually what tells you which factors are worth putting into the design in the first place.
Glossary
| Alias | Two effects that the design cannot tell apart. Stated as a defining relation, e.g. D = ABC. |
| Axial / star point | A run beyond the cube corners in a central composite design; what makes curvature estimable. |
| Coded units | Factor settings rescaled so low = −1, centre = 0, high = +1. |
| Centre point | A run with every factor at its midpoint. Replicated, it gives pure error. |
| Design space | The multidimensional region where every response stays inside its limits. |
| Desirability | Each response mapped to 0–1 against its goal and limits, then combined as a geometric mean. |
| Lack of fit | The part of the residual that is not repeatability — evidence the model shape is wrong. |
| Leverage | How much one run pulls the fitted surface toward itself. |
| PRESS | Prediction error sum of squares; the basis of predicted R². |
| Proven acceptable range | The span of a single variable over which the method still meets its criteria. |
| Pure error | Variation between runs at identical settings — your true repeatability. |
| Resolution (design) | How badly a fractional design confounds effects. III, IV, V; higher is cleaner. |
| Studentised residual | A residual divided by its own standard error; beyond ±3 is worth investigating. |
| VIF | Variance inflation factor; 1 in an orthogonal design, >10 means terms are inseparable. |