Research & Evidence

Search for a method

Search titles, questions, territories and MSC identifiers.

40 results
  1. MSC-P-001How do you turn a marketing claim into a testable question?Decision Science
  2. MSC-P-002Correlation or causality: what can an analysis actually support?Marketing Measurement
  3. MSC-P-003How should uncertainty in a marketing result be expressed?Decision Science
  4. MSC-P-004Statistical significance or effect size: which result should be interpreted?Decision Science
  5. MSC-P-005How do you measure a marketing construct that is not directly observable?Market Research
  6. MSC-P-006How do you design and validate a measurement scale?Market Research
  7. MSC-P-007Alpha or omega: how should scale reliability be assessed?Market Research
  8. MSC-P-009PCA, EFA or CFA: which method should you choose?Market Research
  9. MSC-P-010When should you run a marketing experiment?Marketing Measurement
  10. MSC-P-011How do you design an A/B test that actually estimates an effect?Marketing Measurement
  11. MSC-P-012How many observations does an experiment need?Decision Science
  12. MSC-P-013How do you measure campaign incrementality with a control group?Marketing Measurement
  13. MSC-P-017How do you detect selection, contamination and attrition in an experiment?Marketing Measurement
  14. MSC-P-018Predictive or causal regression: what are you trying to estimate?Marketing Models
  15. MSC-P-019How do you diagnose a marketing regression before interpreting it?Marketing Models
  16. MSC-P-022How do you estimate price elasticity and its uncertainty?Pricing Science
  17. MSC-P-026Logit vs Probit: how do you choose for purchase probability?Customer Science
  18. MSC-P-029Which customers have the highest probability of churn?Customer Science
  19. MSC-P-027TAM, UTAUT or UTAUT2: which framework should be used to study technology acceptance?Market Research
  20. MSC-H-001Measurement and causality: how can a marketing effect be established?Marketing Measurement
  21. MSC-H-002Marketing response models: shape, delay and saturationMarketing Models
  22. MSC-H-003Pricing science: connecting price, demand and contributionPricing Science
  23. MSC-H-004Customer and choice science: behavior, value and heterogeneityCustomer Science
  24. MSC-H-005Measurement science: building valid indicatorsMarket Research
  25. MSC-H-006Statistical decision methods: choose, quantify, validateDecision Science
  26. MSC-P-008How do you validate a marketing measurement scale?Market Research
  27. MSC-P-014How do you design a marketing geo experiment?Marketing Measurement
  28. MSC-P-015How do you estimate an effect with difference-in-differences?Marketing Measurement
  29. MSC-P-020How do you address price endogeneity?Pricing Science
  30. MSC-P-021Fixed or random effects: which panel model should you choose?Marketing Models
  31. MSC-P-023How do you estimate a demand function?Pricing Science
  32. MSC-P-024How do you simulate a price-volume-margin scenario?Pricing Science
  33. MSC-P-028How do you estimate CLV with BG/NBD and Gamma-Gamma?Customer Science
  34. MSC-P-030How do you analyze retention with a survival model?Customer Science
  35. MSC-P-031How do you build a useful customer segmentation?Customer Science
  36. MSC-P-032How do you test segmentation stability?Customer Science
  37. MSC-P-033How do you validate a marketing forecast?Decision Science
  38. MSC-P-034How do you build a Monte Carlo simulation for a marketing decision?Decision Science
  39. MSC-P-035How do you model saturation and adstock?Marketing Models
  40. MSC-P-039Which statistical test should you choose?Decision Science
All methods
METHOD DOSSIERMSC-P-011Experimentation and causalityVerified scientific dossier

How do you design an A/B test that actually estimates an effect?

Before the test, specify population, randomization unit, variant, primary metric, MDE, duration, exclusions and intention-to-treat analysis.

Direct answer

Estimate an ITT with known precision for the eligible population.

Before the test, specify population, randomization unit, variant, primary metric, MDE, duration, exclusions and intention-to-treat analysis.

