Price test: size an experiment that can reach a decision.

SUPPORTED DECISIONRun and interpret a price test only if its power covers the economically acceptable conversion loss and exposure does not contaminate the groups.

Evidence status

What was not reproduced.

The synthetic educational calculation is verified by the specification, the fixture and Python. The methodological source Kohavi et al. is archived and its excerpts are verified, but its results, its randomisation, its interference mechanisms and its implementations are not reproduced.

    Key distinctions

    Three conditions before calculating.

    01

    Economic threshold

    A new price may lose conversion while increasing contribution. The minimum acceptable rate is current contribution per visitor divided by the candidate margin.

    02

    Assignment unit

    Assign by customer, account, area or store according to the risk of seeing several prices. Session-level assignment exposes the test to comparisons and group switching.

    03

    Power before duration

    Duration follows from the number of units required, eligible traffic and the decision cycle. Stopping when a result looks favourable increases false positives.

    Method

    Designing a price test from margin to decision

    1. 01Calculate the threshold rate

      Measure current contribution per visitor and candidate unit margin. Their ratio gives the minimum conversion that preserves short-term value.

    2. 02Choose the useful effect

      Set the smallest difference that would genuinely change the decision, then define alpha and beta risks and any multiple-test correction.

    3. 03Size and assign

      Calculate the sample per group, predefine exclusions before the test and keep price, promotion, assortment and communication stable during the experiment.

    4. 04Decide on contribution

      Report conversion, margin, contribution per visitor, mix, cancellation and an interval. Non-significance is not proof of equivalence.

    ORIGINAL ASSET

    The detectable effect – sample size curve

    The smaller the conversion gap to detect, the larger the sample required. The target is tied to the contribution threshold, not chosen for convenience.

    020k40k60k visitors / group
    0.5 point
    66,233
    1.0 point
    16,558
    1.5 point
    7,359
    2.0 points
    4,140
    SELECTED PLAN7,359 / groupeconomic threshold: 10%
    CSVDownload the price test plan↓
    ILLUSTRATIVE EXAMPLE · SIMULATED DATA

    Approximately 7,360 visitors per group to detect 1.5 points

    01 · SITUATION

    Baseline conversion is 12%. The test targets a 1.5-point difference, two-sided 5% risk and 80% power. Margin rises from €30 to €36.

    02 · CALCULATION

    Approximation: n = 2 × (1.96 + 0.84)² × 0.12 × 0.88 ÷ 0.015² = 7,359 per group. Economic threshold conversion is 12% × 30 ÷ 36 = 10%.

    03 · DECISION

    The test can detect a 1.5-point decline, below the maximum decline of 2 points. It requires about 14,720 eligible visitors excluding predefined exclusions.

    Acceptance conditions

    What must be true to act.

    1. 01

      Calculate the economic conversion threshold before testing.

    2. 02

      The assignment unit prevents a customer from seeing multiple prices.

    3. 03

      Size, duration, exclusions and stopping rule are preregistered.

    4. 04

      The decision uses contribution and its interval, not conversion alone.

    Limits

    What this analysis does not prove.

    • A short test measures renewal, reputation and repeat-purchase effects poorly.
    • Customers may share prices across groups and change behaviour.
    • The approximation must be replaced by simulation for complex metrics.

    References

    Works cited.

    1. Kohavi, R., Tang, D., Xu, Y. et al. (2020), “Online randomized controlled experiments at scale”, Trials 21, 150 (CC BY 4.0) — full text. (opens in a new tab)
    2. Kohavi, R., Tang, D. & Xu, Y. (2020), Trustworthy Online Controlled Experiments.
    3. Imbens, G. W. & Rubin, D. B. (2015), Causal Inference for Statistics, Social, and Biomedical Sciences.
    4. Deng, A., Lu, J. & Chen, S. (2016), “Continuous Monitoring of A/B Tests without Pain”, KDD.