Skip to content

Sequential test calculator (mSPRT)

Check your results as often as needed: the always-valid p-value remains valid every time you look at the test.

Calculation method

Sequential Calculator (mSPRT)

Mixture Sequential Probability Ratio Test, based on Johari, Pekelis and Walsh, "Always Valid Inference: Bringing Sequential Analysis to A/B Testing". Mixture prior N(0, τ²) on the ABSOLUTE effect θ = pB − pA. With z = (pB − pA)/SE and ρ = τ²/SE²: Λ = √(1/(1+ρ)) × exp((z²/2) × ρ/(1+ρ)), and p_av = min(1, 1/Λ).

SE² decreasing in 1/n, ρ increasing with sample size: the penalty linked to repeated looks grows with accumulated information. The resulting p-value is valid at any point in time, regardless of when or how often it is checked.

Default τ = baseline rate × 5% expected relative uplift. τ sets sensitivity, not validity: a poorly calibrated τ costs power, not risk control.

Limitation: more conservative than a fixed-horizon test with the same sample size. This is the explicit price of the freedom to look whenever you want.

FAQ

Frequently asked questions about the mSPRT sequential test

  • mSPRT (mixture Sequential Probability Ratio Test) is a sequential testing method. It calculates what is known as an always-valid p-value: you can check it at any time and stop the test as soon as it drops below the chosen threshold, without increasing the risk of a false positive.

Tell us more about your project

We know how to increase the performance of your digital channels.

  • Experimentation
  • UX & Experience
  • Personalization & CRM
  • Data & Analytics
  • Training
  • Agentic commerce
Contact us
Laurine Perris, Consultante confirméeChéryl Chauvin, Consultante confirméeLaurent Colin, Client PartnerRomain Berger, Team LeadGrégoire Masson, Consultant confirmé