How do you ensure that your A/B test results will reflect the entire population (external validity)?

Quick Overview

Asks how to make sure an A/B test result will hold for the whole user population after launch. Tests the difference between internal and external validity, sampling and triggering, timing effects such as novelty and seasonality, segment heterogeneity, effects at full scale, and post-launch holdouts.

How do you ensure that your A/B test results will reflect the entire population (external validity)?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How do you ensure that your A/B test results will reflect the entire population (external validity)? ```hint Separate the two validities Randomization tells you the effect is real for the users and the weeks in the test. List the ways those users and weeks could differ from the ones the launch will reach. ``` ```hint Think past the end date Consider what changes once the feature reaches everyone and has been live for months. ``` ### What a Strong Answer Covers - The difference between internal and external validity, and why randomization alone does not give the second - Making the tested population match the target population, including triggering, excluded traffic and reweighting by segment mix - Timing threats: weekly cycles, novelty and primacy effects, seasonality and one-off events - Heterogeneous effects across segments and effects that change with scale, such as interference at full rollout - How the result is confirmed after launch with a staged ramp and a holdout ### Follow-up Questions - Your test ran mostly on new users, but most revenue comes from long-tenured users. How would you estimate the effect for the whole user base? - How would you detect a novelty effect in the data you already have? - Why might a feature that wins at 5% exposure in a two-sided marketplace lose at 100%? - How large should a long-term holdout be, and how long would you keep it?

Overview: Asks how to make sure an A/B test result will hold for the whole user population after launch. Tests the difference between internal and external validity, sampling and triggering, timing effects such as novelty and seasonality, segment heterogeneity, effects at full scale, and post-launch holdouts.

General logo
General
Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How do you ensure that your A/B test results will reflect the entire population (external validity)?

What a Strong Answer Covers Guidance

  • The difference between internal and external validity, and why randomization alone does not give the second
  • Making the tested population match the target population, including triggering, excluded traffic and reweighting by segment mix
  • Timing threats: weekly cycles, novelty and primacy effects, seasonality and one-off events
  • Heterogeneous effects across segments and effects that change with scale, such as interference at full rollout
  • How the result is confirmed after launch with a staged ramp and a holdout

Follow-up Questions Guidance

  • Your test ran mostly on new users, but most revenue comes from long-tenured users. How would you estimate the effect for the whole user base?
  • How would you detect a novelty effect in the data you already have?
  • Why might a feature that wins at 5% exposure in a two-sided marketplace lose at 100%?
  • How large should a long-term holdout be, and how long would you keep it?