How do you use a confidence interval to decide an A/B test, and what does an interval that straddles zero mean?

Quick Overview

Asks how to turn a confidence interval for a treatment effect into a ship or no-ship decision in an A/B test, including the case where the interval contains zero. Tests the link between intervals and hypothesis tests, practical significance, and statistical power.

How do you use a confidence interval to decide an A/B test, and what does an interval that straddles zero mean?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

How can you use a confidence interval to make a decision in an A/B test, such as what it means if an interval straddles zero? ```hint Link the interval to the test Think about which hypothesis test a 95% interval for the difference between arms corresponds to, and which value of the difference stands for "no effect". ``` ```hint Look past significance Compare the interval's endpoints with the smallest lift that would justify shipping, and ask what the interval's width says about the experiment. ``` ### What a Strong Answer Covers - What the interval is built around (the difference in means or proportions) and how it maps to a two-sided test at the matching alpha - How to read an interval that lies entirely above zero, entirely below zero, or across zero - Why an interval that contains zero is not evidence of no effect, and what its width says about power - Comparing the interval with a minimum practically meaningful effect to make the ship decision ### Follow-up Questions - The interval for the lift is -0.1 to +2.4 percentage points. What would you recommend, and what else would you check? - How does checking the interval every day and stopping as soon as it excludes zero change its coverage? - You report 20 metrics, each with a 95% interval. How would you adjust before deciding? - When would you report an interval for the relative lift instead of the absolute difference, and how would you compute it?

Overview: Asks how to turn a confidence interval for a treatment effect into a ship or no-ship decision in an A/B test, including the case where the interval contains zero. Tests the link between intervals and hypothesis tests, practical significance, and statistical power.

Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

How can you use a confidence interval to make a decision in an A/B test, such as what it means if an interval straddles zero?

What a Strong Answer Covers Guidance

  • What the interval is built around (the difference in means or proportions) and how it maps to a two-sided test at the matching alpha
  • How to read an interval that lies entirely above zero, entirely below zero, or across zero
  • Why an interval that contains zero is not evidence of no effect, and what its width says about power
  • Comparing the interval with a minimum practically meaningful effect to make the ship decision

Follow-up Questions Guidance

  • The interval for the lift is -0.1 to +2.4 percentage points. What would you recommend, and what else would you check?
  • How does checking the interval every day and stopping as soon as it excludes zero change its coverage?
  • You report 20 metrics, each with a 95% interval. How would you adjust before deciding?
  • When would you report an interval for the relative lift instead of the absolute difference, and how would you compute it?