DEVELOPED COURSE TEXT
Factorial experiments, blocking, and the real unit of replication
A design determines which contrasts can be learned
A factorial experiment varies more than one factor systematically. It can estimate how one factor’s effect changes with the level of another rather than assuming their effects simply add. NIST's design-selection handbook distinguishes factorial, blocked, and other designs because different questions and constraints require different structures. Randomization is not a substitute for choosing factor levels, outcomes, units, and an analysis aligned with the question.
In a balanced two-by-two design, the effect of A at B0 is mean(A1, B0)minus mean(A0, B0). The effect at B1 uses the corresponding B1 means. Their difference is an additive-scale interaction. An average main effect can summarize across B levels, but it may hide that the effect varies. Interaction depends on the outcome scale; a pattern additive on one scale need not be additive after a nonlinear transformation.
Derive the factorial contrasts before fitting a model
With cell means10, 16, 14, 24 for(A0 B0, A1 B0, A0 B1, A1 B1), A effects are 6 and 10. Their difference is 4. B effects are 4 and 8, again differing4. In a balanced design, average A effect8 and average B effect6. Starting from 10, a no-interaction additive forecast would predict10+6+4=20 for the combined condition, but the observed combined mean is 24.
Those mean contrasts do not themselves supply standard errors. Replication within cells and the dependence structure matter. A table containing one group mean per cell is not equivalent to a large set of independent experimental units. A fitted model can represent the contrasts, but it cannot manufacture missing replication.
Blocking controls a nuisance comparison; clustering changes independence
Blocking arranges comparisons within groups sharing a relevant nuisance condition, then randomizes appropriately within blocks. Its purpose differs from post hoc adjustment and from assigning whole groups to an intervention. If classrooms are randomized, students within a classroom do not become separate randomized units merely because each has an outcome. The unit of assignment, the unit of measurement, and the unit of analysis must be distinguished.
A common planning approximation for equal cluster size m and intraclass correlation rho is a variance-inflation factor 1+(m−1)rho. It illustrates why many correlated observations can contain less information than the same number of independent observations. It is not an exact substitute for a cluster-aware analysis or for enough independent clusters. With few clusters, inference can remain fragile even when there are many people in each.
Implementation adds another layer. A factor may be assigned but not delivered; blinding may fail; outcomes may be missing differentially. The original experiment lesson discusses controls and masking. A complete report should connect the planned comparison with what actually occurred, without silently redefining the target to favorable completers. The worked preparation teaches how to separate interaction, replication, and assignment structure before interpreting a p-value.
Worked records
Record 1
Fictional balanced experiment has cell means10, 16, 14, 24 in order A0 B0, A1 B0, A0 B1, A1 B1. A separate cluster plan has5 classes of 20 students each and stipulated intraclass correlation0.1.
Develop the reasoning
A effects6 and 10 give interaction 4; average A8. B effects4 and 8 give average B6. The additive combined forecast20 misses observed24. F or the separate cluster-planning approximation, design factor 1+19×0.1=2.9; 100/2.9≈34.4828 effective independent-observation equivalents. This does not turn five randomized classes into34 independent classes.
Progressive practice — optional
1. Foundation
Change the combined-condition mean from 24 to 20 with the other means fixed. Recalculate interaction.
Compare the worked reasoning
A effect at B1 becomes 20−14=6, matching B0 effect6; interaction 0 on this additive scale.
Change the record
The outcome is transformed by a nonlinear logarithm.
Compare the changed-record reasoning
Additivity must be checked on the transformed scale; zero raw-scale interaction does not automatically remain zero after transformation.
2. Application
F or cluster size20, compare the planning factor at rho0 andrho0.2.
Compare the worked reasoning
At 0, factor 1; at 0.2, factor 1+19×0.2=4.8 and 100/4.8≈20.8333 equivalents. The dependence assumption changes information substantially.
Change the record
The100 students are all in a single randomized class.
Compare the changed-record reasoning
The independent-assignment information is not100. One cluster cannot support an ordinary between-arm randomized comparison by treating its students as independent allocations.
3. Transfer
A factorial table has one mean per cell but no within-cell variance or replication record. Can a standard error be read from the four means?
Compare the worked reasoning
No. Means identify the contrasts but not their sampling variability. Obtain the experimental-unit and replication information.
Change the record
The factors were implemented differently across sites after assignment.
Compare the changed-record reasoning
The planned factorial contrast no longer automatically describes one consistent intervention version. Document implementation and revise the estimand/analysis assumptions.
Sources and scope
- NIST: Choosing an Experimental Design: Opened official design-family framework. Factorial contrasts and cluster-planning illustration are original teaching examples, not a power guarantee.