What are Type I and Type II errors in A/B testing, and what does each cost the business when shipping a feature?

Quick Overview

Asks what Type I and Type II errors mean in A/B testing and what each one costs a business deciding whether to ship a feature. Tests significance level, power, sample size trade-offs, and how to set thresholds when the two errors have unequal costs.

What are Type I and Type II errors in A/B testing, and what does each cost the business when shipping a feature?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What are Type I and Type II errors in the context of A/B testing, and what are their costs to the business when shipping a feature? ```hint Frame it as a decision Treat the test as a ship or no-ship call. For each wrong call, ask what it leaves behind in the product, and whether anyone would ever notice it afterward. ``` ```hint Hold the sample size fixed If you make one kind of error rarer by changing the threshold and nothing else, look at what happens to the other kind. ``` ### What a Strong Answer Covers - Definitions of both errors in terms of the null hypothesis and the ship decision - How the significance level and power control each error, and what drives power - The concrete business cost of each error, including which one tends to go unseen - The trade-off between the two at a fixed sample size, and how cost asymmetry should set the thresholds - Common practices that raise the real false-positive rate above the nominal one ### Follow-up Questions - If 10% of the ideas you test truly work, what share of your significant wins are false positives at a 5% false-positive rate and 80% power? - How does checking results every day and stopping at the first significant reading change the Type I error rate, and how would you fix it? - When would you accept $\alpha = 0.10$ for a launch decision? - Why do significant results from underpowered tests tend to overstate the effect size?

Overview: Asks what Type I and Type II errors mean in A/B testing and what each one costs a business deciding whether to ship a feature. Tests significance level, power, sample size trade-offs, and how to set thresholds when the two errors have unequal costs.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

What are Type I and Type II errors in the context of A/B testing, and what are their costs to the business when shipping a feature?

What a Strong Answer Covers Guidance

  • Definitions of both errors in terms of the null hypothesis and the ship decision
  • How the significance level and power control each error, and what drives power
  • The concrete business cost of each error, including which one tends to go unseen
  • The trade-off between the two at a fixed sample size, and how cost asymmetry should set the thresholds
  • Common practices that raise the real false-positive rate above the nominal one

Follow-up Questions Guidance

  • If 10% of the ideas you test truly work, what share of your significant wins are false positives at a 5% false-positive rate and 80% power?
  • How does checking results every day and stopping at the first significant reading change the Type I error rate, and how would you fix it?
  • When would you accept α=0.10\alpha = 0.10 for a launch decision?
  • Why do significant results from underpowered tests tend to overstate the effect size?