Definition
Opposite block orders means running two conditions, A and B, in two blocks with the order reversed: one block, a short group of runs made under shared circumstances, runs A then B, and the other runs B then A. Time drift is a slow change in the setup during an experiment, such as a device warming up or a log growing, that shifts every later measurement. Averaging the two blocks’ B-minus-A differences cancels drift that adds the same amount per position in both blocks, but not other confounding §11.10.
Where it fits
The blocking entry explains why runs are grouped into blocks; this entry is about the order inside a block. Confounding means that something other than the condition differs between the runs of A and the runs of B and also affects the measurement. When A always runs first, drift is a confounder: B looks slower partly because it ran later. Reversing the order in a second block makes the drift count against B in one block and against A in the other. Call the block that runs A then B block AB, and the block that runs B then A block BA.
Invented numbers: without drift, A takes 10 ms (milliseconds) and B takes 12 ms, so the true difference is ms. Drift adds 1 ms to the second run of each block. In block AB, A measures 10 ms and B measures ms, a B-minus-A contrast of ms. In block BA, B measures 12 ms and A measures ms, a contrast of ms. The average of the two contrasts is ms, the true difference. Neither block alone gives it.
In general, let be the true B-minus-A difference, and let and be the drift from the first position to the second in block AB and in block BA. Block AB gives , block BA gives , and their average is . The drift cancels exactly when . An offset that shifts a whole block equally, such as a restart that slows every run of the second block by the same amount, cancels as well, because each contrast compares two runs of the same block.
Two things break the balance.
Drift that changes speed. A device that warms up quickly at first and slowly later might give ms and ms. The average is then ms, wrong by 0.4 ms.
Carryover, an effect of one run on the next. Suppose A leaves state behind, such as a fuller log, that slows the following run by 1.5 ms, and B leaves nothing behind. With the same 1 ms drift in both blocks, block AB gives ms, block BA still gives 1 ms, and the average is ms, wrong by 0.75 ms, half of A’s carryover. Carryover cancels only when both conditions leave the same carryover.
The two contrasts also reveal order sensitivity. Their difference, ms in the first example, equals plus the carryover of both conditions: everything that depends on position. A large difference warns that order matters, but it cannot tell drift from carryover, because both enter the same way. Separating them, and estimating run-to-run noise, needs more blocks, with the order of each block chosen at random (randomization §11.8), and repeated runs.
Limits and common mistakes
Two blocks give no estimate of noise: the spread between the two contrasts mixes run-to-run variation with the order effect.
Reversed order balances only what is tied to position. A difference between the blocks that affects A and B unequally, such as radio interference during the second block that slows B more than A, does not cancel.
The balance needs equal numbers of AB and BA blocks, analyzed together. Reporting one block’s contrast, or pooling unequal numbers of the two orders, lets the drift back in. Whether drift canceled in a real experiment must be checked against its run schedule, so record the time and position of every run.
Questions answered
Do two opposite orders eliminate confounding?
No, two opposite orders do not eliminate confounding. Running one block of runs in the order A then B and a second block in the order B then A removes one specific confounder, time drift: a slow change in the setup that shifts later measurements. It removes the drift only when the drift adds the same amount per position in both blocks and the analysis averages the two blocks’ B-minus-A contrasts. In an invented example, A takes 10 ms (milliseconds), B takes 12 ms, and drift adds 1 ms to the second run of each block. The A-then-B block gives ms, the B-then-A block gives ms, and the average ms is the true difference.
Opposite orders do not remove drift that changes speed between the blocks, carryover in which one condition affects the next run differently from the other, differences between the blocks that affect A and B unequally, or any confounder not tied to position, and two blocks give no estimate of run-to-run noise. Stronger claims need many blocks with randomly chosen orders and repeated runs.
Related entries: Randomization (§11.8), Confounding (§11.10), Causal inference (§11.11), Warmup and steady state (§11.27), Paired design (§11.7).