Bell Statistics

What is survivorship bias?

Survivorship bias is the distortion that arises when an analysis includes only the units that remained, and those that left were not a random subset. What looks like a property of the population is often a property of who was still there to be measured.

Also called
survivor bias, attrition in analysis, conditioning on survival
Allon Korem

Written by Allon Korem

Chief Executive Officer

Last updated

In plain English

Analyse the customers you still have and you learn about the customers who stayed. If leaving was related to the thing you are measuring — and it usually is — then the surviving group is systematically different from the group you started with, and every statistic computed from it inherits that difference. This is survivorship bias, and its distinguishing feature is that the data looks complete.

It is a specific mechanism within the broader problem of selection bias, and what makes it worth its own treatment is that the selection happens after the fact and over time. Ordinary selection bias is about who entered; survivorship is about who remained. That temporal quality is what makes it so easy to miss, because the sample was perfectly fine when it was assembled.

In product analytics the everyday form is a satisfaction or engagement metric that improves while the business deteriorates. Users who found the product frustrating leave, so the average satisfaction among remaining users rises — the metric records an improvement caused entirely by the departure of the unhappy. Any measure computed over an active user base has this property, which is why a rising average engagement figure during a period of elevated churn should be treated as a warning rather than a result.

In experiments it appears when attrition differs between arms. If the treatment causes more of the disengaged users to leave, the treatment arm's remaining users are a healthier group than control's, and comparing them measures who survived rather than what the treatment did. The diagnostic is straightforward: compare attrition rates between arms as a matter of routine, alongside the sample ratio mismatch check, since differential dropout is the same class of failure.

The remedies depend on the setting. For cohort analysis, fix the cohort at entry and follow it, so departures are visible as departures rather than silently excluded — a metric over a fixed cohort can fall, which is the point. For time-to-event questions, the log-rank test and survival methods handle censoring properly. For experiments, analyse everyone assigned rather than everyone remaining, which is intent-to-treat and is the same discipline applied to a different exit.

The formula

The bias is a difference between two conditional expectations, and the size of it depends on how strongly leaving relates to the outcome.

What you measure
E[ Y | survived ]

Not E[Y], unless survival is independent of Y. That independence is the assumption almost nobody states.

The bias
E[ Y | survived ] − E[ Y ] ∝ Cov( Y, survival )

Zero only when leaving is unrelated to the outcome. For satisfaction and engagement metrics it never is.

The experiment diagnostic
attrition rate in treatment vs attrition rate in control

A gap means the arms' survivors differ — see the chi-square calculator.

The fix
fix the cohort at entry; analyse everyone assigned

A fixed-cohort metric is allowed to fall, which is what makes it informative.

Worked example

A subscription product reports average weekly sessions per active user, which rises steadily over six months and is presented as evidence that engagement work is succeeding. An analyst recomputes it over a fixed cohort — everyone active in month one, followed regardless of whether they remain.

Active-user metric, month 1
4.1 sessions per week
Active-user metric, month 6
5.3 sessions per week (+29%)
Monthly churn over the period
rose from 4.2% to 7.8%
Fixed cohort, month 1
4.1 sessions per week
Fixed cohort, month 6 (leavers counted as zero)
3.2 sessions per week (−22%)
Sessions among month-1 cohort still active
5.4 — essentially unchanged from the headline

The headline metric rose 29%. The same population followed properly fell 22%. Both numbers are correct arithmetic on the same data.

The mechanism is in the last row: among users who stayed, engagement did rise slightly — the headline is not a computational error. What it omits is that a growing share of the original cohort stopped being counted at all, and those were disproportionately the light users. Rising churn mechanically improves any average taken over survivors, so the metric was reporting the deterioration as an improvement. The fixed-cohort figure is the honest one for the question being asked, and it falls because leavers contribute zero rather than disappearing. Two things follow. Any per-active-user metric should be read alongside the churn rate, since the two move together for reasons that have nothing to do with product quality. And a metric that cannot go down when the business gets worse is not measuring the business.

Common misconceptions

The data is complete for everyone we measured, so there is no missing-data problem.
The problem is who stopped being measured. A dataset can be complete for every surviving unit and still describe a population that no longer resembles the one you started with. Completeness within the survivors says nothing about whether the survivors are representative.
Survivorship bias is the same as selection bias.
It is a form of it, distinguished by when the selection happens. Selection bias generally concerns who entered the sample; survivorship concerns who remained in it over time. The temporal element is why it evades checks performed at the start — the sample was genuinely random when it was drawn.
If attrition is high in both arms of an experiment, it cancels out.
Only if the rate and the composition of leavers are the same in both, which is exactly what a treatment affecting engagement would disturb. Equal rates with different compositions still bias the comparison. Compare attrition between arms as a routine check rather than assuming symmetry.

Frequently asked questions

How does cohort analysis avoid survivorship bias?
By fixing the population at entry and following it, so users who leave stay in the denominator and contribute zero rather than disappearing. That is what allows a cohort metric to decline when the product deteriorates. A metric computed over whoever is active this week is recomputed on a different population each time, which is why it can improve while the business shrinks.
How does survivorship bias show up in an A/B test?
As differential attrition — the treatment causes more or fewer users to leave, so the surviving groups are no longer comparable even though assignment was random. The check is to compare dropout rates between arms alongside the sample ratio check. The remedy is analysing everyone assigned rather than everyone remaining, which is intent-to-treat and preserves the randomisation.
What is the quickest way to spot it in a reported metric?
Ask what happens to the denominator when someone leaves. If departures silently drop out, the metric is computed over survivors and will improve as churn rises. Recomputing over a fixed cohort with leavers counted as zero takes minutes and usually settles the question — a large divergence between the two versions is the signature.

Related terms

  • Confounding variable

    A common cause of both variables — the reason a strong, stable correlation can mean nothing.

  • Holdout group

    A control that outlives the experiment — the only way to see what a change did after month one.

  • P-hacking

    Enough defensible choices, made after seeing the data, will find significance in anything.

  • Selection bias

    When who ends up in the data is not who you meant to study — and more data makes it worse.

Calculate it

  • Log-rank test

    Compare two survival, retention or churn curves — events needed to plan, chi-square and p-value to analyse.

  • Two-sample t-test

    Compare the average of two independent groups — plan the sample size, then test the result.

Knowing the term is the easy part

Applying it to a live measurement problem is the part that goes wrong. If you are designing an experiment, reading a result you do not trust, or trying to work out what your marketing actually caused, that is the work we do.

References