跳到正文
cccskills
免费在 GitHub 公开

ab-test-analyzer

Analyze A/B test results to assess whether observed differences are likely due to chance. Check test duration and sample size, compare audience segments, distinguish statistical findings from practical value, and generate hypotheses for follow-up tests.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

实测评分 未实测

查看安装方法

适用场景

  • Evaluating results from a headline A/B test
  • Estimating sample sizes before starting a test
  • Comparing results by device or traffic source
  • Planning follow-up tests from experiment findings

包含的文件(1)

  • SKILL.md5.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 CR10% Relative MDE20% Relative MDE
2%78,000/var19,500/var
5%30,000/var7,500/var
10%14,300/var3,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 CaseApproach
Large samples (>10K), yes/no decisionFrequentist
Continuous monitoring, early stoppingBayesian
Regulatory/legal requirementsFrequentist
Want probability statementsBayesian

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
  • If sample size insufficient, calculate required runtime to reach it
  • Ask for segment data if not provided - results often differ by device/source

Data access (Ryze MCP)

This skill works best with live account data. Connect the free Ryze MCP once and Claude reads your Google Ads, Meta Ads, GA4 and Search Console directly:

  • claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → https://connector.get-ryze.ai/mcp
  • Claude Code: claude mcp add ryze --transport http https://connector.get-ryze.ai/mcp
  • Cursor: Settings → MCP → add the same URL

Setup guide: https://www.get-ryze.ai/how-to-connect-claude-to-google-meta-ads-mcp

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan and analyze A/B tests for Google and Meta advertising. Estimate required traffic and duration, track results, and assess whether observed differences are statistically significant, meaning unlikely to be explained by chance alone.

中文简介正在准备中。当前显示英语简介。

  • Planning a test for a new ad headline
  • Estimating traffic and time needed for a landing page test
  • Checking whether interim results justify choosing a winner
irinabuht12-oss/marketing-skills54642026年10月13日 更新

Review Google and Meta campaign structures against goals, budgets, and conversion data. Identify excessive segmentation, overlapping targeting, and fragmented budgets, then get consolidation recommendations, an explained account structure, and a migration plan.

中文简介正在准备中。当前显示英语简介。

  • Reviewing an account inherited from another team or agency
  • Running a quarterly advertising account health check
  • Investigating structural causes of stalled performance
irinabuht12-oss/marketing-skills54642026年10月13日 更新

Analyze successful Google and Meta ads to find useful patterns in headlines, body text, and calls to action. Generate new copy variants that preserve those patterns, with platform formatting, test priorities, and suggested pairings for comparison.

中文简介正在准备中。当前显示英语简介。

  • Refreshing ad copy when existing creatives lose effectiveness
  • Starting an ad copy brainstorming session
  • Testing messaging angles for a new audience
irinabuht12-oss/marketing-skills54642026年10月13日 更新

Review Google Ads extensions, the extra links and details shown with ads, across campaigns. Find missing coverage, weak performance, and outdated information, then get replacement copy based on successful ads and landing pages, plus rollout priorities.

中文简介正在准备中。当前显示英语简介。

  • Checking extension coverage before launching campaigns
  • Quarterly reviews of outdated promotional details
  • Updating extensions after website changes or product launches
irinabuht12-oss/marketing-skills54642026年10月13日 更新

Analyze spending, revenue, and conversions across advertising channels to recommend budget shifts. Compare overall efficiency with the revenue gained from additional spending, identify saturation, and produce a gradual reallocation plan with monitoring priorities.

中文简介正在准备中。当前显示英语简介。

  • Reviewing budget allocation across advertising channels
  • Finding channels with declining returns on extra spending
  • Balancing proven campaigns with new experiments
irinabuht12-oss/marketing-skills54642026年10月13日 更新

Build a question set to check whether AI assistants mention your brand. Analyze the answers you collect, compare visibility against competitors, trace cited sources, and receive a prioritized list of opportunities to address gaps.

中文简介正在准备中。当前显示英语简介。

  • Establishing a baseline for brand visibility in AI answers
  • Comparing brand mentions and citations with competitors
  • Tracking visibility changes each quarter
irinabuht12-oss/marketing-skills54642026年10月13日 更新

查看 irinabuht12-oss 的全部技能

报告此技能的问题