Skip to content
Back to skills

Ab Test Calculator

ASecurity

A/B测试计算器。样本量计算、统计显著性检验、实验时长预估、结果报告、贝叶斯分析。AB test calculator with sample size, significance testing, duration estimation, reports.

  • 12 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 6, 2026
toolsbashtestinggit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add bytesagain/ai-skills --skill ab-test-calculator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ab Test Calculator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ab Test Calculator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-ab-test-calculator/badge)](https://www.skillsdirectory.com/skills/bytesagain-ab-test-calculator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
version: "2.0.0"
name: ab-test-calculator
description: "A/B测试计算器。样本量计算、统计显著性检验、实验时长预估、结果报告、贝叶斯分析。AB test calculator with sample size, significance testing, duration estimation, reports."
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
---

# A/B Test Calculator Skill

A/B测试统计计算器 — 科学决策,数据驱动。

## Commands

Run via: `bash scripts/abtest.sh <command> [args...]`

| Command      | Description                    |
|--------------|--------------------------------|
| calculate    | 计算两组的统计显著性             |
| sample       | 计算所需最小样本量               |
| significance | 检验p值和置信区间                |
| duration     | 预估实验所需天数                 |
| report       | 生成完整A/B测试报告              |
| bayesian     | 贝叶斯方法分析胜率               |

## Usage Examples

```bash
# 计算显著性(访客数 转化数)
bash scripts/abtest.sh calculate 1000 50 1000 65

# 计算样本量(基线转化率 最小可检测提升 显著性水平)
bash scripts/abtest.sh sample 0.05 0.02 0.95

# 预估实验时长(日均流量 所需样本量)
bash scripts/abtest.sh duration 5000 16000

# 贝叶斯分析
bash scripts/abtest.sh bayesian 1000 50 1000 65

# 生成报告
bash scripts/abtest.sh report 1000 50 1000 65 "按钮颜色测试"
```
---
💬 Feedback & Feature Requests: https://bytesagain.com/feedback
Powered by BytesAgain | bytesagain.com

Files in this skill

  • SKILL.md1.6 KB
  • scripts/abtest.sh15 KB
  • scripts/script.sh2.2 KB
  • tips.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.