Quant interview toolkit · selection bias

Why the cheapest broker in your test may not be cheap

A desk tests two brokers and picks the one with the lower measured implementation cost. The winner’s estimate is 3 basis points; the loser measured 7. The deck celebrates a 2-basis-point improvement over the old 5-basis-point benchmark. But what if both brokers’ true cost is 5? Selection alone can create a convincing winner.

A four-row experiment

Assume each broker has true cost 5 bp. Each estimate is either 2 bp too low or 2 bp too high, independently, with equal probability. The desk selects the lower estimate, breaking ties fairly.

Estimate for AEstimate for BChosen estimateChosen broker’s true cost
3335
3735
7335
7775

Each row has probability one quarter. The average reported cost of the selected broker is (3+3+3+7)/4=4(3+3+3+7)/4=4 bp. The average true cost is 5 bp. Every individual broker estimate is unbiased, yet the selected minimum understates the selected broker’s true cost by 1 bp on average.

This is not a claim that the lower-cost broker can never be better. It isolates the bias that appears even when the brokers are identical. Real differences in true cost and selection noise can coexist.

See the same effect with continuous noise

Let the two estimated costs be X=μ+ϵAX=\mu+\epsilon_A and Y=μ+ϵBY=\mu+\epsilon_B, where the errors are independent N(0,σ2)N(0,\sigma^2). The identity

min⁡(X,Y)=X+Y−∣X−Y∣2\min(X,Y)=\frac{X+Y-|X-Y|}{2}

shows exactly where the optimism enters. The average of X+YX+Y is 2μ2\mu. The difference X−YX-Y is normal with standard deviation 2σ\sqrt2\sigma, and its expected absolute value is 2σ/π2\sigma/\sqrt\pi. Therefore

E[min⁡(X,Y)]=μ−σπ.E[\min(X,Y)]=\mu-\frac{\sigma}{\sqrt\pi}.

With a 2 bp standard error per broker, the selected estimate averages about 1.13 bp below the common true cost. The more uncertain the estimates, the larger this selection effect. If both estimates share the same market-day noise, the errors may be correlated and the exact number changes; common noise cancels partly in the comparison.

Make the winner earn its place twice

A clean evaluation separates selection from confirmation. Use one period or randomized traffic split to choose the broker, then evaluate the chosen routing rule on new orders. Keep both costs measured on comparable order flow: symbol, size, urgency, market state and the same price benchmark. If assignment differs with order difficulty, the comparison can be confounded even before selection bias enters; a venue-mix reversal shows how.

The confirmation estimate will often rise toward the true cost compared with the selected in-sample minimum. That is regression to the mean, not evidence that the broker suddenly deteriorated. If you retest many pairs and publish only the best confirmation run, you have selected again. Multiple-testing bias in Sharpe ratios is the same logic applied to the highest score rather than the lowest cost.

Let noisy broker estimates compete

Every broker has the same true 5 bp cost. Estimates have independent normal errors; the curve integrates the selected minimum.

Practice

Selection without noiseIf both brokers' costs were measured exactly, would picking the cheaper estimate create this noise-selection bias?
Show answer

No. With exact measurements, the selected estimate equals the selected true cost. Choosing the better broker can create a real gain. The bias above comes from selecting on noisy measurements.

Many candidatesIf the desk tests twenty identical brokers instead of two, what direction should the selected estimated cost move, and why?
Show answer

It tends to move lower. The minimum of more noisy, unbiased estimates has more chances to capture a large negative measurement error. The selected broker’s true cost remains 5 bp in the identical-broker example, so the gap between reported and true cost generally grows.