A/B Test Analysis
Evaluate A/B test results with statistical rigor and translate findings into clear product decisions.
Context
You are analyzing A/B test results for $ARGUMENTS.
If the user provides data files (CSV, Excel, or analytics exports), read and analyze them directly. Generate Python scripts for statistical calculations when needed.
Instructions
Understand the experiment:
- What was the hypothesis?
- What was changed (the variant)?
- What is the primary metric? Any guardrail metrics?
- How long did the test run?
- What is the traffic split?
Validate the test setup:
- Sample size: Is the sample large enough for the expected effect size?
- Duration: Did the test run for at least 1-2 full business cycles?
- Randomization: Any evidence of sample ratio mismatch (SRM)?
Calculate statistical significance:
- Conversion rate for control and variant
- Relative lift, p-value, 95% CI
- Statistical and practical significance
Check guardrail metrics for degradation
Provide recommendation: Ship / Extend / Stop / Investigate
Summary format:
## A/B Test Results: [Test Name] | Metric | Control | Variant | Lift | p-value | Significant? | **Recommendation**: [Ship / Extend / Stop / Investigate]
Think step by step. Generate Python scripts for calculations if raw data is provided.