Analyzing A/B Test Results: P-Values, Confidence Intervals & Peeking Problems
Overview & Learning Objectives
Your A/B test has completed its 14-day run. The dashboard shows that the Test Variant achieved a 6.2% conversion rate compared to 5.8% in Control. Is this a true victory, or did Variant B just get lucky like rolling two sixes on a pair of dice? In this lesson, you will master the statistical interpretation of A/B test results: P-values ($p < 0.05$), 95% Confidence Intervals, understanding why "peeking" breaks statistical math, and Sequential Testing methodologies.
- Interpret P-Values: understanding the probability of observing the result under the Null Hypothesis.
- Read 95% Confidence Intervals: evaluating the range of true potential lift (e.g. $[+2.1\%, +8.4\%]$).
- Understand the Peeking Problem and how Sequential Testing (mSPRT) allows continuous monitoring without inflating false positive rates.
Real-World Example: Flipping a Coin 10 Times and Getting 7 Heads
- Scenario: Flipping a coin 10 times and getting 7 heads—is the coin biased, or was it pure luck?
- P-Value (p < 0.05): Proves that observed conversion uplift has less than a 5% chance of being a random fluke.
- Confidence Interval: Provides the realistic range of business impact before greenlighting full production rollout.
Visual Infographic: How to Read an A/B Test Scorecard
DECISION INFOGRAPHICVariant B converted at 6.2% vs Control 5.8% (+6.9% relative lift).
$p = 0.018$ (Below the critical $0.05$ threshold Statistically Significant!).
95% CI is $[+1.8\%, +12.0\%]$ (Entire interval is above zero!).
Roll out to 100% of all users with high confidence.
Industry Standard & Framework
Standard: Statistical Inference & Sequential Testing (Wald's Sequential Probability Ratio Test).
Real-World Business Application: Zomato Gold Subscription Upsell Banner Experiment
Zomato tests a prominent floating badge vs a static checkout card to drive Zomato Gold dining memberships.
| Metric Evaluated | Control (Static) | Variant (Floating) | Statistical Evaluation | Verdict |
|---|---|---|---|---|
| Gold Signup Conversion | 4.21% | 4.68% (+11.1% Lift) | P-value = 0.009 (p < 0.05) | STATISTICALLY SIGNIFICANT WIN |
| 95% Confidence Interval | - | - | $[+3.4\%, +18.8\%]$ | Entire range is positive |
| Average Order Value | INR 482 | INR 486 (+0.8%) | P-value = 0.42 (Not Sig) | Neutral impact; no cannibalization |
| Customer Complaint Rate | 0.12% | 0.13% (+8.3%) | P-value = 0.71 (Not Sig) | Guardrail green; no user backlash |
Step-by-Step UI Tutorial & Visual Workflow Guide
Below is the practical, non-technical walkthrough showing how Product Analysts design, review, and execute this capability inside real-world tools like Mixpanel, Google Analytics 4, BigQuery, and Google Tag Manager.
Analyzing A/B Test Results: P-Values, Confidence Intervals & Peeking Problems
50/50 Traffic Split Across 85,000 Checkout Sessions
Customer selects "UPI" → chooses PhonePe/Paytm → verifies on external app.
Direct intent call triggers local UPI app without navigating away from cart.
Step-by-Step UI Tutorial: Reading Statistical Significance in Statsig / Mixpanel
Navigate to Experiments -> Click "Zomato Gold Floating Badge Test".
Look at the top status badge: "Statistically Significant (Win)" highlighted in green.
Inspect the horizontal bar chart: The dark center dot represents +11.1% lift; the horizontal whisker lines show the 95% CI ($[+3.4\%, +18.8\%]$).
Scroll down to "Secondary & Guardrail Metrics" to verify that Average Order Value did not suffer.
How to Interpret 95% Confidence Interval Scenarios
INTERPRETATION GUIDE| interval Range | crosses Zero | decision |
|---|---|---|
| $[+2.4\%, +9.8\%]$ | NO (Entirely Positive) | CLEAR WINNER: Ship feature to 100% of users |
| $[-4.2\%, +3.1\%]$ | YES (Inconclusive) | NO STATISTICAL DIFFERENCE: Do not ship; rethink design |
| $[-8.5\%, -1.2\%]$ | NO (Entirely Negative) | CLEAR LOSER: Kill feature immediately |
Implementation Guidelines for Product Analysts
- Never stop an experiment early because the p-value dips below 0.05 on Day 3; this is the classic "Peeking Problem" and inflates false positive rates from 5% to over 30%!
- Use modern Sequential Testing (mSPRT) algorithms if your team requires continuous monitoring and early stopping for catastrophic regressions.
- Always communicate business results as a range (e.g. "We expect between a +2% and +9% lift") rather than promising the single point estimate.
Practical Hands-On Exercises
- If an experiment shows a +14% lift with a p-value of 0.22, should you ship the feature? Explain why or why not.
- Explain what happens if an analyst checks experiment results every single hour and stops the test the moment p < 0.05.