AeroTest
Experiment sizing, SRM guardrail and significance engine
Browser tool for planning and reading A/B tests: sample-size calculation, two-proportion z-test, sample-ratio-mismatch check and ROI projection, plus a notebook working through the same statistics in SciPy and statsmodels.
The problem
Product teams ship changes on underpowered or biased experiments: too little traffic to detect the effect, or a broken randomizer that skews the split.
The approach
A browser decision engine sizes experiments with power analysis, reads them with a two-proportion z-test, blocks results that fail a chi-square sample-ratio-mismatch check and projects business ROI; a notebook reproduces the statistics in SciPy and statsmodels.
Architecture
- 01
Experiment design
Power analysis computes the required sample size per variant from baseline rate, minimum detectable effect, alpha and power, with an interactive sample-size versus MDE curve.
- 02
SRM guardrail
A chi-square goodness-of-fit test (df = 1, alpha = 0.001) compares observed group sizes with the target split and warns before any result is interpreted.
- 03
Two-proportion z-test
Pooled-variance z-test on control and treatment conversion rates, with the two sampling distributions plotted in Chart.js.
- 04
Business projection
Translates the measured lift into incremental conversions, revenue, ROI and payback period.
- 05
Notebook
A Jupyter notebook works through the same statistics in SciPy and statsmodels.
Key decisions
- Checks sample-ratio mismatch before significance, because a biased split invalidates the z-test regardless of its p-value.
- Uses a strict alpha of 0.001 for SRM to keep false alarms rare on large experiments.
- Runs entirely in the browser so analysts can use it without a backend or sharing data.
Results
- Interactive calculator covering sizing, SRM, significance and ROI in one flow.
How it is tested
- The notebook cross-checks the browser formulas against SciPy and statsmodels implementations.
Limits, stated plainly
- Fixed-horizon frequentist tests only: no sequential testing, CUPED or Bayesian analysis.
- Experimental project without an automated test suite.