How do you set an A/B test's duration, and why run it for at least a full business cycle?

Quick Overview

Asks how to choose how long an A/B test should run and why experiments usually cover at least a full business cycle. Tests power-based sample sizing, awareness of weekly and monthly behavior patterns, novelty effects and the cost of peeking at results.

How do you set an A/B test's duration, and why run it for at least a full business cycle?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How do you determine the appropriate duration for an A/B test, and why is it often recommended to run an experiment for at least a full business cycle? ```hint Two separate floors Start from the sample size a power analysis gives you and your daily traffic. Then ask what a test that only ran from Tuesday to Thursday would fail to see. ``` ### What a Strong Answer Covers - Turning a power analysis into a minimum duration using eligible traffic per variant - Why weekly and monthly behavior patterns make a partial cycle unrepresentative - Novelty and primacy effects and how they affect the horizon - Fixing the horizon in advance, or using a sequential method, so peeking does not inflate false positives - Practical limits on duration, such as how unique users accumulate, holidays and the cost of running too long ### Follow-up Questions - At current traffic the test needs three months. What would you do? - How would you detect a novelty effect while the test is running? - How does the duration estimate change when the randomization unit is a user who comes back on several days? - How does a sequential testing method let you stop early without inflating the false positive rate?

Overview: Asks how to choose how long an A/B test should run and why experiments usually cover at least a full business cycle. Tests power-based sample sizing, awareness of weekly and monthly behavior patterns, novelty effects and the cost of peeking at results.

Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

How do you determine the appropriate duration for an A/B test, and why is it often recommended to run an experiment for at least a full business cycle?

What a Strong Answer Covers Guidance

  • Turning a power analysis into a minimum duration using eligible traffic per variant
  • Why weekly and monthly behavior patterns make a partial cycle unrepresentative
  • Novelty and primacy effects and how they affect the horizon
  • Fixing the horizon in advance, or using a sequential method, so peeking does not inflate false positives
  • Practical limits on duration, such as how unique users accumulate, holidays and the cost of running too long

Follow-up Questions Guidance

  • At current traffic the test needs three months. What would you do?
  • How would you detect a novelty effect while the test is running?
  • How does the duration estimate change when the randomization unit is a user who comes back on several days?
  • How does a sequential testing method let you stop early without inflating the false positive rate?