PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Amazon

Compute CIs, power, and multiple testing

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's competence in statistical inference for binary outcomes, confidence-interval methods, power and sample-size estimation, multiple-testing corrections, and handling clustered user-level data.

  • medium
  • Amazon
  • Statistics & Math
  • Data Scientist

Compute CIs, power, and multiple testing

Company: Amazon

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Onsite

A baseline conversion rate is p0 = 0.051 with N0 = 100,000 users. You plan to detect a +5% relative lift (p1 = 1.05 × p0) at α = 0.05 (two-sided) with 80% power. Tasks: 1) Compute a 95% Wald (and an Agresti–Coull or Wilson) confidence interval for p0. Explain why Wilson/AC may be preferable. 2) Approximate the per-variant sample size required for 80% power to detect the target lift using a normal approximation for two proportions. State all formulas and assumptions. 3) If you simultaneously test three metrics (conversion, AOV, retention), apply a Bonferroni or Holm correction and provide the adjusted α for each. Discuss trade-offs vs FDR control (Benjamini–Hochberg). 4) Your data exhibits user-level clustering (repeat visitors). Explain why independence is violated and how to correct standard errors (e.g., cluster-robust SEs or user-level aggregation) and how that affects power.

Quick Answer: This question evaluates a candidate's competence in statistical inference for binary outcomes, confidence-interval methods, power and sample-size estimation, multiple-testing corrections, and handling clustered user-level data.

Related Interview Questions

  • Compute an A/B test p-value by hand - Amazon (medium)
  • Compute and interpret quantile loss vs RMSE - Amazon (medium)
  • Plan and analyze an A/B test - Amazon (hard)
  • Compute p-values, CIs, and adjust multiples - Amazon (Medium)
  • Analyze omitted-variable bias in regression - Amazon (medium)
Amazon logo
Amazon
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
5
0

A/B Testing Stats: Confidence Intervals, Power, Multiple Testing, and Clustering

Context: You are planning an A/B experiment on a Bernoulli outcome (conversion). The baseline conversion rate is p0 = 0.051 measured on N0 = 100,000 users. You want to detect a +5% relative lift with two-sided α = 0.05 and 80% power.

Given:

  • Baseline p0 = 0.051, N0 = 100,000
  • Target lift: p1 = 1.05 × p0
  • Significance: α = 0.05 (two-sided); Power: 80%

Tasks:

  1. Compute a 95% Wald confidence interval and a Wilson (or Agresti–Coull) interval for p0. Explain why Wilson/AC may be preferable.
  2. Approximate the per-variant sample size required for 80% power to detect the target lift using a normal approximation for two proportions. State all formulas and assumptions.
  3. If you simultaneously test three metrics (conversion, AOV, retention), apply a Bonferroni or Holm correction and provide the adjusted α for each. Discuss trade-offs vs FDR control (Benjamini–Hochberg).
  4. Your data exhibits user-level clustering (repeat visitors). Explain why independence is violated, how to correct standard errors (e.g., cluster-robust SEs or user-level aggregation), and how that affects power.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Amazon•More Data Scientist•Amazon Data Scientist•Amazon Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.