跳到正文
Skillpedia
分析与电子表格6.7k · #13735

ab-test-analyzer

它能做什么

检查广告或页面两个版本之间的差异是真实的,还是只是偶然,并说明一项测试需要多少访客。适合在 Google 或 Meta 上进行分流测试的营销人员。

适用场景

  • ✓当你已有 A/B 测试结果,并想知道某个胜出者是否真实的时候。
  • ✓当你在规划测试,需要知道它需要多少访客时。
  • ✓当测试已结束,并且你希望按设备或流量来源拆分结果的时候。

技能链接

https://github.com/irinabuht12-oss/marketing-skills/blob/main/skills/ab-test-analyzer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/irinabuht12-oss/marketing-skills/blob/main/skills/ab-test-analyzer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的两个 Meta 广告版本运行了两周。请告诉我胜出者是否具有统计显著性。”

每周 5 个新技能,1 分钟读完。

工作原理

你提供各版本、访客数和转化数。该技能会检查测试是否运行足够长的时间,计算显著性,并建议接下来要尝试什么。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

A/B Test Analyzer

Evaluate A/B test results with statistical rigor and generate actionable next steps.

Process

  1. Collect test data - Variations, sample sizes, conversions, time period
  2. Check validity - Runtime, sample size, peeking issues
  3. Calculate significance - Z-score, p-value, confidence interval
  4. Segment analysis - Device, source, new vs returning
  5. Interpret results - Statistical vs practical significance
  6. Generate hypotheses - "Why it worked" and next test ideas

Sample Size Calculator

n = 2 × (Zα/2 + Zβ)² × p(1-p) / δ²

Where:
- n = sample size per variation
- Zα/2 = 1.96 (95% confidence) or 2.58 (99%)
- Zβ = 0.84 (80% power) or 1.28 (90%)
- p = baseline conversion rate
- δ = minimum detectable effect (absolute)

Quick Reference (95% confidence, 80% power):

Baseline CR 10% Relative MDE 20% Relative MDE
2% 78,000/var 19,500/var
5% 30,000/var 7,500/var
10% 14,300/var 3,600/var

Significance Calculation

Z-score = (pB - pA) / √(SE²_A + SE²_B)
SE = √(p × (1-p) / n)

If |Z| > 1.96 → Significant at 95%
If |Z| > 2.58 → Significant at 99%

Validity Checklist

  • Ran for minimum 14 days (day-of-week effects)
  • Met required sample size before concluding
  • No "peeking" at results during test (inflates false positives to 40%+)
  • Traffic split was random and consistent
  • No external factors (holidays, outages, campaigns)

Bayesian vs Frequentist

Use Case Approach
Large samples (>10K), yes/no decision Frequentist
Continuous monitoring, early stopping Bayesian
Regulatory/legal requirements Frequentist
Want probability statements Bayesian

Output Format

## A/B Test Analysis

### Test Summary
- **Test Name**: [Name]
- **Hypothesis**: [What you expected]
- **Runtime**: [X days]
- **Sample Size**: Control [n] / Variant [n]

### Results
| Metric | Control | Variant | Lift | Significant? |
|--------|---------|---------|------|--------------|
| Conversion Rate | X% | Y% | +Z% | ✅/❌ |

### Statistical Details
- Z-score: [X]
- P-value: [X]
- Confidence Interval: [X% to Y%]
- Power achieved: [X]%

### Validity Assessment
- ✅/❌ Minimum runtime met
- ✅/❌ Sample size requirement met
- ✅/❌ No external confounds identified

### Segment Breakdown
| Segment | Control CR | Variant CR | Lift | Notes |
|---------|-----------|------------|------|-------|
| Mobile | | | | |
| Desktop | | | | |

### Interpretation
[Statistical significance vs practical significance discussion]

### "Why It Worked" Hypotheses
1. [Hypothesis about mechanism]
2. [Alternative explanation]

### Next Test Ideas
1. [Follow-up test based on learnings]
2. [Adjacent hypothesis to explore]

### Confidence Level: [HIGH/MEDIUM/LOW]

Example

Input: "Tested new headline. Control: 10,000 visitors, 250 conversions. Variant: 10,000 visitors, 300 conversions. Ran for 7 days."

Output:

## A/B Test Analysis

### Test Summary
- **Hypothesis**: New headline increases conversions
- **Runtime**: 7 days ⚠️
- **Sample Size**: Control 10,000 / Variant 10,000

### Results
| Metric | Control | Variant | Lift | Significant? |
|--------|---------|---------|------|--------------|
| Conversion Rate | 2.5% | 3.0% | +20% | ✅ Yes (95%) |

### Statistical Details
- Z-score: 2.28
- P-value: 0.023
- Confidence Interval: +2.3% to +37.7%
- Power achieved: 62% ⚠️

### Validity Assessment
- ❌ Minimum runtime NOT met (7 days < 14 days recommended)
- ⚠️ Sample size marginal for 20% MDE
- ❓ Cannot assess external confounds without more context

### Interpretation
Result is **statistically significant** but validity concerns exist:
1. 7-day runtime may miss day-of-week patterns
2. Wide confidence interval (+2% to +38%) indicates uncertainty
3. Recommend extending test 7 more days to confirm

### "Why It Worked" Hypotheses
1. New headline more clearly communicates value proposition
2. Specificity/numbers in headline increased credibility

### Next Test Ideas
1. Test headline variations that emphasize the winning element
2. Apply same messaging pattern to subheadline

### Confidence Level: MEDIUM
Statistical significance achieved, but short runtime reduces confidence.

Guidelines

  • Never declare a winner without checking validity
  • Distinguish statistical significance from practical significance
  • If test ran <7 days, always recommend extending
常见问题

这里的显著是什么意思?

意思是,在该技能所用的置信水平(通常为 95%)下,这种差异不太可能是偶然造成的。

为什么不应该提前查看结果?

在测试期间反复查看结果会提高得出错误胜出者的几率,因此该技能对此提出警告。

测试应运行多久?

该技能建议至少 14 天,以覆盖一周内不同日子的影响,并且访客数量要达到样本量的要求。

详情

作者的原始描述

Statistical significance calculator for A/B test results with sample size requirements, segment breakdowns, and hypothesis generation. Use when feeding test results, checking statistical significance, calculating sample sizes, analyzing experiment outcomes, or generating next test ideas based on results. Platform: Google and Meta.

repo: irinabuht12-oss/marketing-skills

热度

GitHub 星标
6.7k
排名
#13735
许可证
—
更新时间
2026/10/27

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能