ab-test-stats

Calculate statistical significance, sample size, and duration for A/B tests with Python scripts.

145|28|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/guia-matthieu/clawfu-skills --skill ab-test-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-test-stats
Source: https://github.com/guia-matthieu/clawfu-skills/tree/main/skills/analytics/ab-test-stats
Command: npx skills add https://github.com/guia-matthieu/clawfu-skills --skill ab-test-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scipy, numpy, click, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you determine if your A/B test results are statistically significant, preventing you from making decisions based on random fluctuations.

Core Features & Use Cases

  • Significance Testing: Calculates the p-value and confidence level to determine if observed differences are real.
  • Sample Size Calculation: Helps you determine how many users you need for a test to detect a specific effect size.
  • Duration Estimation: Estimates how long your test needs to run to achieve statistical significance.
  • Use Case: After running an A/B test on a website button color, use this Skill to confirm if the observed increase in clicks is statistically significant or just due to chance.

Quick Start

Calculate the statistical significance for an A/B test with control group 1000 visitors and 50 conversions, and variant group 1000 visitors and 65 conversions.

Frequently Asked Questions about ab-test-stats

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

FAQPage Schema
How do I calculate statistical significance for my A/B test results?

To calculate statistical significance for A/B test results, you input visitor and conversion counts for your control and variant groups. The script computes the p-value and confidence level, validating whether observed conversion rate differences are real or random fluctuations.

What sample size do I need for an A/B test to detect a specific effect?

Determining the required sample size for A/B testing involves running a power analysis with your minimum detectable effect and desired confidence level. This Skill calculates the exact number of visitors needed per group to ensure your data analysis is reliable.

How do I estimate the duration needed to run an A/B test?

Estimating the duration needed to run an A/B test requires your required sample size and expected daily traffic. This Skill calculates the estimated time your experiment needs to run to achieve statistical significance and reliable experimentation outcomes.

Does this A/B testing statistics tool require SciPy and NumPy?

Yes, this A/B testing statistics tool requires SciPy, NumPy, and Click dependencies. You need a Python environment with these libraries installed to execute the scripts for significance testing, sample size calculation, and duration estimation.

Why does my A/B test show a conversion rate increase that isn't statistically significant?

Your A/B test conversion rate increase might not be statistically significant due to an insufficient sample size or short experiment duration. Use this Skill's power analysis to calculate required visitors and confirm if the observed difference is real or just chance.