Experimental Design¶
Core Idea¶
The deliberate planning of an experiment to maximize causal-inference power and minimize confounding, given resource and ethical constraints.
How would you explain it like I'm…
How to Test Fairly
Planning a Fair Test
Designing Causal Studies
Broad Use¶
- Experimental science: Fisher's randomized controlled trials (RCTs), blocking, factorial designs, Latin squares.
- Software engineering: A/B testing, multi-armed bandits, canary deployments, feature flag rollouts.
- Clinical medicine: RCT protocols, blinding (single/double), placebo controls, stratification.
- Psychology: within-subject designs, between-subject designs, counterbalancing, order effects.
- Agriculture: field trials, crop rotation studies, soil amendment testing.
- Operations research: experimental simulation, DOE (Design of Experiments) frameworks.
Clarity¶
Names the bridge between research questions and data collection. Surfaces the tension between internal validity (did the treatment cause the effect?) and external validity (does it generalize?). Distinguishes experimental design as a planning phase from randomization (a technique) and statistical inference (the analysis phase).
Manages Complexity¶
Reduces an open-ended research problem into a structured protocol: identify causal question, define treatments and outcomes, eliminate or control confounders, allocate units to treatments, specify measurement plan. Bounds scope by forcing explicit choices about sample size, randomization mechanism, and blinding.
Abstract Reasoning¶
Encourages thinking in counterfactuals and potential outcomes: what would have happened if the unit received the other treatment? Frames all observed data as one realization of many possible experiments, sharpening focus on design robustness rather than luck.
Knowledge Transfer¶
The same structural principles—randomization, blocking, balance, replication—recur across clinical trials, software experiments, agricultural trials, and manufacturing process optimization. Tools developed in one domain (matched pairs, fractional factorials, sequential testing) transfer to others.
Example¶
A software team wants to know if a new search algorithm reduces latency. Rather than deploying to all users, they randomly assign half to the new algorithm and half to the control. They stratify by region to ensure geographic balance, measure median latency across a 48-hour window, and pre-specify a non-inferiority threshold. This mirrors a clinical trial comparing two drugs: randomization ensures exchangeability, stratification controls for a known confounder, and pre-specification prevents p-hacking.
Relationships to Other Abstractions¶
Current abstraction Experimental Design Prime
Parents (2) — more general patterns this builds on
-
Experimental Design is part of, typical Control Sample Prime
Experimental Design typically contains a Control Sample as the matched baseline arm whose contrast isolates the tested factor.
Condition / exception Valid designs may use within-subject, factorial, historical, synthetic, or model-based contrasts without a separately designated control sample.
-
Experimental Design is a decomposition of Comparison Prime
Experimental design is the specific shape comparison takes when it becomes a controlled, intervention-based architecture for causal inference.
Children (20) — more specific cases that build on this
-
Bacteriophage Experimental Evolution Domain-specific is a kind of Experimental Design
The causal or comparative question concerns how a declared evolutionary mechanism responds to an assigned host or environmental regime.
-
Completely randomized design Domain-specific is a kind of Experimental Design
A completely randomized design is an experimental design using unrestricted random assignment to levels of one factor.
-
Field Experiment Domain-specific is a kind of Experimental Design
A field experiment is deliberate intervention with controlled assignment run outside the lab, which is exactly experimental design's structure.
-
Fractional factorial design Domain-specific is a kind of Experimental Design
It remains its own entry because its identity is fixed by the factors and levels, full design and fraction size, generators and defining relation, randomization and replication, resolution and alias structure, estimable effects, error estimate and analysis model.
-
Multiple baseline design Domain-specific is a kind of Experimental Design
It remains its own entry because its identity is fixed by the units behaviors or settings, outcome and repeated-measure schedule, baseline stability, number and independence of tiers, staggered intervention times, predicted within-tier changes, untreated-tier controls and replication logic.
- N-of-1 Trial Domain-specific is a kind of Experimental Design
An N-of-1 Trial is an Experimental Design that deliberately assigns comparative treatment conditions across planned periods within one participant.
- Plackett–Burman Design Domain-specific is a kind of Experimental Design
A Plackett-Burman design is an experimental design for screening main effects with a structured run matrix.
- Provocation test Domain-specific is a kind of Experimental Design
The investigation begins with a bounded trigger–response question, deliberately assigns a selected participant to a defined challenge condition, measures a prespecified endpoint, and interprets the response against baseline, sham, or another control where the protocol permits.
- Unmatched count Domain-specific is a kind of Experimental Design
It remains its own entry because its identity is fixed by the target population and sample, sensitive item, control items and list order, random assignment, response count scale, anonymity protocol, group mean estimates and difference, standard error, design-effect tests and assumptions for truthful response.
- Yoked Control Design Domain-specific is a kind of Experimental Design
Yoked pairing is a specific planned intervention-and-outcome experimental design.
- Internal validity Domain-specific presupposes, typical Experimental Design
Internal validity typically presupposes experimental design because its strongest threat controls are built into assignment and measurement before analysis.
- Policy Design Domain-specific is part of, typical Experimental Design
Policy evaluation typically contains an experimental-design discipline for attributing observed effects to the intervention.
- Confounding Prime presupposes Experimental Design
Confounding presupposes Experimental Design: identifying and controlling third-variable common causes is the central problem the design must address.
- Empirical No-Failure Anchor Prime presupposes Experimental Design
The anchor presupposes a designed investigation that fixes tested levels, sampled units, duration, endpoints, replication, and the detection apparatus.
- Statistical Power Prime presupposes Experimental Design
Statistical power presupposes experimental design because its computation requires the pre-specified architecture of treatment assignment, sample size, and outcome measurement.
- Clinical Trial Domain-specific is a decomposition of Experimental Design
Removing the human-clinical and governance frame leaves the intervention, controlled assignment, outcome measurement, and causal-comparison architecture of experimental design.
- Blocking (In Experimental Design) Prime is a decomposition of Experimental Design
Blocking is the specific shape experimental design takes when known nuisance variability is absorbed by stratifying units before randomization.
- Factorial Design Prime is a decomposition of Experimental Design
Factorial design is the specific shape experimental design takes when multiple factors are varied simultaneously to reveal main effects and interactions.
- Randomization Prime is a decomposition of Experimental Design
Randomization is the specific shape experimental design takes when treatment assignment is made stochastic to neutralize observed and unobserved confounders.
- Sampling (Representativeness) Prime is a decomposition of Experimental Design
Sampling representativeness is the specific shape experimental design takes when inference from observed units must generalize to a defined target population.
Hierarchy paths (2) — routes to 1 parentless root
- Experimental Design → Control Sample → Comparison → Self Checking
- Experimental Design → Comparison → Self Checking
Not to Be Confused With¶
- Experimental Design is not Design Prototyping because Experimental Design involves controlled assignment of units to treatments to establish causality, whereas Design Prototyping materializes design decisions into tangible learning instruments without assignment of causal conditions.
- Experimental Design is not Factorial Design because Experimental Design is the broader architecture encompassing treatment assignment, outcome measurement, and analysis planning, whereas Factorial Design is a specific technique that simultaneously varies multiple factors.
- Experimental Design is not Hypothesis Testing (Null vs. Alternative) because Experimental Design is the framework for collecting data so causal claims are valid, whereas Hypothesis Testing is the post-collection statistical procedure applied to evaluate evidence against a null model.