Most underpowered A/B tests were doomed at the design meeting, not the readout. This playbook uses AI to work the MDE and sample-size math step-by-step, flag peeking and ratio-metric pitfalls before you commit, and propose guardrail metrics — while the final statistical calls stay with you and data science.
Workflow area: Analytics & Experimentation · Tier: Core · Hands-on time: ~35 minutes
The quiet scandal of product experimentation is how many tests could never have detected the effect they were run to find. A PM hopes for a 2% lift, has traffic for a 10% MDE, runs the test anyway, reads "no significant difference," and kills a good feature. AI is a patient tutor and a competent calculator here — it will happily walk the power math and name the pitfalls — but it will also happily bless a bad design if you prompt it leadingly. The recipe forces the math into the open where you and your data scientist can check it.
Write the decision before the design. One sentence: "If variant B lifts paid conversion by ≥2 points, we roll it out; otherwise we keep A." No decision sentence, no experiment — tests run "to see what happens" always end in segment-fishing.
Have AI work the power math with every step shown. The prompt that prevents black-box answers:
Act as a careful experimentation statistician. Design an A/B test
and SHOW EVERY CALCULATION STEP so a human can verify the math.
Primary metric: [e.g. "signup → paid conversion, currently 8.0%"]
Weekly eligible traffic: [e.g. "9,000 users/week, 50/50 split"]
Minimum effect worth acting on: [e.g. "absolute +1.5 points"]
Settings: alpha 0.05 two-sided, power 0.80.
1. Compute required sample size per arm from these inputs —
show the formula and the arithmetic, then the run length
in weeks at my traffic.
2. Show how run length changes if MDE is 1.0 / 1.5 / 2.0 points.
3. Flag every pitfall that applies to THIS design: peeking,
ratio-metric variance (revenue per user), weekly cycles and
why runs should cover whole weeks, novelty effects, SRM.
4. Propose 2-3 guardrail metrics that could silently degrade.
5. List the assumptions you made that I should challenge.
Verify the headline number independently. Paste the same inputs into your platform's calculator — GrowthBook and Statsig both ship one, Evan Miller's calculator is the classic — and compare:
AI: n ≈ 5,900 per arm → ~2.6 weeks... arithmetic shown
GrowthBook: n = 6,040 per arm → 1.4 weeks at full traffic
Discrepancy: AI divided by total weekly traffic, not per-arm.
Corrected: 6,040 × 2 / 9,000 ≈ 1.35 → run 2 full weeks.
A small discrepancy usually means different variance approximations (fine); a large one means someone's inputs or arithmetic are wrong (find out whose before proceeding). Round the run length up to whole weeks.
Stress-test the design adversarially. Second pass, fresh context: "Here is my experiment design. You are a skeptical data scientist reviewing it. What is wrong with it? What will the most likely misleading readout be?" This surfaces the things you didn't ask about — contaminated assignment, primary metric that's really a ratio metric, an MDE chosen from hope rather than business value.
Freeze the design in a pre-registration note. Primary metric, MDE, sample size, run length, guardrails, and the decision sentence — written down before launch, shared with data science, and attached to the experiment in GrowthBook or Statsig. The readout (pb-30) will be judged against this note, which is what makes segment-fishing visible later.
Experiment design data is usually aggregate and safe to share with AI tools, but strip anything user-level from variance estimates or pilot data before pasting — power math needs rates and counts, never raw user rows.
AI makes the power math cheap and the pitfalls visible; what it cannot do is want the truth — you own the MDE, the pre-registration, and the discipline to not launch a test the math already condemned.