Tooluck logoTooluck
SKILL.md

ab-test-analysis

Agent skill fromphuryn/pm-skills

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.

How to install ab-test-analysis

install ab-test-analysis
# install the pm-skills pack with the skills CLI
npx skills add phuryn/pm-skills

# or add only this skill to Claude Code: copy the folder

pm-data-analytics/skills/ab-test-analysis/

# into

~/.claude/skills/ab-test-analysis/ (all projects)

.claude/skills/ab-test-analysis/ (one project)

pm-data-analytics/skills/ab-test-analysis/SKILL.md

MITFull file
1## A/B Test Analysis
2
3Evaluate A/B test results with statistical rigor and translate findings into clear product decisions.
4
5### Context
6
7You are analyzing A/B test results for **$ARGUMENTS**.
8
9If the user provides data files (CSV, Excel, or analytics exports), read and analyze them directly. Generate Python scripts for statistical calculations when needed.
10
11### Instructions
12
131. **Understand the experiment**:
14 - What was the hypothesis?
15 - What was changed (the variant)?
16 - What is the primary metric? Any guardrail metrics?
17 - How long did the test run?
18 - What is the traffic split?
19
202. **Validate the test setup**:
21 - **Sample size**: Is the sample large enough for the expected effect size?
22 - Use the formula: n = (Z²α/2 × 2 × p × (1-p)) / MDE²
23 - Flag if the test is underpowered (<80% power)
24 - **Duration**: Did the test run for at least 1-2 full business cycles?
25 - **Randomization**: Any evidence of sample ratio mismatch (SRM)?
26 - **Novelty/primacy effects**: Was there enough time to wash out initial behavior changes?
27
283. **Calculate statistical significance**:
29 - **Conversion rate** for control and variant
30 - **Relative lift**: (variant - control) / control × 100
31 - **p-value**: Using a two-tailed z-test or chi-squared test
32 - **Confidence interval**: 95% CI for the difference
33 - **Statistical significance**: Is p < 0.05?
34 - **Practical significance**: Is the lift meaningful for the business?
35…

Excerpt shown under the repository's MIT license.

More skills in pm-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates