ab-test-setup

Plan and implement A/B and multivariate tests with Python-based statistical analysis.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/docaohieu2808/claude-skills --skill ab-test-setup-docaohieu2808
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-test-setup
Source: https://github.com/docaohieu2808/claude-skills/tree/main/ab-test-setup
Command: npx skills add https://github.com/docaohieu2808/claude-skills --skill ab-test-setup-docaohieu2808

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the entire A/B testing process, from formulating a clear hypothesis to statistically analyzing results, ensuring data-driven decision-making.

Core Features & Use Cases

  • Hypothesis Formulation: Guides users through creating robust hypotheses using a structured template.
  • Sample Size Calculation: Determines the necessary sample size for statistically significant results based on baseline rates and desired lift.
  • Test Design: Provides guidance on choosing the right test type and allocating traffic.
  • Result Interpretation: Offers clear frameworks for understanding statistical significance, practical impact, and segment analysis.
  • Use Case: A product manager wants to test a new button color on their website. They can use this Skill to calculate the required traffic, design the test, and interpret the results to decide if the new color increases click-through rates.

Quick Start

Use the ab-test-setup skill to calculate the sample size needed for an A/B test with a baseline conversion rate of 5% and a minimum detectable effect of 10%.

Frequently Asked Questions about ab-test-setup

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

FAQPage Schema
How do I calculate sample size for an A/B test with a specific baseline conversion rate?

To calculate sample size for an A/B test, you input your baseline conversion rate and minimum detectable effect into a Python script. This computation determines the exact traffic required per variant to achieve statistically significant results.

What is the best way to design a split test and allocate traffic for product analytics?

The best way to design a split test is to formulate a structured hypothesis and select the appropriate test type. This process guides traffic allocation to ensure valid experimentation and reliable conversion rate optimization data.

How do I interpret statistical significance and practical impact after running an experiment?

To interpret statistical significance and practical impact, you apply statistical analysis frameworks to the experiment results. This provides clear guidance on understanding segment analysis and whether the test outcome warrants implementation.

Do I need Python to run sample size calculations and significance checking?

Yes, you need Python 3 installed to run sample size calculations and significance checking. The Skill utilizes Python scripts to compute the necessary statistical metrics for robust experimentation.

Can I use this skill to set up multivariate tests, or is it only for simple A/B tests?

Yes, you can use this skill to set up multivariate tests as well as simple A/B tests. It provides test design guidance to help you choose the right experimentation type and allocate traffic accordingly.

Why does my A/B test result lack statistical significance despite high traffic?

If your A/B test lacks statistical significance despite high traffic, the minimum detectable effect might be smaller than your baseline conversion rate allows. Utilize the sample size calculation script to verify if your traffic meets the required threshold for detecting the desired lift.