Section 18.5.5

Opposite block orders and time drift

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

Main entry: Blocking (§11.9).

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 12−10=212 - 10 = 2 ms. Drift adds 1 ms to the second run of each block. In block AB, A measures 10 ms and B measures 12+1=1312 + 1 = 13 ms, a B-minus-A contrast of 13−10=313 - 10 = 3 ms. In block BA, B measures 12 ms and A measures 10+1=1110 + 1 = 11 ms, a contrast of 12−11=112 - 11 = 1 ms. The average of the two contrasts is (3+1)/2=2(3 + 1) / 2 = 2 ms, the true difference. Neither block alone gives it.

In general, let δ\delta be the true B-minus-A difference, and let Δ1\Delta_1 and Δ2\Delta_2 be the drift from the first position to the second in block AB and in block BA. Block AB gives δ+Δ1\delta + \Delta_1, block BA gives δ−Δ2\delta - \Delta_2, and their average is δ+(Δ1−Δ2)/2\delta + (\Delta_1 - \Delta_2) / 2. The drift cancels exactly when Δ1=Δ2\Delta_1 = \Delta_2. 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.

The two contrasts also reveal order sensitivity. Their difference, 3−1=23 - 1 = 2 ms in the first example, equals Δ1+Δ2\Delta_1 + \Delta_2 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 13−10=313 - 10 = 3 ms, the B-then-A block gives 12−11=112 - 11 = 1 ms, and the average (3+1)/2=2(3 + 1) / 2 = 2 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).