Interactive demo · Introduction to Mathematical Statistics · Chapter 9

Random assignment versus reaching in and grabbing

The twenty rats below have fixed aggression scores (top). Ten are chosen for the injection, the other ten are controls, and the two group means are compared. Random draw: every one of the 184 756 possible splits is equally likely, so the difference of means is centred at the true treatment effect and has a known spread (blue curve, bottom). Reach in and grab: you tend to avoid the rats that look likely to bite, so the treated group is calmer to begin with. Each simulated experiment records the difference of means (histogram) and runs the pooled t test of Section 9.2 at 5%. With no treatment effect at all, the grabbing rule makes the test reject far too often; with a real effect it can make the effect vanish. More rats would not repair it.

How the ten are chosen

True effect of the injection

Run

Scoreboard

Try these

Selection rule: the ten treated rats are drawn one at a time, each remaining rat with probability proportional to exp(−βz), where z is its standardised score; β = 0 is a random draw. The scores are fixed: mean 49.2, standard deviation 9.48. The exact standard deviation of the difference under random assignment is 9.48√(1/10 + 1/10) = 4.24 (Filling the gap 9.15).

In the lecture notes