OperatorRadar
DiscoverAI ToolsAI AgentsInsights
Submit a ToolFind My Solution
OperatorRadar

Find the tools, systems, and ideas that move your business forward. Timeless business thinking, rebuilt for the AI era.

Discover

  • Discover
  • AI Tools
  • AI Agents
  • Software
  • Agencies
  • Categories

Decide

  • Decision Guides
  • Compare
  • Find My Solution
  • Insights

Execute

  • Prompts
  • Workflows
  • Submit a Tool
  • Contact

Company

  • About
  • Privacy
  • Terms

© 2026 OperatorRadar. All rights reserved.

Built by Ekofi

  1. Home
  2. Prompts
  3. A/B Test Hypothesis Writer
Featured
intermediate
Claude or ChatGPT (verify current model choice)
v1.0.0

A/B Test Hypothesis Writer

Stop running vanity tests. Generate A/B hypotheses with built-in success metrics, sample size math, and a one-page brief your team can execute Monday.

Full prompt

You are an A/B test design consultant for {{product_type}} teams. Your job is to take a vague idea and turn it into a rigorous, executable experiment.

Context:
- Current metric: {{current_metric}} (e.g., "checkout conversion rate is 3.2%")
- Proposed change: {{proposed_change}} (e.g., "move CTA button above the fold")
- Traffic available: {{monthly_traffic}} visitors/month
- Acceptable false positive rate: {{alpha_threshold}}% (default: 5%)
- Minimum lift to care about: {{minimum_detectable_effect}}% (e.g., 10% relative lift)
- Current baseline: {{baseline_value}} (e.g., "3.2% conversion")

Generate a one-page A/B test brief with:

1. **Hypothesis** (if/then format):
   - If [change], then [metric] will [direction] by [amount] because [mechanism].
   - Flag any assumptions that could break the test.

2. **Primary Metric**:
   - Metric name and definition (be exact: is it session-level or user-level?).
   - Success threshold (e.g., "3.52% or higher").
   - Why this metric, not a vanity metric.

3. **Sample Size & Duration**:
   - Calculate required sample size using {{baseline_value}}, {{minimum_detectable_effect}}, and {{alpha_threshold}}.
   - Estimate days to run (based on {{monthly_traffic}}).
   - Flag if duration exceeds 4 weeks (seasonality risk).

4. **Confounds to Monitor**:
   - List 3–5 variables that could bias the result (e.g., day-of-week effects, bot traffic, seasonal demand).
   - How to segment or control for each.

5. **Decision Rule**:
   - When to stop early (e.g., "if p < 0.01 by day 7, ship it").
   - When to declare "no winner" and move on.
   - What happens if the result is directionally right but underpowered.

6. **Failure Modes**:
   - What could go wrong (implementation bug, sample contamination, metric definition drift).
   - How to detect each before you make a decision.

Be direct. No fluff. Assume the reader has 10 minutes and a skeptical boss.

How to use

Paste this prompt into your AI tool (Claude, ChatGPT, or your internal LLM). Fill in the {{placeholders}} with your actual numbers—don't estimate. If you don't know {{minimum_detectable_effect}}, ask your finance or product lead: "What's the smallest lift that justifies engineering time?" Run the prompt. Copy the output into a Notion doc or Slack thread. Share with your test owner and QA. If they push back on the hypothesis or the math, that's the point—you've found the disagreement before you waste a week of traffic.

Example input

Current metric: checkout conversion rate is 3.2%
Proposed change: simplify payment form from 8 fields to 4 fields
Traffic available: 50,000 visitors/month
Acceptable false positive rate: 5%
Minimum lift to care about: 8% relative lift
Current baseline: 3.2% conversion

Example output

**Hypothesis:**
If we reduce the payment form from 8 fields to 4 fields (removing optional fields like company name and phone), then checkout conversion rate will increase by 8% (from 3.2% to 3.46%) because form friction is a documented abandonment driver, and users will complete faster.

**Primary Metric:**
Checkout conversion rate (session-level): (completed transactions / sessions that reached checkout) × 100. Success threshold: 3.46% or higher.

**Sample Size & Duration:**
Required sample: ~18,500 sessions per variant (95% power, 5% alpha, 8% relative lift). At 50k/month, you need ~15 days per variant = 30 days total. Risk: month-end spending patterns may skew results; consider running Mon–Thu only.

**Confounds to Monitor:**
- Day-of-week effect: segment by weekday vs. weekend.
- Device type: mobile users may see different friction; analyze separately.
- Traffic source: organic vs. paid may have different conversion baselines; stratify.
- Promo periods: if a sale runs mid-test, it inflates both variants equally (okay) but masks the true effect size.

**Decision Rule:**
- If p < 0.01 by day 14, ship it (high confidence, save time).
- If p > 0.05 by day 30, declare no winner; move to next test.
- If 0.01 < p < 0.05 by day 30, extend 5 more days; if still underpowered, ship the change anyway (directional win, low cost to implement).

**Failure Modes:**
1. Form validation bug: control variant shows error messages, test variant doesn't. Detect: QA both flows before launch.
2. Sample contamination: same user sees both variants (cookie cleared). Detect: check repeat-visitor rate in control vs. test; should be <2% difference.
3. Metric definition drift: "checkout conversion" includes abandoned carts that were later completed. Detect: audit the data pipeline; define "session" as 30-min window, not 24h.

Customization tips

  • Replace {{minimum_detectable_effect}} with your actual business threshold. If you don't have one, use 10% as a default—anything smaller is noise in most SaaS funnels.
  • If {{monthly_traffic}} is under 10k, extend the test duration or increase the minimum detectable effect. Underpowered tests are expensive; better to skip it.
  • For retention or LTV tests, add a time-to-event column (e.g., "days to churn") and specify whether you're measuring 30-day or 90-day windows. Shorter windows = faster decisions but higher noise.
  • If your product has strong cohort effects (e.g., new users vs. power users behave differently), stratify the hypothesis: "For new users, [change] will lift conversion by X%; for power users, we expect no change."
  • Add a "cost of being wrong" row: if you ship a change that actually hurts conversion by 2%, how much revenue do you lose? This forces you to pick a minimum detectable effect that's worth the risk.