Skip to content
phuryn avatar

Ab Test Analysis

Rigorous A/B test analysis that checks power and guardrails before recommending ship, extend, or stop.

CCM score
61 of 100
skills.sh installs
3.1K
GitHub stars
28.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers significance testing, sample size and power checks, sample ratio mismatch, and guardrail metric review for experiment results
  • Includes a summary template with a results table, lift, p-value, and a recommendation of ship, extend, stop, or investigate
  • Flags underpowered tests below 80% power and warns when a winning primary metric hides a degraded guardrail
  • Designed for product teams evaluating split tests on raw CSV or analytics exports, with Python scripts generated for calculations

Install

$ npx -y skills add phuryn/pm-skills --skill ab-test-analysis -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

  1. 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?
  2. Validate the test setup:

    • 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?

Details

Repository
github.com/phuryn/pm-skills
Categories
Data Science & Analytics, Marketing, SEO & Ads
First seen
May 16, 2026

More from phuryn/pm-skills

All 68

Similar to Ab Test Analysis

More Data Science & Analytics