Kohavi et al., 2009

01

Direct answer

A credible A/B test is sized before exposure using one primary metric, a minimum detectable effect, alpha, power, randomization unit and attrition. For 8.0% versus 8.7%, MSC-P-011 requires 24,516 units per arm, or 31,326 after 10% attrition and a 1.15 design effect.

02

Scientific question

How many units per arm must be randomized to detect a prespecified absolute difference in a binary outcome at chosen error rates?

03

Population, unit and horizon

The unit is the eligible randomization unit analysed in its assigned arm over a fixed window. User, household, store and geography are not interchangeable.

04

Estimand and metric

The primary estimand is the absolute ITT difference p₁−p₀ for a binary conversion. The 0.7-point MDE, or 8.75% relative, is a decision choice, not a predicted effect.

05

Required data

Declare eligible population, credible baseline rate, MDE, primary metric and window, alpha, power, allocation ratio, attrition, clustering, contamination and traffic constraints.

06

Assumptions

Assume two independent arms, 1:1 allocation, binary outcome, two-sided test, adequate normal approximation, ITT analysis and no unit reuse. Clustering and repeated measures need adapted calculations.

07

Planning formula

n≈[z₁₋α/2√(2p̄(1−p̄))+z₁₋β√(p₀(1−p₀)+p₁(1−p₁))]²/(p₁−p₀)², where p̄=(p₀+p₁)/2.

08

Reproducible calculation

With p₀=0.08, p₁=0.087, α=0.05 and power 0.80: z=1.959964 and 0.841621. The script calculates 24,515.438 then rounds upward.

09

Planning results

Raw size: 24,516 units per arm. After a 1.15 design effect and 10% attrition: 31,326 per arm, 62,652 total.

MSC-P-011 · two-arm binary design
BaselineTargetRaw / armAdjusted / armTotal
8.0%8.7%24,51631,32662,652

10

Planning uncertainty

Sample size is sensitive to baseline rate and MDE. Recalculate over plausible ranges, round upward and treat traffic and attrition uncertainty as feasibility risk.

11

Pre-launch protocol

Freeze population, unit, variants, primary metric, window, MDE, size, stopping rule, exclusions, ITT analysis, missing-data handling and sample-ratio checks.

12

Diagnostics

After launch check assignment integrity, sample-ratio mismatch, contamination, differential attrition, outcome availability, exposure and change log.

13

Common errors

Common errors are choosing MDE to obtain a small sample, peeking, multiplying metrics, randomizing users but analysing sessions, stopping at p<0.05 or excluding after assignment.

14

Interpretation

Power of 80% means an 80% probability of rejecting H0 under the exact planning effect and assumptions, not an 80% chance the variant is better.

15

Supported decision

Decide whether the test is feasible, which MDE is decision-useful and how much traffic and time to reserve before launch.

16

Unsupported decision

Calculated size proves neither absence of bias, metric relevance nor a real effect. It cannot justify causal conclusions when randomization or ITT is compromised.

17

Implementation

The CC0 CSV documents the design; MIT Python uses the standard normal distribution, rejects invalid parameters, rounds upward and reports raw and adjusted size.

18

Expected deliverable

Deliver question, population, unit, variants, metric and window, absolute and relative MDE, alpha, power, formula, adjustments, traffic, duration, diagnostics, analysis and decision rule.

19

Scientific sources

Cohen supports power reasoning; CONSORT requires reporting sample-size determination, outcomes, randomization, numbers analysed and precision. Neither source predicts the synthetic 8.7% rate.

  1. Cohen (1992) ↗Full text verified
  2. Moher et al. (2010) ↗Full text verified

Dataset · Tool

Tool · MSC-T01A/B sample size

Method connections

Parent territoryMeasurement and causality: how can a marketing effect be established?

Read next

MSC-P-012How many observations does an experiment need?MSC-P-013How do you measure campaign incrementality with a control group?MSC-P-017How do you detect selection, contamination and attrition in an experiment?