PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Amazon

Plan and analyze an A/B test

Last updated: Mar 29, 2026

Quick Overview

This question evaluates expertise in experimental design and applied statistics — specifically power and sample-size calculations, clustering and design-effect adjustments, sequential monitoring and adjusted inference, multiple-comparisons control, and diagnostic analysis for A/B tests.

  • hard
  • Amazon
  • Statistics & Math
  • Data Scientist

Plan and analyze an A/B test

Company: Amazon

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Technical Screen

A new dashboard change is expected to increase order conversion. Baseline daily unique-visitor conversion is 6.0%. You need 80% power at α=0.05 (two-sided) to detect a 5% relative lift (to 6.3%). 1) Compute the minimum per-variant sample size assuming independent Bernoulli trials; state the formula and plug in numbers. 2) Now assume users are clustered by traffic-source with an intra-class correlation of 0.02 and an average of 50 users per source; recompute the effective sample size using design effect. 3) You must monitor sequentially every day for 14 days; outline a valid sequential testing plan (e.g., alpha spending or group-sequential boundaries) and how confidence intervals are adjusted. 4) If you also track 8 secondary metrics, specify a multiple-comparisons control strategy and why it’s appropriate. 5) After launch you observe an overall +0.4 pp lift but a −0.6 pp lift for mobile Safari; explain three diagnostic checks to reconcile metric vs. anecdote discrepancies (e.g., bot traffic, implementation bugs, covariate imbalance) and how you would quantify each.

Quick Answer: This question evaluates expertise in experimental design and applied statistics — specifically power and sample-size calculations, clustering and design-effect adjustments, sequential monitoring and adjusted inference, multiple-comparisons control, and diagnostic analysis for A/B tests.

Related Interview Questions

  • Compute an A/B test p-value by hand - Amazon (medium)
  • Compute and interpret quantile loss vs RMSE - Amazon (medium)
  • Compute CIs, power, and multiple testing - Amazon (medium)
  • 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
Technical Screen
Statistics & Math
4
0
Loading...

A/B Test: Power, Clustering, Sequential Monitoring, Multiple Comparisons, and Diagnostics

Context

You are planning an A/B test for a dashboard change intended to increase order conversion. The baseline daily unique-visitor conversion rate is 6.0%. You want 80% power at a two-sided α = 0.05 to detect a 5% relative lift (i.e., from 6.0% to 6.3%). Visitors are independent Bernoulli trials in the basic setup, but can be clustered by traffic source in an alternative scenario.

Tasks

  1. Compute the minimum per-variant sample size assuming independent Bernoulli trials. State the formula and plug in the numbers.
  2. Now assume users are clustered by traffic source with intra-class correlation (ICC) of 0.02 and an average of 50 users per source. Recompute the required per-variant sample size using the design effect, and state the effective sample size relationship.
  3. You must monitor daily for 14 days. Outline a valid sequential testing plan (e.g., alpha spending or group-sequential boundaries) and explain how to form sequentially adjusted confidence intervals.
  4. You also track 8 secondary metrics. Specify a multiple-comparisons control strategy and why it’s appropriate.
  5. After launch you observe an overall +0.4 pp lift but a −0.6 pp lift for mobile Safari. Explain three diagnostic checks (e.g., bot traffic, implementation bugs, covariate imbalance) to reconcile discrepancies and how you would quantify each.

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.