External Validity of Online Experiments: Can We Predict the Future?

20 Nov 2024

Problem

Every experimentation platform assumes that the effect measured this week will hold after launch, for users nobody experimented on. Behavior drifts, the user mix changes and other launches interact with the feature. If that assumption fails often, the confidence intervals of a standard scorecard promise more certainty than the data supports. Microsoft's Experimentation Platform (ExP) measured how often it fails.

Example from the article: one anonymized metric had an effect of about 0.0009 on day 1 and 0.0015 on day 5, each with a tiny error bar; its 14-day result fell outside the 7-day 95% interval.

Solution in brief

Test the "future is like the past" assumption directly. Compare treatment effects on adjacent days with a z-statistic, check how often the 14-day result leaves the 7-day confidence interval, and use Kendall's τ to tell systematic trends from random volatility. Where volatility is high, extend the experiment, run a reverse flight or keep a holdout group.

Questions this case answers
  • How to check whether a treatment effect measured over a short window predicts the effect in the following period when the true effect drifts over time
  • How to quantify how overconfident the stated uncertainty of a short randomized experiment is when the underlying population changes between days
  • How to tell whether a one-week A/B effect estimate will still hold after launch?
  • How to know how much to trust a 95% or 3σ confidence interval from a short experiment?

Tools and methods

  • Adjacent-day z-statistic — compares the effects of two neighboring days against a unit Gaussian.
  • 7-day vs 14-day scorecard comparison — counts how often the standard error grows and how often the longer result leaves the shorter interval.
  • Kendall's τ — rank statistic that shows whether daily effects trend up or down.
  • Reverse flights and holdout groups — post-launch checks of the effect.
Continue reading — it's free

Google or a one-time email code. No password.