Academy › Topic library › Design of Experiments
Q-BOT ACADEMY · FREE VIDEO LESSON · 9 MIN
Design of Experiments
Design of experiments, or D O E, is a planned way to change several inputs on purpose, all at the same time, and watch what happens to an output. A small set of planned runs tells you which inputs matter, how much, and whether they work together.
In short
Factors are the inputs you change, levels are their settings, and the response is what you measure. A treatment is one combination; a full factorial tests them all. Replicate to see the noise, randomize the order, and block the nuisances. A main effect is the change from low to high. Lines that aren't parallel mean an interaction. And always confirm!
Check yourself
On an interaction plot, the two lines cross. What does that tell you? A, neither factor has any effect. B, the effect of one factor depends on the level of the other. C, the experiment wasn't randomized. Or D, you need more replicates.
Show the answer
The answer is B. Lines that cross, or just aren't parallel, mean the factors interact: the effect of one depends on where the other one is set. A is wrong: crossing lines show the factors do matter, just not in a simple way. And randomization and replicates are about trusting the data, not about what the lines' shape means.
Where this topic is taught
This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.
Full lesson transcript
The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.
Intro
It's Monday at Brindlewood Outdoor Furniture, and Hannah from customer service is holding a Harbor chair with a little rust spot. It's right in the inside corner, where the seat rail meets the back leg. Priya checks the coating there: two point three mils. The spec minimum is two point five! The flat faces are fine at three point oh. The coating supervisor has a quick fix: turn up the powder flow. Marcus has a better question. Which knobs really matter, and do they work together?
Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today: design of experiments. We'll cover the basic words, factors, levels, responses and treatments, then replication, randomization and blocking, then main effects and interaction plots. Then we'll fix that corner, with real numbers.
What it is
So, what is it? Design of experiments, or D O E, is a planned way to change several inputs on purpose, all at the same time, and watch what happens to an output. A small set of planned runs tells you which inputs matter, how much, and whether they work together.
Why it matters
Why does it matter? The usual way is one factor at a time. That takes more runs, and it can miss the moment when two knobs work together. At Brindlewood, turning up the powder flow alone costs twenty percent more powder, on every frame, forever. A good experiment finds the cheaper answer, with fewer runs!
Let's start with the words. A factor is an input you change on purpose. It's also called an independent variable. Here, the powder flow and the gun voltage. A level is a setting of that factor: normal flow, or twenty percent more; sixty kilovolts, or ninety. The response is the output you measure, the dependent variable: the coating thickness in the inside corner. Bad: the response is how the chair looks. Good: corner thickness in mils, measured with the same gauge, at the same spot.
A treatment is one combination of levels: say, normal flow at ninety kilovolts. A full factorial design tests every combination. Two factors at two levels each gives two times two, four treatments. Three factors at two levels gives two times two times two, eight. Each part you make at one treatment is a run.
Next, replication. Replication means running the same treatment again from scratch: reset the gun, hang a new frame, coat it. Repetition is different: measuring several times in a row without resetting anything. Why replicate? Because even with the same settings, results wobble a little. That wobble is called error, or noise. It's the variation you can't explain. Replicates show you how big the noise is, so you can tell a real effect from luck.
Then, randomization. Run the treatments in a random order, not all the low settings first and all the high settings last. Why? Because things drift during a morning, like the booth warming up. If the order is random, the drift spreads evenly across every treatment, instead of hiding inside one of them. Bad: run all the high flow frames after lunch. Good: draw the run order from a hat!
And blocking. A block is a group of runs that share a nuisance you can't remove, like a shift, a day or a powder lot. If the test needs two shifts, put a full set of treatments in each shift, so the shift difference can be measured and set aside. If you don't, you get confounding: two things changed together, and you can't tell which one caused the result. All the high flow runs on first shift? Then you can't separate flow from shift.
Reading the results
Now, how do you read the results? A main effect is how much the average response changes when one factor moves from its low level to its high level, averaged over everything else. A main effects plot is two dots joined by a line for each factor. A steep line means a big effect. A flat line means that factor barely matters.
An interaction means the effect of one factor depends on the level of another. On an interaction plot, you draw one line for each level of the second factor. Parallel lines mean no interaction: each knob works the same way, no matter where the other one is. Lines that aren't parallel, or that cross, mean the factors work together. This is exactly what one factor at a time can never show you!
So, how do you plan one? One: state the objective. Two: choose the response, and how you'll measure it. Three: pick the factors and their levels. Four: choose the design, and how many replicates. Five: randomize the run order, and block if you need to. Six: run it, and record everything. Seven: analyze the effects. And eight: run a confirmation test, to prove the best settings work for real.
Worked example: fix the corner
Now, let's fix that corner. Marcus sets the objective: inside corner thickness at two point five mils or more, without wasting powder. Two factors: powder flow, normal or plus twenty percent, and gun voltage, ninety kilovolts, today's setting, or sixty. That's a two by two full factorial: four treatments. Three replicates each makes twelve frames, in random order, all on one first shift morning, one gun and one powder lot. Priya measures every corner with the same gauge.
Here are the averages. Normal flow at ninety kilovolts, today's setting: two point three mils. More flow at ninety: two point six. Normal flow at sixty: two point eight. More flow at sixty: three point four. The replicates wobble only about zero point one, so these differences are real. Main effect of flow: three point oh minus two point five five, about zero point four five mils. Main effect of voltage, going from ninety down to sixty: three point one minus two point four five, about zero point six five. Voltage is the bigger knob!
Now the interaction plot. At ninety kilovolts, more flow adds zero point three mils. At sixty kilovolts, it adds zero point six. The lines aren't parallel: lower voltage lets the powder wrap into the corner, so the extra flow works twice as hard. But here's the best part. Sixty kilovolts at normal flow already gives two point eight mils, safely above the minimum, with no extra powder at all. The supervisor's fix, more flow at ninety, would only have reached two point six, using twenty percent more powder.
Then Marcus runs a confirmation test: ten more frames at sixty kilovolts and normal flow. The corners average two point eight mils, every one above two point five, and the flat faces still read about three point oh. The new setting goes on the coating start up checklist, and the rust spot complaints stop. Rosa's favorite part? The fix cost nothing but twelve test frames!
Common mistakes
A few common mistakes. One: changing one factor at a time, and missing the interaction. Two: no replicates, so you can't tell an effect from noise. Three: running in a convenient order instead of a random one. Four: letting a nuisance like the shift change along with a factor, which is confounding. And five: skipping the confirmation run. The deeper math of bigger factorial designs has its own video.
Recap
Let's recap. Factors are the inputs you change, levels are their settings, and the response is what you measure. A treatment is one combination; a full factorial tests them all. Replicate to see the noise, randomize the order, and block the nuisances. A main effect is the change from low to high. Lines that aren't parallel mean an interaction. And always confirm!
Check yourself
Now, check yourself. On an interaction plot, the two lines cross. What does that tell you? A, neither factor has any effect. B, the effect of one factor depends on the level of the other. C, the experiment wasn't randomized. Or D, you need more replicates. Pause the video if you want to think about it.
The answer is B. Lines that cross, or just aren't parallel, mean the factors interact: the effect of one depends on where the other one is set. A is wrong: crossing lines show the factors do matter, just not in a simple way. And randomization and replicates are about trusting the data, not about what the lines' shape means.
Wrap-up
That's design of experiments. Questions? Ask Q-Bot right here in the Academy. And here's one for the road: why don't experiments ever feel lonely? Because they always come with replicates!
Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.