Section 11.30

Survivorship bias

Definition

Survivorship bias is the error of drawing conclusions only from the cases that passed a selection, the survivors, while the cases that failed it go unseen, when passing the selection is related to the quantity studied. The survivors differ systematically from all cases. In measurement, the selection is often a chain of steps between a planned attempt and a row in the final table: an attempt that crashes, disconnects or times out never reaches the table, so a summary of the table describes only the attempts that went well.

Where it fits

Main entry: Missing data and attrition (§11.29).

The missing data and attrition entry gives the general theory. Survivorship bias is the form it most often takes in performance measurement: the values are missing because the cases failed, so the loss depends on the outcome, the case that entry calls missing not at random. The classic illustration comes from studies of aircraft damage in the Second World War associated with the statistician Abraham Wald. The bullet holes on aircraft that returned showed where an aircraft could be hit and still return. The parts that showed little damage on returning aircraft were therefore likely the parts where a hit brought an aircraft down, and those parts needed armor most.

Survivorship bias can reverse a comparison. Half of a set of inputs are easy and half are hard. Version A handles easy inputs in 1 millisecond and hard ones in 10, so its mean over all inputs is (1+10)/2=5.5(1 + 10)/2 = 5.5 milliseconds. Version B takes 1.2 milliseconds on easy inputs and crashes on every hard input, leaving no timing. The mean over B’s surviving rows is 1.2 milliseconds, so B looks 5.5/1.2≈4.65.5/1.2 \approx 4.6 times faster, yet B is slower on every input it handles and fails on half of them. An honest report gives B’s success fraction, 1/2=0.51/2 = 0.5, and B’s mean over successful inputs, 1.2 milliseconds, labeled as such, beside A’s 1 millisecond on the same easy inputs.

Finding the loss means counting, at each step from the planned attempts onwards, how many cases entered and how many left: the attempt started, the system began the operation, the operation completed, the record was written and received, it passed the validity checks, and it entered the analysis. Every metric must state which count is its denominator, the number it divides by: a success rate divides by attempts, a mean latency by completed, recorded operations. A run excluded as invalid still belongs in the accounting of attempts, even when it is rightly kept out of the latency summary.

Questions answered

Which failures disappeared before the final metric denominator was formed?

Every case removed by a step between the planned attempt and the final table disappeared before the denominator, the count that a metric divides by, was formed: attempts that never started, operations that crashed or restarted the device before writing a record, connections that dropped, operations that timed out, records lost or corrupted in transfer, and runs excluded by validity checks. In a latency table these cases are silently absent, so the table describes only the attempts that went well; that is survivorship bias.

To find them, reconcile the counts at each step, from planned attempts down to the rows analyzed, and give a reason for every case lost between two steps. Report each metric’s denominator, report the losses as an outcome of their own, such as a failure rate, and present any mean over successful cases beside the success fraction. For example, 100 attempts that give 90 successful timings of 1 millisecond each and 10 crashes yield a success fraction of 90/100=0.990/100 = 0.9 and a mean of 90/90=190/90 = 1 millisecond over the successes; calling 1 millisecond the latency of all 100 attempts ignores the 10 crashes.

Related entries: Missing data and attrition (§11.29), Censoring (§11.28), Estimand and estimator (§11.2), Finite-window rate (§11.41), Sampling bias (§14.31).