Skip to content

Design Of Experiments Examples: Factors, Randomization, Blocking And Interaction Effects

October 9, 2026 ·
Blocked Experiment With Alternate Treatment Arrangements

Design of experiments, commonly abbreviated DOE, is a structured approach to planning tests so that the resulting observations can help answer a defined question about a process or product. Rather than changing several conditions without a plan and then guessing which change mattered, an experiment identifies the factors to vary, the responses to measure and the operating conditions under which the comparisons will be made. The original fictional datasets in this guide illustrate completely randomized comparisons, blocking and a two-factor experiment. They demonstrate basic reasoning and arithmetic without presenting small illustrative datasets as sufficient statistical evidence for a consequential decision.

Quick Answer

Define the question, factors, levels, experimental units and response; select an appropriate design using randomization, replication or blocking as needed; and evaluate effects, interactions and uncertainty.

Table Of Contents

What Is Design Of Experiments?

The NIST Engineering Statistics Handbook guidance on choosing an experimental design describes different designs for investigating questions about factors and responses. The appropriate design depends on the objective, number and type of factors, relevant constraints and the information needed. The JMP explanation of experimental design principles discusses randomization, replication and blocking as useful features of experimental planning.

A factor is a variable that the experiment deliberately varies. Its levels are the conditions selected for comparison. A response is a measured outcome associated with an experimental run. An experimental unit is the unit to which a treatment combination is assigned. These definitions must be specific enough to establish what the observations mean and which comparisons the design supports.

For a cooperative preparing educational display kits, a factor might be the arrangement of an approved reference, with two levels representing two legitimate layouts. The response might be the elapsed time to prepare an accepted kit. The team must preserve the relevant accuracy and verification requirements regardless of the layout. Our problem definition examples explain why the question and intended outcome should be established before selecting a solution.

Define The Objective, Factors And Response

Consider a fictional landscaping materials cooperative that prepares information packs for community planting projects. The team wants to investigate whether the position of an approved reference and the arrangement of standard materials influence preparation time. The packs must still contain the correct approved information and satisfy the relevant acceptance conditions.

The team specifies its outcome as the elapsed active preparation and verification time for one eligible standard pack, measured using an agreed start and finish condition. It also records whether the pack satisfies its acceptance requirements. A faster pack that contains incorrect information is not evidence of a preferable arrangement.

Design FieldIllustrative Definition
ObjectiveInvestigate Preparation Time Under Eligible Arrangements
Factor APosition Of Approved Reference
Levels Of AExisting Position And Suitable Point-Of-Use Position
Factor BMaterial Arrangement
Levels Of BExisting Layout And Revised Layout
Primary ResponseActive Minutes To Prepare And Verify A Pack
Balancing ResponseCorrect Accepted Pack And Relevant Exceptions

The treatment levels should be sufficiently clear to reproduce the relevant comparison. If the revised layout also introduces a different preparation procedure, the test might compare a bundle of changes rather than isolate the intended layout factor. Record the actual differences and decide which question the experiment is designed to answer.

Our 5S examples and spaghetti diagram examples illustrate ways to identify resource-location and movement problems. An experiment can test a proposed change arising from those investigations, provided the arrangement is authorized and appropriate for the work.

Worked Example: A Completely Randomized Comparison

A fictional stationery cooperative wants to compare two suitable ways of arranging approved order references. It has eight comparable fictional preparation jobs. Four are assigned to arrangement A and four to arrangement B using an appropriate randomized assignment. The team keeps the eligibility and timing definitions consistent and records acceptance outcomes.

The NIST guidance on completely randomized designs explains randomized treatment assignment. In this simplified example the jobs are treated as the experimental units. If all four jobs under arrangement A were performed in the morning and all four under B in the afternoon, time-of-day conditions could be associated with the treatment. Randomization helps reduce the risk of such systematic assignment patterns.

ArrangementIllustrative Preparation TimesMean
A12, 14, 11, 15 Minutes13 Minutes
B10, 12, 9, 11 Minutes10.5 Minutes

The average observed difference is 2.5 minutes, calculated as 10.5 minus 13 gives negative 2.5 minutes for B relative to A. The result describes these fictional observations. It does not establish a precise population effect or guarantee that every job using B will be faster. The small sample, possible variability in jobs and actual implementation conditions require examination.

The order in the table is organized by treatment for calculation rather than showing the randomized run sequence. Preserve the actual assignment and run order separately. If the order itself affects results, for example through learning or setup changes, that information can be important when interpreting the test.

Understand Randomization And Replication

