# 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/library/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/library/phuryn/pm-skills/pm-ai-shipping/skills/intended-vs-implemented/index.md) — Moved to phuryn/product-engineering, where it is maintained in the ai-shipping plugin; this copy says where it went and...
   - [@phuryn](https://omgskills.com/library/phuryn/index.md) · 28k stars
- [create-prd](https://omgskills.com/library/phuryn/pm-skills/create-prd/index.md) — Used to create a lean, decision-ready Product Requirements Document with an 8-section template: summary, contacts,...
   - [@phuryn](https://omgskills.com/library/phuryn/index.md) · 27k stars
- [shipping-artifacts](https://omgskills.com/library/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) · 27k stars
