Optimizely calculates statistical significance in A/B tests through Stats Engine, a proprietary testing framework developed alongside Stanford University statisticians. Instead of relying on classical fixed-horizon hypothesis testing (such as standard two-sample t-tests or z-tests), Stats Engine pairs sequential testing based on the Mixture Sequential Probability Ratio Test (mSPRT) with False Discovery Rate (FDR) control using the Benjamini-Hochberg procedure.
On the Optimizely results page, statistical significance is expressed as a percentage:
$$\text{Statistical Significance} = (1 - \text{Always-Valid } p\text{-value}) \times 100%$$
When this value hits your chosen threshold—typically 90%, 95%, or 99%—Optimizely flags the variation as statistically significant. Because the underlying p-values and confidence intervals are mathematically constructed to remain valid under continuous observation, growth teams can inspect results, stop underperforming variants, or implement clear winners in real time without inflating false positive rates.
The Peeking Problem That Broke Classical Testing
Classical frequentist statistics was engineered for agricultural plots and clinical trials, not digital software. In a textbook t-test, you must calculate a fixed sample size in advance, start the test, seal the data, and run your statistical calculation exactly once when the target sample size is reached.
In online business, that discipline almost never exists. Product managers, marketing leads, and executives log into dashboards every morning. When an early variant shows an eye-popping +25% lift on Day 3, human nature compels teams to declare victory and terminate the test.
Statistically, continuous monitoring—often called the peeking problem—is catastrophic for classical tests. Random variance ensures that cumulative metrics wander across the significance threshold early in an experiment. If you monitor a standard t-test daily and stop the moment p drops below 0.05, your actual false positive (Type I error) rate does not stay at 5%. It often exceeds 30% to 40%. You end up deploying features that provide zero real benefit or actively harm conversion.
365Finds views Optimizely's decision to overhaul this infrastructure in 2015 as one of the most consequential engineering shifts in conversion rate optimization: rather than demanding behavioral perfection from operators who will inevitably peek, the statistics engine adapts to human reality.
Core Mechanism 1: mSPRT and Always-Valid Inference
Stats Engine solves the peeking problem by adopting sequential analysis pioneered by Herbert Robbins and formalized for online testing by Stanford researchers Ramesh Johari, Leo Pekelis, and David Walsh.
Why Classical SPRT Was Not Enough
Abraham Wald's classical Sequential Probability Ratio Test (SPRT) evaluates the likelihood ratio of incoming data against a single, pre-specified alternative hypothesis ($\theta_1$). In web optimization, however, you do not know the true effect size in advance. A checkout tweak might produce a 0.5% lift, a 4% lift, or a -2% drop. If your pre-specified target is wrong, Wald's SPRT loses statistical efficiency.
How the Mixture SPRT Works
Optimizely uses the Mixture Sequential Probability Ratio Test (mSPRT). Instead of betting on a single point alternative, mSPRT integrates the likelihood ratio over a continuous distribution (a mixture) of possible effect sizes:
$$\Lambda_n = \int \prod_{i=1}^n \frac{f(X_i; \theta)}{f(X_i; 0)} , dH(\theta)$$
Where:
- $f(X_i; \theta)$ is the probability density of the observation under an effect size $\theta$.
- $f(X_i; 0)$ is the density under the null hypothesis (no effect).
- $H(\theta)$ is a mixing distribution (a prior over plausible effect sizes, typically modeled as a normal distribution centered at zero).
Because the sequence of likelihood ratios forms a non-negative martingale under the null hypothesis, Ville’s inequality guarantees that the probability of the test statistic ever exceeding a threshold $1/\alpha$ at any point in time $t \ge 1$ is strictly bounded by $\alpha$:
$$P_{H_0}\left(\sup_{n \ge 1} \Lambda_n \ge \frac{1}{\alpha}\right) \le \alpha$$
From this likelihood ratio, Optimizely computes an always-valid p-value:
$$p_n = \min\left(1, , \frac{1}{\sup_{k \le n} \Lambda_k}\right)$$
Because this inequality holds across an infinite horizon, the false positive rate remains capped at $\alpha$ regardless of when, how often, or why you inspect the dashboard.
Core Mechanism 2: False Discovery Rate (FDR) Control
Modern experiments rarely test a single variation against a control on a single metric. A standard experiment might compare three variations across five conversion goals, generating 15 simultaneous statistical comparisons.
Under classical statistics, testing multiple hypotheses simultaneously compounds your risk. If you test 20 independent metrics at $\alpha = 0.05$, the probability of finding at least one false positive purely by chance is:
$$1 - (1 - 0.05)^{20} \approx 64%$$
Why Stats Engine Uses FDR Instead of Bonferroni
Traditional family-wise error rate (FWER) corrections, like the Bonferroni adjustment, divide $\alpha$ by the total number of comparisons ($0.05 / 15$). This approach is brutally conservative. It crushes statistical power, requiring astronomical traffic volumes to declare any winner.
Optimizely Stats Engine instead controls the False Discovery Rate (FDR) using the Benjamini-Hochberg (BH) procedure. Rather than guaranteeing that zero false positives occur anywhere in the experiment, FDR ensures that among all variations and metrics declared significant ("discoveries"), the expected proportion of false positives remains below your chosen threshold (such as 5%).
Stats Engine dynamically ranks the always-valid p-values across your metrics and variations, adjusting the significance boundary so you can track secondary goals and guardrail metrics without crippling the test's velocity.
Confidence Sequences vs. Classical Confidence Intervals
On the Optimizely dashboard, each variation displays an improvement rate alongside a confidence interval. In classical statistics, a 95% confidence interval only holds its nominal coverage if evaluated at the pre-planned sample size $N$.
Optimizely computes confidence sequences (always-valid confidence intervals). These intervals have the mathematical property of covering the true underlying treatment effect simultaneously at every single visitor observation $n = 1, 2, \dots$ with probability at least $1 - \alpha$.
| Attribute | Classical Fixed-Horizon Testing | Optimizely Stats Engine |
|---|---|---|
| Statistical Framework | Student's t-test / Wald Z-test | Mixture Sequential Probability Ratio Test (mSPRT) |
| Stopping Rule | Strictly fixed sample size determined beforehand | Optional stopping permitted at any time |
| Dashboard Peeking | Inflates false positives (often >30%) | Fully preserved Type I error ($\le \alpha$) |
| Multi-Metric Correction | Bonferroni / FWER (often omitted or over-penalizing) | Benjamini-Hochberg False Discovery Rate (FDR) |
| Confidence Interval Behavior | Valid only once at target sample size | Confidence sequences valid at all sample sizes |
| Significance Trajectory | Can oscillate wildly above and below threshold | Progresses steadily; reflects peak evidence across intervals |
Stats Engine evaluates data across successive checkpoints (conceptually structured around 100 sequential intervals). The confidence interval displayed represents the intersection of these valid bounds. Early in an experiment, the interval is wide, reflecting high uncertainty and preventing knee-jerk decisions. As sample size grows, the interval contracts around the true effect size.
Practical Guide: How Data Analysts and Growth Teams Should Read Results
Understanding the engine is only half the battle; knowing how to act on its outputs prevents costly operational blunders.
Visitor Traffic Enters Experiment
│
▼
mSPRT Evaluates Continuous Likelihood Ratio
│
▼
FDR Adjusts Threshold for Multiple Metrics
│
┌─────────────────────┴─────────────────────┐
▼ ▼
Significance ≥ 95% Significance < 95%
│ │
▼ ▼
Check Business Days Inspect Confidence Interval
(Full 7 or 14-day cycle?) (Too wide? Need more sample)
├── No ──► Keep Running ├── Narrow & near 0 ──► Inconclusive / Flat
└── Yes ──► Declare Winner / Roll Out └── Wide ─────────────► Continue Gathering Data
1. Select the Significance Threshold Based on Risk
Optimizely allows users to set the statistical significance threshold:
- 90% Significance ($\alpha = 0.10$): Recommended by 365Finds for rapid front-end discovery, low-risk headline iterations, and landing page copy tests where moving fast outweighs the cost of a false positive.
- 95% Significance ($\alpha = 0.05$): The enterprise standard. Use this for navigation redesigns, promotional flows, and checkout steps.
- 99% Significance ($\alpha = 0.01$): Essential for structural changes, backend payment processing, dynamic pricing rules, or architectural migrations where a false win carries serious financial downside.
2. Respect the Calendar Cycle Even If Significance Arrives Early
Because mSPRT guarantees mathematical validity at any stopping time, teams often shut down tests on Wednesday because significance hit 97% after 48 hours.
365Finds strongly advises against early stopping for calendar-sensitive funnels. Sequential testing protects you against random noise, but it cannot protect you against external temporal bias. B2B software, retail e-commerce, and media sites exhibit pronounced day-of-week seasonality. Weekend visitors frequently behave differently than Monday morning visitors. Even if Stats Engine declares a winner on Day 2, run the test for at least one full week—ideally two full 7-day cycles—to ensure the detected effect holds across representative user cohorts.
3. Monitor Sample Ratio Mismatch (SRM) First
No statistical algorithm can salvage compromised data. If you configure a 50/50 split between Control and Variation, but after 20,000 visitors the count is 10,800 vs. 9,200, you have a Sample Ratio Mismatch. SRM indicates redirect latency, bot filtering disparities, or JavaScript crashes on one branch. Optimizely includes automated SRM warnings; if SRM is triggered, disregard all statistical significance figures until the engineering root cause is resolved.
4. Understand the Sample Size Trade-Off
Always-valid inference comes with a clear trade-off: sample efficiency.
To protect against continuous peeking across an infinite timeline, mSPRT requires wider initial confidence bounds than a classical test. If you could realistically guarantee that nobody on your team would peek at the data until exactly $N$ visitors had arrived, a classical fixed-horizon test would achieve 80% statistical power with approximately 20% to 30% fewer total visitors than mSPRT.
In practice, 365Finds finds this theoretical efficiency penalty entirely worth paying. In active commercial organizations, unmonitored fixed-horizon experiments do not happen. Trading a modest volume of traffic for mathematically sound, anytime-valid decision-making is the only realistic defense against organizational self-deception.