ab-testing-analyzer

Analyze AB test data to compute conversion rates and statistical significance.

264|45|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/liangdabiao/claude-data-analysis-ultra-main --skill ab-testing-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-testing-analyzer
Source: https://github.com/liangdabiao/claude-data-analysis-ultra-main/tree/main/.claude/skills/ab-testing-analyzer
Command: npx skills add https://github.com/liangdabiao/claude-data-analysis-ultra-main --skill ab-testing-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, matplotlib, seaborn, statsmodels, and includes scripts (resource) components.

What problem does it solve?

This Skill offers a complete AB testing framework—from experimental design and sample size calculation to statistical testing, segmentation, and visual reporting—so teams can quantify effects and drive data-informed decisions.

Core Features & Use Cases

  • Complete AB Workflow: Design, sample size, randomization checks, conversion and retention analyses.
  • Statistical Tests: T-tests, chi-squared tests, confidence intervals, effect sizes.
  • Segmentation & Visualization: Customer segments, retention curves, and decision dashboards.
  • Advanced Analytics: Bayesian AB testing, multivariate testing, and reporting templates.

Quick Start

Quick validation and analysis with example data:

  • Load AB test data
  • Compute conversion rates by group and perform significance tests
  • Generate visualizations and a concise report

Frequently Asked Questions about ab-testing-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform statistical significance testing on AB test results?

Statistical significance testing determines whether observed differences between control and treatment groups are real or due to chance. This Skill applies t-tests, chi-squared tests, and Bayesian methods to experimental data, computing confidence intervals and effect sizes to validate conversion rate differences across your test groups.

Can I analyze AB tests with segmentation and customer cohorts?

Yes. The Skill segments experimental data by customer groups and performs retention and cohort analyses to reveal how different populations respond to treatments. Segmentation visualization dashboards show conversion lift and statistical significance within each segment.

What's the difference between frequentist and Bayesian AB testing approaches?

Frequentist methods use fixed sample sizes and p-values; Bayesian methods quantify belief updates using prior distributions and posterior probabilities. This Skill supports both, letting you choose the framework that matches your experimental design and risk tolerance for early stopping or sequential testing.

How do I calculate sample size before running an AB test?

Sample size planning predicts how many observations you need to detect a meaningful effect with statistical power. The Skill computes sample requirements based on baseline conversion, desired lift, significance level, and power, supporting informed experimental design before data collection begins.

Can I generate automated reports and visualizations from AB test data?

Yes. The Skill generates exportable reports with interactive visualizations including retention curves and decision dashboards. Matplotlib and Seaborn produce publication-ready charts; reporting templates standardize output across multiple experiments and stakeholders.

Does this handle multiple comparison corrections for multivariate testing?

Yes. When testing multiple hypotheses or segments simultaneously, multiple comparison corrections prevent false positives. The Skill applies these adjustments during hypothesis testing and supports multivariate AB designs to maintain statistical validity across all comparisons.