How can selection bias and survivorship bias threaten the validity of an experiment?

Quick Overview

Asks how selection bias and survivorship bias can break the conclusions of an A/B test and how to guard against them. Tests whether a data scientist can spot when the analyzed users stop being a random sample of the assigned users, and knows the checks that catch it.

How can selection bias and survivorship bias threaten the validity of an experiment?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How can selection bias and survivorship bias threaten the validity of an experiment? Think of a product A/B test where users are assigned to treatment or control and their outcomes are measured afterwards. ```hint Who is in the analysis table Look at which users end up in the data you analyze and ask whether the treatment, or the users themselves, could have changed who is in it. ``` ```hint Count before and after Compare the number of users assigned to each arm with the number you actually measure in each arm. ``` ### What a Strong Answer Covers - How each bias makes the analyzed groups differ from a random sample of the assigned units - Which kind of validity each bias damages and why the measured difference stops being the causal effect - A concrete example where one of the biases makes a neutral or harmful treatment look good - Practical ways to prevent or detect each bias in a running experiment ### Follow-up Questions - Users in treatment churn faster than users in control. How would you still say something about the effect on engagement for users who would have stayed in either arm? - How does a sample ratio mismatch relate to these biases, and what would you check first when you see one? - An experiment runs only on users who joined a beta program. What can you conclude about the full user base, and what can't you?

Overview: Asks how selection bias and survivorship bias can break the conclusions of an A/B test and how to guard against them. Tests whether a data scientist can spot when the analyzed users stop being a random sample of the assigned users, and knows the checks that catch it.

Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How can selection bias and survivorship bias threaten the validity of an experiment? Think of a product A/B test where users are assigned to treatment or control and their outcomes are measured afterwards.

What a Strong Answer Covers Guidance

  • How each bias makes the analyzed groups differ from a random sample of the assigned units
  • Which kind of validity each bias damages and why the measured difference stops being the causal effect
  • A concrete example where one of the biases makes a neutral or harmful treatment look good
  • Practical ways to prevent or detect each bias in a running experiment

Follow-up Questions Guidance

  • Users in treatment churn faster than users in control. How would you still say something about the effect on engagement for users who would have stayed in either arm?
  • How does a sample ratio mismatch relate to these biases, and what would you check first when you see one?
  • An experiment runs only on users who joined a beta program. What can you conclude about the full user base, and what can't you?