Randomization concerns how treatments are assigned or runs are ordered under the chosen design. It does not mean that the experimental question or measurement procedure is arbitrary. The team should establish the eligibility rules, treatment definitions, response and appropriate constraints before performing the test.

Replication means obtaining observations from distinct experimental units or genuinely independent repeated runs under a defined treatment. Measuring the same completed pack three times may help assess measurement consistency, but those readings do not automatically constitute three independent treatment replications. The treatment was applied to one pack. Treating repeated measurements of that same unit as independent can overstate the amount of evidence.

A small experiment may provide useful initial learning, especially when the question concerns practical feasibility. However, the number of experimental units needed for a reliable statistical conclusion depends on the expected effect, variability, design and relevant decision. Obtain suitable statistical support for formal inference or consequential decisions rather than assuming that a fixed small number of observations is always enough.

Our before and after solution review examples explain why a comparison requires meaningful evidence and compatible outcome definitions. An appropriately designed experiment can provide stronger evidence than a simple historical comparison when its assignment, measurement and operating assumptions are satisfied.

Worked Example: A Randomized Block Design

A fictional community print studio wants to compare two suitable arrangements for preparing standard instructional sheets. Preparation conditions differ by operating day because the volume of other work varies. The team decides to use each of four operating days as a block. Within each day, it assigns the two treatments to comparable eligible jobs in randomized order.

The NIST randomized block design guidance explains how blocking can account for controllable nuisance factors in an experiment. The block is a grouping of runs expected to share a relevant condition. Each treatment should be represented in each block in this simple complete-block design.

Operating DayArrangement AArrangement BB Minus A
Day 114 Minutes11 Minutes−3 Minutes
Day 220 Minutes17 Minutes−3 Minutes
Day 312 Minutes10 Minutes−2 Minutes
Day 418 Minutes15 Minutes−3 Minutes
Mean16 Minutes13.25 Minutes−2.75 Minutes

The mean within-block difference is negative 2.75 minutes. Both arrangements take longer on day two than on day three, suggesting that day-related conditions influence the response. The within-day comparison helps separate the treatment comparison from that shared day-level variation under the stated design.

The example does not establish that every source of variability has been controlled. The jobs assigned within each block could still differ in relevant ways, and the treatment may interact with operating conditions. The appropriate analysis should respect the block structure rather than treat every value as though it arose under identical unrelated conditions.

Our data stratification examples explain how meaningful groups can reveal patterns hidden by aggregate results. Stratification after data collection and blocking during experimental design are related ways of recognizing group differences, but they are not interchangeable. Blocking deliberately structures treatment comparisons within groups before the test.

Worked Example: A Two-Factor Factorial Experiment

Return to the landscaping materials cooperative. It wants to examine both reference position and material arrangement. Each factor has two levels, so there are four treatment combinations in a complete two-by-two factorial design. The team conducts two fictional independent runs per combination under the stated assumptions, for a total of eight runs. The following table groups the observations by treatment; actual run order would be recorded separately.

Reference PositionMaterial ArrangementRun TimesCell Mean
ExistingExisting18, 2019
Point Of UseExisting14, 1615
ExistingRevised12, 1413
Point Of UseRevised11, 1312

The reference-position comparison can be summarized by averaging the two cell means at each level of that factor. At the existing reference position, the average of 19 and 13 is 16 minutes. At the point-of-use position, the average of 15 and 12 is 13.5 minutes. The illustrative main effect of changing reference position is therefore negative 2.5 minutes.

For material arrangement, the average of 19 and 15 at the existing layout is 17 minutes. The average of 13 and 12 at the revised layout is 12.5 minutes. The illustrative main effect of changing the material arrangement is negative 4.5 minutes. These balanced-design arithmetic summaries describe the fictional cell means and should not be confused with formal statistical significance.

FactorExisting-Level MeanRevised-Level MeanDifference
Reference Position1613.5−2.5
Material Arrangement1712.5−4.5

Our morphological analysis examples demonstrate how different candidate means can be combined into alternative concepts. A factorial experiment has a different purpose: it deliberately tests defined combinations to investigate their effects. Not every concept combination is suitable for testing, so screen requirements and feasibility before designing the experiment.

Interpret An Interaction Effect

An interaction occurs when the effect of one factor depends on the level of another. In the factorial example, moving the reference to the point of use changes the mean preparation time from 19 to 15 minutes when the original material layout is used. The observed difference is negative four minutes. With the revised material layout, moving the reference changes the mean from 13 to 12 minutes, a difference of negative one minute.

The difference between those two conditional effects is three minutes. This is a difference-in-differences measure of the illustrative interaction. The exact coefficient or effect convention reported by statistical software can differ according to its coding and model, so preserve the definition of the calculation.

