Testing five button colors in one A/B/n test: what is the main statistical risk and how do you handle it?

Quick Overview

Asks what goes wrong statistically when a product manager wants five button colors tested at once, and how to keep the test valid. Tests multiple comparisons, family-wise error and false discovery rate corrections, power and sample size for A/B/n tests.

Testing five button colors in one A/B/n test: what is the main statistical risk and how do you handle it?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

A Product Manager asks you to test five different button colors simultaneously in an A/B test. What would be your primary concern, and how would you address it to maintain statistical validity? ```hint Count the comparisons Work out how many comparisons the test implies, then the chance that at least one comes out significant when no color has any real effect. ``` ```hint Follow the traffic Think about what more arms do to the traffic each arm gets and to the sample size each comparison needs. ``` ### Clarifying Questions to Ask - Is one of the five colors the current button (the control), or are all five new colors tested against the current one? - What is the primary metric, and what is the smallest lift that would be worth shipping? - Does the PM need to know whether each color beats the current one, or only which color is best? - How much traffic reaches this button per day, and how long can the test run? ### What a Strong Answer Covers - Names the main statistical risk and quantifies how it grows with the number of comparisons. - Chooses a correction method and says which error rate it controls. - Accounts for what more arms do to power, sample size and test duration. - Fixes the analysis plan before launch: primary metric, set of comparisons and stopping rule. - Questions whether the test is worth the traffic, and offers alternatives. ### Follow-up Questions - Bonferroni or Benjamini-Hochberg: which fits this test better, and why? - One color is significant at $p = 0.03$ before any correction. What do you tell the PM? - How would the analysis change if the PM only wants the best color, not a verdict on each one? - When would a multi-armed bandit be a better choice than a fixed A/B/n test?

Overview: Asks what goes wrong statistically when a product manager wants five button colors tested at once, and how to keep the test valid. Tests multiple comparisons, family-wise error and false discovery rate corrections, power and sample size for A/B/n tests.

Nov 24, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

A Product Manager asks you to test five different button colors simultaneously in an A/B test. What would be your primary concern, and how would you address it to maintain statistical validity?

Clarifying Questions to Ask Guidance

  • Is one of the five colors the current button (the control), or are all five new colors tested against the current one?
  • What is the primary metric, and what is the smallest lift that would be worth shipping?
  • Does the PM need to know whether each color beats the current one, or only which color is best?
  • How much traffic reaches this button per day, and how long can the test run?

What a Strong Answer Covers Guidance

  • Names the main statistical risk and quantifies how it grows with the number of comparisons.
  • Chooses a correction method and says which error rate it controls.
  • Accounts for what more arms do to power, sample size and test duration.
  • Fixes the analysis plan before launch: primary metric, set of comparisons and stopping rule.
  • Questions whether the test is worth the traffic, and offers alternatives.

Follow-up Questions Guidance

  • Bonferroni or Benjamini-Hochberg: which fits this test better, and why?
  • One color is significant at p=0.03p = 0.03 before any correction. What do you tell the PM?
  • How would the analysis change if the PM only wants the best color, not a verdict on each one?
  • When would a multi-armed bandit be a better choice than a fixed A/B/n test?