Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs and analyzes A/B tests with sample size calculation, frequentist, Bayesian, and sequential testing methods.
77% 91%+14 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
I need an A/B test evaluation for a search algorithm tweak we ran on our mobile app. The baseline conversion was 5%, and we targeted a 20% relative MDE. We collected data over two weeks: Control had a 5.0% rate while Treatment achieved 6.1% (p=0.03). Please present this using the standard experiment document structure: start with Hypothesis (H0, H1, primary metric, MDE), followed by Sample Size (baseline, N per group, estimated run time), a post-test Results markdown table detailing Control, Treatment, Diff, 95% CI, and p-value, and conclude with a clear Decision on whether to ship or extend.
Reports a required sample size per group of approximately 15,000 for a 5% baseline rate and 20% relative MDE.
3 of 3 safety checks passed
IRON LAW: Calculate Sample Size BEFORE Running the Test
Running a test without knowing the required sample size leads to two
failures: stopping too early (false positives) or running too long (waste).
Required inputs: baseline conversion rate, minimum detectable effect (MDE),
significance level (α), power (1-β). Calculate BEFORE starting.
n per group ≈ (Z_α/2 + Z_β)² × [p₁(1-p₁) + p₂(1-p₂)] / (p₁ - p₂)²
Quick reference (α=0.05, power=0.8):
| Baseline Rate | MDE (relative) | N per Group |
|---|---|---|
| 5% | 10% (→5.5%) | ~58,000 |
| 5% | 20% (→6.0%) | ~15,000 |
| 10% | 10% (→11%) | ~15,000 |
| 10% | 20% (→12%) | ~4,000 |
| Approach | How It Works | Best When |
|---|---|---|
| Frequentist (fixed-horizon) | Set sample size, run to completion, then analyze | Standard practice, well-understood |
| Bayesian | Update beliefs with data, compute probability of improvement | Want probability statements ("90% chance B is better") |
| Sequential testing | Check results at intervals with adjusted thresholds | Need to stop early if clear winner, or limit downside risk |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.