51. What is the difference between an A/B test and an A/B/n test?
Compare a control-versus-one-treatment experiment with a control-versus-multiple-treatment experiment. Define how units are randomized and exposed, how traffic is allocated, how one primary metric and guardrails are analyzed, and how the number of variants changes power, family-wise false-positive risk, interpretation, and the rule for selecting a winner.
An A/B test compares one control with one treatment. An A/B/n test compares one control with multiple treatments. Both use random assignment and the same primary metric and guardrails, but A/B/n divides traffic across more variants, usually lowers per-comparison power, increases multiple-testing risk, and needs a stricter pre-specified winner rule.
An A/B test has two variants: one control and one treatment. An A/B/n test has one control plus multiple treatments. In both designs, eligible units are randomly assigned once, keep a stable assignment, and see only their assigned variant. Both should use one pre-specified primary metric and guardrails and analyze outcomes at the randomization-unit level. The key difference is statistical: with a fixed total sample, more variants mean fewer units per variant, usually lower power, more treatment-versus-control comparisons, greater family-wise false-positive risk, and a more careful rule for selecting a winner.
- What is the experimental unit: user, account, session, device, or another unit?
- Should every treatment be compared only with the control, or are treatment-versus-treatment comparisons also part of the decision?
- Is traffic allocated equally across variants, or can the allocation be unequal?
- What is the one primary metric, its denominator, direction of improvement, and analysis window?
- Which guardrails must remain acceptable before any treatment can be selected?
- What multiple-comparison procedure and stopping rule should be used for the A/B/n experiment?
Start with the structure. In an A/B test, each eligible unit is randomized to A, the control, or B, one treatment. A common allocation is 50% to A and 50% to B. In an A/B/n test, the same stable-randomization idea is extended to more than two variants. The diagram shows a control plus several treatments. Traffic can be split equally or unequally, but every unit should remain in its assigned variant and see only that assigned experience.
Analyze outcomes at the same unit used for randomization. Pre-specify one primary metric and its direction of improvement. The approved diagram uses conversion rate as an example, defined as conversions divided by visitors and measured over a 7-day post-exposure window at the user level. It also shows guardrails such as revenue per user, crash rate, and page load time. A candidate treatment should not be selected if an important guardrail becomes unacceptable.
The first major difference is statistical power. If total sample size stays fixed, an A/B test concentrates observations into two groups. An A/B/n test spreads the same traffic across more groups. Each variant therefore usually receives fewer observations, confidence intervals become wider, and power for each treatment-versus-control comparison falls. To detect the same effect with similar power, an A/B/n experiment often needs more total sample.
The second major difference is family-wise false-positive risk. In a basic A/B test, the main comparison is B versus A. In an A/B/n test, several treatments may each be compared with the same control. As the number of comparisons increases, the probability that at least one treatment appears significant by chance also increases. If the decision depends on those comparisons, use a pre-specified multiple-testing method such as Bonferroni, Holm, or an appropriate control-versus-many procedure. False discovery rate control can serve a different objective, but it is not the same as controlling family-wise error.
Before interpreting treatment effects, check whether the observed assignment counts are compatible with the planned traffic split. A serious sample-ratio mismatch can indicate a problem in randomization, eligibility, exposure logging, or the analysis pipeline. Investigate that problem before trusting the effect estimates.
Then report effect size and uncertainty, not only whether a p-value crosses a threshold. For an A/B test, choose B only if it beats A on the primary metric by a practically meaningful amount, the uncertainty is acceptable, and all important guardrails remain acceptable. Otherwise choose no winner, hold, or rerun.
For an A/B/n test, first apply the pre-specified multiple-testing procedure to the treatment-versus-control comparisons. Then identify treatments that validly beat the control, check guardrails and practical significance, and choose the best qualifying treatment according to the pre-specified rule. If no treatment qualifies, choose no winner instead of forcing a selection.
The interview takeaway is that A/B is simpler to power and interpret because there is one treatment comparison. A/B/n can evaluate several viable options in one experiment, but it divides traffic across more arms, increases statistical and interpretive complexity, and requires explicit multiple-testing control and a disciplined winner-selection rule.
- Define the eligible population and experimental unit.
- Randomize each unit once and keep treatment assignment stable.
- For A/B, assign units to one control and one treatment; for A/B/n, assign units to one control and multiple treatments.
- Pre-specify the traffic-allocation ratio for all variants.
- Pre-specify one primary metric, including its numerator, denominator, direction of improvement, analysis window, and observation grain.
- Pre-specify important guardrails and the rule that determines whether a guardrail failure blocks shipping.
- Plan sample size and power using the number of variants and comparisons because more variants reduce per-variant sample when total traffic is fixed.
- Run the experiment and expose each unit only to its assigned variant.
- Check observed allocation for sample-ratio mismatch before interpreting treatment effects.
- Estimate treatment-versus-control effects and uncertainty at the randomization-unit level.
- For A/B/n, apply the pre-specified multiple-comparison procedure before selecting a winner.
- Evaluate the primary metric, guardrails, uncertainty, and practical significance.
- Select the best qualifying treatment using the pre-specified winner rule, or choose no winner and hold or rerun.
A/B is statistically simpler because there is usually one treatment-versus-control comparison. With the same total number of units, each of its two groups gets more data, so it usually has more power than an A/B/n design with many groups. A/B/n can compare several options at once, but traffic is divided more ways. That gives smaller samples per variant, wider uncertainty, and often a need for more total traffic. More comparisons also create more opportunities for false positives, so the analysis and winner-selection rule require stronger error control and more careful interpretation.
Interviewers want to see whether you understand that adding experiment variants changes both design and statistical reasoning. A strong answer connects stable randomization, exposure, traffic allocation, primary metrics, guardrails, statistical power, multiple-comparison risk, effect uncertainty, and the rule used to select a winner.
Common mistakes are treating A/B/n as merely an A/B test with extra arms; ignoring the loss of per-variant power when total traffic is fixed; picking the treatment with the largest observed lift without accounting for uncertainty; running many treatment-versus-control tests without controlling family-wise false-positive risk; changing the primary metric or winner rule after seeing results; analyzing at a different grain from the randomization unit; ignoring sample-ratio mismatch; repeatedly peeking at fixed-horizon p-values; and selecting a treatment even when important guardrails fail.
Lead with the one-sentence distinction, then explain the consequences of adding variants in this order: traffic per arm, power, multiple-testing risk, interpretation, and winner selection. Mention that both designs still require stable randomization, one pre-specified primary metric, guardrails, effect sizes, uncertainty, and the option to choose no winner.