The practical implication is that the average reference-position effect does not describe both material arrangements equally well. If the cooperative plans to adopt the revised material layout, the conditional reference-position comparison relevant to that arrangement is a one-minute observed difference rather than the overall 2.5-minute main-effect summary.

A plausible explanation might be that the revised material arrangement already reduces part of the repeated travel associated with the existing reference position. That hypothesis requires further observation. The arithmetic identifies a possible interaction pattern; it does not prove the physical mechanism. Our root cause analysis examples describe how to investigate competing explanations with actual evidence.

Prevent Common Design And Measurement Errors

A poorly planned experiment may confound a treatment with another condition. Suppose every original arrangement is tested by an experienced operator and every revised arrangement by a newly trained operator. A difference in response could reflect operator experience, the arrangement or both. Investigate appropriate randomization, blocking or another suitable design that addresses the relevant conditions.

Carryover is another concern. A layout change may require familiarization, while the previous treatment may affect the next run. Establish an appropriate reset or learning arrangement where relevant and preserve the actual run order. Randomization alone does not guarantee that every practical experimental problem has been resolved.

Avoid changing the response definition after viewing results. If the agreed measure includes verification time, do not exclude verification only from the revised arrangement because it makes that arrangement look faster. Our standardized work examples emphasize defining repeatable work and acceptance conditions. The experiment should preserve those requirements and clearly identify legitimate exceptions.

A complete factorial design grows quickly as more factors are added. With three factors at two levels each, there are eight distinct treatment combinations. With four factors at two levels each, there are 16. If two independent replications are planned for each of the 16 combinations, the experiment requires 32 experimental runs, assuming every combination is eligible. The number of combinations is not the same as the number of response readings if several measurements are taken during each run. Select a design suited to the question and available resources; a suitable fractional factorial design may be relevant when a full experiment is impractical, but its interpretation requires attention to effects that cannot be separately estimated under that design.

Before committing to a larger experiment, examine whether the measurement procedure is workable and whether the treatment levels can actually be implemented. An initial feasibility test may reveal that a proposed layout cannot be used during a particular legitimate operating condition. Resolve the design issue rather than silently replacing failed runs with convenient alternatives. If the experiment must be modified, document the change and consider its effect on the intended analysis. A missing or invalid run should not automatically receive the average value of the other runs.

After completing the experiment, retain the individual observations rather than publishing only the treatment means. The average for a cell with two observations cannot show much about the range of future outcomes. If the decision requires an uncertainty interval or formal hypothesis test, use an appropriate analysis that reflects the actual design and assumptions. Report the estimated magnitude of the effect and the relevant uncertainty, not just whether a numerical threshold has been crossed. The objective is evidence that supports the practical decision rather than an unnecessarily precise conclusion from limited data.

Reusable Design Of Experiments Worksheet

FieldWhat To Record
QuestionDefined Objective And Comparison
Experimental UnitUnit Receiving A Treatment
Factors And LevelsDefined Conditions To Be Varied
ResponseMeasure, Unit And Acceptance Conditions
DesignAssignment, Randomization, Replication And Blocks
Run RecordTreatment, Sequence, Conditions And Observations
AnalysisSuitable Comparisons, Interactions And Uncertainty
ExceptionsMissing Outcomes, Deviations And Their Consequences
DecisionEvidence, Limitations And Next Verification

A useful experiment is planned around the question it must answer. Preserve the treatment assignments, raw observations and measurement definitions, and use an analysis appropriate to the design. Treat the results as evidence to examine alongside relevant constraints rather than as an automatic instruction to adopt the arrangement with the smallest observed average.

Frequently Asked Questions

What is design of experiments?

A structured approach to planning tests and analyzing how defined factors influence measured responses.

What is a factor?

A variable deliberately varied in the experiment.

What is a factor level?

A defined condition or value selected for a factor.

What is an experimental unit?

The unit to which a treatment is assigned.

Why is randomization important?

It helps reduce systematic assignment patterns and supports appropriate experimental analysis.

What is replication?

Independent experimental units or appropriately repeated independent runs under a treatment.

What is blocking?

Grouping experimental units by a relevant nuisance condition and structuring treatment comparisons within those groups.

What is a factorial design?

A design investigating combinations of levels from multiple factors.

What is an interaction?

A pattern in which the effect of one factor depends on another factor’s level.

Does a smaller sample mean prove improvement?

It describes the observed comparison; uncertainty, design quality and relevant acceptance outcomes still need examination.

Leave a Reply

Your email address will not be published. Required fields are marked *