Notes

Design of experiments: a factorial example with two settings

A higher temperature improves one seal and weakens another. A small factorial experiment shows why changing one setting at a time can miss the relationship.

Design of experiments (DOE) is a way to plan deliberate changes to a process so you can learn how its inputs affect a measured result. The inputs are called factors. Their chosen settings are levels. The result you measure is the response.

Consider a packaging seal. Raising temperature seems like a reasonable way to make it stronger. A trial at one line speed supports that idea. At a different speed, the same temperature change makes the seal weaker.

The effect depends on the combination. That is an interaction, and it changes the experiment we need to run.

What is a factorial experiment?

A full factorial experiment tests every combination of the selected factor levels. NIST's explanation gives four combinations for two factors at two levels: 2 × 2.

In this fictional study, the factors are seal temperature and line speed. The response is seal strength in newtons, measured using the same test method. Higher strength is desirable within the tested conditions; a real product also needs its other quality requirements checked.

Factor Lower level Higher level
Temperature 160°C 180°C
Line speed 20 packs/min 30 packs/min

The settings are invented. Choose real trial settings with the people responsible for the equipment, material and product.

Design the trials before collecting the results

Assume one material lot, one trained operator and a consistent setup method. Each run produces a fresh test seal after the selected condition has settled. We run each combination three times, giving 12 runs. These are separate process trials, not three readings of the same seal.

Call the combinations A (160/20), B (180/20), C (160/30) and D (180/30). One example of a randomised run order is C, A, D, B, B, C, A, D, C, B, D, A. Each combination appears three times.

Randomising the order helps avoid consistently testing one setting early and another late. It cannot remove every time effect. If the experiment must span different lots or shifts, consider a blocked design that accounts for those differences. NIST explains randomisation and blocking separately.

Check the measuring process before judging small differences. The Gage R&R example distinguishes repeated-reading variation from differences between operators. Vrolen's measurement-system guide goes further into study design and interpretation.

Read the interaction plot and the individual results

The figure keeps all four combinations visible. Its lines connect group averages; the smaller marks show the three separate observations. Select either speed to inspect its temperature comparison.

Two factors / four combinations / twelve trials

The same temperature change goes two ways

Solid graphite: 20 packs/min. Dashed rust: 30 packs/min. Small circles are individual trials; large hollow circles are means.

Scroll sideways for the interaction plot. All readings are in the table.

Temperature and speed interactionAt 20 packs per minute the average rises from 20 to 26 newtons. At 30 packs per minute it falls from 18 to 14. Each group has three individual observations.Seal strength (N)1015202530160°C, 20 packs/min, trial 1: 19 N160°C, 20 packs/min, trial 2: 20 N160°C, 20 packs/min, trial 3: 21 N180°C, 20 packs/min, trial 1: 25 N180°C, 20 packs/min, trial 2: 26 N180°C, 20 packs/min, trial 3: 27 N160°C, 30 packs/min, trial 1: 17 N160°C, 30 packs/min, trial 2: 18 N160°C, 30 packs/min, trial 3: 19 N180°C, 30 packs/min, trial 1: 13 N180°C, 30 packs/min, trial 2: 14 N180°C, 30 packs/min, trial 3: 15 N160°C180°CSeal temperature

At 20 packs/min, raising temperature changes mean strength by +6 N.

Fictional strengths in N. Trial order within each combination follows its successive appearances in the run sequence listed in the article.
CombinationTemperatureSpeedThree observationsMean
A160°C20 packs/min19, 20, 21 N20 N
B180°C20 packs/min25, 26, 27 N26 N
C160°C30 packs/min17, 18, 19 N18 N
D180°C30 packs/min13, 14, 15 N14 N
How to read these results

At 20 packs/min, mean strength rises by 6 N; at 30 packs/min, it falls by 4 N. Their difference is 10 N. These fictional trials illustrate the pattern. A real study needs an appropriate sample size and uncertainty estimates; no significance test is performed here.

Fictional 12-run sealing study. Strength is measured in newtons. The lines connect the fictional group means; individual trials remain visible. Run order and conditions are listed above.

At 20 packs/min, the readings average 20 N at 160°C and 26 N at 180°C. The temperature increase adds 6 N.

At 30 packs/min, the corresponding averages are 18 N and 14 N. The same increase subtracts 4 N.

The difference between those temperature changes is 6 − (−4) = 10 N. That describes how much the temperature change differs between the two speeds. A real study also needs to estimate uncertainty around it.

Why changing one factor at a time can mislead

Suppose the team starts at 160°C and 30 packs/min. It first raises temperature while holding speed fixed. Strength falls from an average 18 N to 14 N, so the team returns to 160°C.

Next it lowers speed at 160°C. Strength rises to 20 N. If it stops there, it never tries 180°C at the slower speed, which has the highest observed average: 26 N.

That particular one-factor-at-a-time path misses the combination. Another starting point or sequence might find it. The benefit of the factorial design is that we planned to inspect the relationship rather than depending on the path taken.

What to check before changing the standard setting

Three trials per combination show how replication works. Plan a real sample size around the difference worth detecting, expected variation and the consequences of a wrong conclusion.

Analyse the actual trial data, including uncertainty and model assumptions. Check whether response variation changes across settings. Two temperature levels cannot tell us whether the relationship curves between or beyond them.

Then confirm the proposed setting under relevant operating conditions. In this example, the slower setting also reduces nominal line speed. Check acceptable seal quality, throughput and other requirements together before choosing it.

The PDCA note explains how a trial feeds the next improvement decision. DOE helps design the comparison within that learning cycle.

Watch: PDCA explained by VrolenA video explanation of the wider improvement loop, using a different worked example. Use it to connect the experiment with the next operating decision.

Write the experiment around the decision you need to make: which factors, which settings, which response and which uncertainty would change the choice. That is more useful than collecting a few favourable readings after the setting has already been chosen.

Sources and example notes

The process, settings, run order and readings are fictional. The example illustrates an interaction without fitting a statistical model or identifying an optimum.

NextDistribution requirements planning (DRP): a worked example

Working on something like this?

I work with operations and transformation teams on operational excellence, digital transformation programs, supply chains and industrial AI. If this sounds like your line, your program or your problem, I’d be glad to compare notes.

Abolfazl ShirkavandImage preview unavailable