Stats & Product Analytics for Analysts
Back to A/B Testing in Practice

Designing an A/B Test - Hypothesis to Guardrails

Hypothesis → primary metric → guardrails → exposure unit. Get any of these wrong and the test is invalid. FIND_VIDEO: search 'Emma Ding AB Testing Fundamentals What Every Data Scientist Needs to Know' - recommended channel: Emma Ding. Aim for 10 min or under.

12 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.
Loading progress...

Key moments

  1. A/B Testing Fundamentals — Introduces variants, control cohorts, and treatment assignments in product testing.
  2. Causality and Counterfactuals — Explains why concurrent randomization is necessary to estimate true counterfactual states.
  3. OEC and Metric Definition — Covers selecting a single primary evaluation criteria and supporting guardrails.
  4. Sample Size and Seasonality — Details how randomization units and weekly seasonal cycles dictate test duration.
  5. Sanity Checks and Trade-offs — Emphasizes validating data integrity and balancing metric trade-offs prior to analysis.
  6. Launch Decisions and Significance — Contrasts p-value statistical significance with real-world practical business significance.
  7. Post-Launch Monitoring — Discusses tracking long-term effects to identify novelty and primary bias after release.
PDF notes

Frequently asked questions

Why can't we use a simple before-and-after analysis instead of an A/B test?

Before-and-after studies confound product changes with external factors like marketing campaigns, competitor actions, and seasonality. Concurrent randomization isolates the treatment as the sole causal variable.

What happens if a guardrail metric degrades while the OEC shows significant positive lift?

The launch is paused or vetoed while the engineering team investigates the root cause. A ship decision requires either resolving the degradation or proving the OEC lift substantially outweighs the guardrail regression.

How do you detect whether an initial metric lift is driven by a novelty effect?

Segment performance by new versus returning users, or track the metric's trajectory over time. Novelty effects typically manifest as high initial engagement among existing users that steadily decays back toward baseline.

How was this lesson?

Your feedback helps us refine explanations and catch bugs.