Calculate probability for A/B test results

Last updated: August 3, 2025

Quick Overview

Given the following scenario about user conversion, calculate the the p-value.

Supabase
Analytics & Experimentation
Product Manager
Supabase
August 3, 2025
Product Manager
Take-home Project
Analytics & Experimentation
Medium

164

0

1,648 solved


Given the following scenario about user conversion, calculate the the p-value.

Supabase asks this during the Take-home Project to assess your experimentation skills. They want to see how you define success metrics, design controlled experiments, and interpret results with appropriate statistical rigor.

What the Interviewer Expects
  • Design a rigorous experiment with proper randomization and sample size calculation
  • Define primary and guardrail metrics with clear rationale
  • Address novelty effects, network effects, and interference
  • Segment results appropriately and identify heterogeneous treatment effects
  • Propose follow-up analyses when results are ambiguous
Key Topics to Cover
Network effects and interference
Funnel analysis and cohort analysis
Long-term vs short-term metrics
Novelty and primacy effects
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • What if you discover a bug in the logging during the experiment?
  • How would you handle interference between treatment and control?
  • How would you handle seasonality in your experiment?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Problem Setup

The analytical question we need to answer is: "What is the probability that the observed differences in user conversion rates between the control group and the treatment group are statistically signif...

Methodology

We will use a two-proportion z-test to calculate the p-value. This test is appropriate as we are comparing the conversion rates of two independent groups. The formula for the z-statistic is:

[ z = ...


Submit Your Answer
Markdown supported

Related Questions