Statistical A/B testing framework: experiment setup, significance testing, sample size calculation, and result analysis. Know when a winner is real, not noise.
Browse the actual product documentation and code examples included in this toolkit.
Key features of A/B Test Framework
• Z-test for proportions — Industry-standard two-proportion z-test for conversion rate comparisons • Chi-squared test — Alternative significance test (2×2 contingency table) • Sample size calculator — Know how many visitors you need before starting • Confidence levels — 90%, 95%, 99% with correct z-score thresholds • Simulation mode — Generate synthetic experiments to test your setup • Relative & absolute lift — Both metrics reported for full context
Z-test for proportions — Industry-standard two-proportion z-test for conversion rate comparisons
Chi-squared test — Alternative significance test (2×2 contingency table)
Sample size calculator — Know how many visitors you need before starting
Confidence levels — 90%, 95%, 99% with correct z-score thresholds
Simulation mode — Generate synthetic experiments to test your setup
Relative & absolute lift — Both metrics reported for full context
Configure A/B Test Framework parameters to see how the product works.
# Analyze experiment results from a JSON file python src/ab_test_framework.py analyze --results examples/sample_experiment.json # Analyze with 99% confidence level python src/ab_test_framework.py analyze --results examples/sample_experiment.json --confidence 0.99 # Simulate an experiment (5000 vis