Section 18.2.17

Figure 11: jittered goodput strips and run-order populations

Definition

A jittered strip plot draws each measurement as a dot whose height is the measured value, moved a small random distance sideways, called jitter, so that equal values do not hide one another. The sideways position carries no information. Run-order populations are groups of trials run in separate stretches of time, such as a block with the feature under test switched on (ON), a block with it off (OFF) and a second ON block. Trials with the same setting from different stretches can differ for reasons other than the setting.

Where it fits

Main entry: Blocking (§11.9).

In a goodput §7.39 figure, each dot is one trial, one run of the experiment, and its height is that trial’s goodput: the rate at which useful application bytes arrived, in bits per second. A short horizontal line often marks each group’s median §11.13, the middle value. ON and OFF are setting names written in capitals, not abbreviations. The groups are kept apart, in run order, because conditions change over time. Radio interference, the temperature of the boards, or a new firmware build (the software that runs on the device) or measuring instrument between blocks can move the outcome. Each is a nuisance factor: one that affects the outcome but is not under study. The blocking entry treats such factors. Running one setting between two blocks of the other setting makes a slow change over time, called drift, visible.

Take invented goodputs in kilobits per second: 90 and 92 in the first ON block, 100 and 102 in the OFF block, 110 and 112 in the second ON block. The block means are 91, 101 and 111. The two ON blocks differ by 111−91=20111 - 91 = 20 with the same setting, so 20 units of change came from something other than the setting. Pooling both ON blocks into one group gives the mean (90+92+110+112)/4=101(90 + 92 + 110 + 112) / 4 = 101, equal to the OFF mean, which suggests that switching the feature on has no effect. The pooled ON values range from 90 to 112, while each block spreads by only 2, so the pooled spread mixes drift with trial-to-trial noise. If the second ON block instead had six trials, three at 110 and three at 112, its mean would still be 111, but the pooled mean would be (182+666)/8=106(182 + 666) / 8 = 106. Pooling would then report ON as 5 units above OFF.

The analysis therefore goes block by block. The difference between the two ON blocks measures drift directly. If drift is linear in time and the blocks are equally spaced, the average of the two ON means, (91+111)/2=101(91 + 111) / 2 = 101, estimates the ON value at the time of the OFF block, and the effect estimate is 101−101=0101 - 101 = 0. That conclusion rests on the linear-drift assumption, which three blocks cannot test; more blocks in alternating orders can. A firmware change between blocks makes them different treatments, not two samples of one. Trials in one block share that block’s conditions, so the number of independent comparisons is the number of blocks, not of trials; counting trials instead is pseudoreplication §11.6. All numbers in this entry’s examples are invented.

Two features of the drawing mislead. The length of a median line is not an uncertainty interval unless the legend says so. A vertical axis that starts far above zero magnifies small differences: on an axis from 85 to 115, a difference of 10 fills a third of the plot’s height.

Questions answered

Why not pool both ON groups?

The two ON groups, trials run with the feature under test switched on before and after a block with it switched off, should not be pooled because they were run at different times and are different populations. Any difference between them, with the same setting, measures drift: a change over time caused by something other than the setting, such as interference, temperature, or a new firmware build or instrument. Pooling hides that drift, mixes it into the spread of the ON group, and gives each block a weight proportional to its number of trials.

With invented block means of 91 (first ON), 101 (OFF) and 111 (second ON), the ON blocks differ by 20 units. Pooling two trials from each ON block gives an ON mean of 101, equal to OFF; pooling two trials from the first and six from the second gives 106, an apparent effect of +5 from the same block means. Analyze block by block instead: report the drift between the ON blocks, and, if drift is assumed linear in time, compare OFF with the average of the two ON block means. Three blocks cannot test that assumption, so the conclusion is only as strong as the assumption.

Related entries: Median (§11.13), Confidence interval (§11.18), Confounding (§11.10), Pseudoreplication (§11.6), Opposite block orders and time drift (§18.5.5), Throughput versus goodput (§7.39).