How many accounts do you need for a 0.5pp lift?
Power & sample sizeMediumProblem. You're A/B testing a checkout change expected to lift payment-success by about 0.5 percentage points off an 80% base. The PM asks: how many accounts do you need, and how long will it run?
Before you reveal: say your answer out loud, as if you were in the real interview — get your reasoning across clearly first. There is no single correct answer: reading what the interviewer is really after and defending your own thinking is what makes an answer strong.
Clarify the question first
Pin down the setup before solving:
- "What's the smallest lift worth shipping — is +0.5pp the business-meaningful MDE, or just a guess?"
- "Are we powering on accounts, given the household-interference point, or on profiles?"
- "What's the daily eligible checkout traffic, so I can turn a sample size into a runtime?"
Lay out your approach
- Pin the MDE to business value. Power to detect the smallest lift worth shipping — say +0.5pp on payment-success off an 80% base — not "any effect."
- The four inputs. baseline rate, the MDE, significance (usually 5%), and power (usually 80%) — on the right unit (accounts).
- Compute n per arm, then translate to runtime via daily eligible traffic.
- Pad for the weekly cycle — run at least one to two weeks to cover seasonality and novelty, even if the raw sample arrives sooner.
- Speed it up with CUPED on a pre-period covariate, which cuts the sample you actually need.
Then check in: "So the plan is pin the MDE from business value, plug in baseline / α / power for n per arm, then convert to weeks with daily traffic. Want me to run the numbers?"
Simulate the back-and-forth
Land a clear conclusion
Key summary — what really matters.
- Pin the MDE to business value — it dominates everything, since .
- Four inputs: baseline, MDE, , power — on the account unit.
- ~100k per arm for +0.5pp off an 80% base; ~200k total.
- Translate to runtime, but run 1–2 weeks for the weekly cycle and novelty.
- CUPED buys back sample without touching the MDE.
Type I vs Type II. = false positive (call nothing a win); = miss a real effect; power , the chance of catching a true effect of size MDE.
Sample size for two proportions (per arm):
where the values are normal quantiles — for 5% two-sided, for 80% power. Plug in , , MDE :
— call it ~100k accounts per arm, ~200k total.
The MDE drives everything, since :
| MDE | n per arm |
|---|---|
| 0.25 pp | ~400k |
| 0.5 pp | ~100k |
| 1.0 pp | ~25k |
Translate to runtime. If ~50k eligible accounts enter the checkout funnel per day, 200k / 50k = 4 days of traffic — but run at least one to two weeks to cover weekly seasonality and let novelty settle. And remember the unit: power on accounts, where clustering inflates variance — CUPED on pre-period engagement reduces the variance by a factor , buying the sample back.
| Dimension | What interviewers look for | Below the bar ❌ | Above the bar ✅ |
|---|---|---|---|
| Framing & estimand | Whether you pin down the causal quantity, the population, and the decision before any math. | You jump to a test or a number without saying what you're estimating or why. | You name the estimand, the unit, the population, and the decision it drives. |
| Design validity | Whether the design actually identifies the effect — randomization unit, interference, selection/confounding. | You analyze a biased or diluted comparison as if it were clean. | You pick the unit that contains interference, name the threat and its direction, and control it. |
| Statistical rigor | Whether the stats hold up — power and sample size, variance, the right test, and the assumptions behind them. | You misuse a test, ignore power or variance, or lean on an unchecked assumption. | You size the test, reduce or adjust variance, choose the fitting test, and state what would break it. |
| Decision & trade-offs | Whether you turn the result into a call — guardrails, cost, and what would flip it. | You stop at "significant / not," or ship on one metric while a guardrail breaks. | You land a ship/hold call, weigh the trade-offs, and name the number that changes it. |
| Communication | Whether you reason clearly, lead the conversation, and translate the stats for a stakeholder. | You dump jargon, or can't explain the method in plain words. | You reason out loud in order, check in, and give a plain recommendation. |
Strong-answer signal: pinning the MDE to business value, tying MDE → sample → runtime, powering on the account unit, and padding for the weekly cycle. Common trap: powering on profiles, picking an MDE out of the air, or stopping at "4 days of traffic" and missing weekly seasonality.