A/B Test Analysis
Checks an experiment for sample ratio mismatch and guardrail regressions before it lets you call a winner.
Overview
A/B Test Analysis runs once an experiment finishes and needs a ship or no-ship call, when results look positive but significance is unclear, or when a disputed result needs a rigorous, documented analysis.
What it covers
- Confirms the test design: hypothesis, control and treatment definitions, randomization unit, primary metric, and guardrails.
- Runs a chi-square check for sample ratio mismatch and stops to investigate the randomization pipeline if one is found.
- Calculates the rate or mean and 95% confidence interval per variant, then runs a two-proportion z-test or Welch's t-test.
- Checks every guardrail metric for significant degradation, since that blocks a ship regardless of the primary result.
- Synthesizes the SRM check, power, significance, and guardrails into a clear ship, no-ship, or extend recommendation with quantified impact.
Part of Data Analytics Skills
This is one of 31 skills in the Data Analytics Skills library, in the Data Analysis & Investigation group.
Installation
- Clone the repo once:
git clone https://github.com/nimrodfisher/data-analytics-skills.git - Copy just this skill:
cp -r data-analytics-skills/03-data-analysis-investigation/ab-test-analysis ~/.claude/skills/(or~/.agents/skills/for Codex) - Ask your agent something like "analyze this experiment and tell me if we should ship it" and it activates on its own.
See the Data Analytics Skills entry for the full library.
Related assets
Frontend Design
Generates distinctive, production-grade UI that avoids generic "AI slop," with bold typography, cohesive color, and precise motion, implemented as real code.
Graphify
Turns a codebase, plus its docs, PDFs, images, and video, into a queryable knowledge graph that a coding agent can traverse instead of grepping raw files, and never guesses silently: every edge is tagged EXTRACTED, INFERRED, or AMBIGUOUS so you know what was found versus inferred.
Caveman
Makes your coding agent answer in a stripped down, high signal style that keeps every technical fact and cuts filler, saving output tokens on chat style questions.