# ab-test-analysis

> Claude/Codex skill by [@phuryn](https://omgskills.com/library/phuryn/index.md) · 25k stars · Updated 2026-07-03

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.

Tags: agent-skill-repository, agent-skills, agentic-skills, claude-code-marketplace, claude-code-plugins, claude-cowork-plugin, product-management

## Install

```sh
git clone https://github.com/phuryn/pm-skills /tmp/pm-skills && ln -s /tmp/pm-skills/pm-data-analytics/skills/ab-test-analysis ~/.claude/skills/ab-test-analysis
```

## From README

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 Sample size: Is the sample large enough for the expected effect size? Use the formula: n = (Z²α/2 × 2 × p × (1-p)) / MDE² Flag if the test is underpowered (\<80% power) Duration: Did the test run for at least 1-2 full business cycles? Randomization: Any evidence of sample ratio mismatch (SRM)? Novelty/primacy effects: Was there enough time to wash out initial behavior changes?

## Links

- HTML page: https://omgskills.com/skills/phuryn/pm-skills/ab-test-analysis/
- GitHub: https://github.com/phuryn/pm-skills
- Author: [@phuryn](https://omgskills.com/library/phuryn/index.md)

## More from this repo

- [intended-vs-implemented](https://omgskills.com/skills/phuryn/pm-skills/pm-ai-shipping/skills/intended-vs-implemented/index.md) — The method for finding the gap between what a system is supposed to do and what the code actually does — the class of...
   - [@phuryn](https://omgskills.com/library/phuryn/index.md) · 26k stars
- [shipping-artifacts](https://omgskills.com/skills/phuryn/pm-skills/pm-ai-shipping/skills/shipping-artifacts/index.md) — The durable documentation set that makes an AI-built (vibe-coded) app reviewable before shipping.
   - [@phuryn](https://omgskills.com/library/phuryn/index.md) · 25k stars
- [strategy-red-team](https://omgskills.com/skills/phuryn/pm-skills/pm-execution/skills/strategy-red-team/index.md) — Red-team a PRD, roadmap, or strategy by attacking its load-bearing assumptions before reality does.
   - [@phuryn](https://omgskills.com/library/phuryn/index.md) · 25k stars
