When is A/B testing the wrong choice, and when would you use quasi-experiments, switchbacks or geo-tests?

Quick Overview

Asks when a user-level A/B test is the wrong way to measure a product change and which designs to use instead. Tests understanding of interference between users, geo-tests, switchback tests, and quasi-experiments such as difference-in-differences, regression discontinuity and synthetic control, plus the assumptions each one needs.

When is A/B testing the wrong choice, and when would you use quasi-experiments, switchbacks or geo-tests?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

When is A/B testing not the right choice for evaluating a change, and when would you consider alternative methods like quasi-experiments, switchbacks, or geo-tests for causal inference? ```hint Start from the assumptions A user-level test assumes you can assign treatment per user, and it assumes something about how one user's treatment affects other users' outcomes. Ask what happens when either assumption fails. ``` ```hint Match the method to the failure For each alternative, name the unit it randomizes (or the natural variation it relies on) and the new assumption it asks you to accept in exchange. ``` ### What a Strong Answer Covers - The specific situations where user-level randomization fails, each with a concrete product example. - For geo-tests and switchbacks, which unit is randomized and which failure that choice fixes. - The main quasi-experimental designs and the identifying assumption behind each one. - The costs of moving away from a clean A/B test: fewer units, lower power, stronger assumptions, and variance computed at the level of the randomized unit. - How to check or defend those assumptions before trusting the estimate. ### Follow-up Questions - How would you choose the window length for a switchback test of a new dispatch algorithm? - You can run a geo-test in only 20 markets. How would you assign treatment and build a confidence interval? - How would you check the parallel-trends assumption before trusting a difference-in-differences estimate? - A feature launched to every user last month with no holdout. How would you estimate its effect?

Overview: Asks when a user-level A/B test is the wrong way to measure a product change and which designs to use instead. Tests understanding of interference between users, geo-tests, switchback tests, and quasi-experiments such as difference-in-differences, regression discontinuity and synthetic control, plus the assumptions each one needs.

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

When is A/B testing not the right choice for evaluating a change, and when would you consider alternative methods like quasi-experiments, switchbacks, or geo-tests for causal inference?

What a Strong Answer Covers Guidance

  • The specific situations where user-level randomization fails, each with a concrete product example.
  • For geo-tests and switchbacks, which unit is randomized and which failure that choice fixes.
  • The main quasi-experimental designs and the identifying assumption behind each one.
  • The costs of moving away from a clean A/B test: fewer units, lower power, stronger assumptions, and variance computed at the level of the randomized unit.
  • How to check or defend those assumptions before trusting the estimate.

Follow-up Questions Guidance

  • How would you choose the window length for a switchback test of a new dispatch algorithm?
  • You can run a geo-test in only 20 markets. How would you assign treatment and build a confidence interval?
  • How would you check the parallel-trends assumption before trusting a difference-in-differences estimate?
  • A feature launched to every user last month with no holdout. How would you estimate its effect?