Design a Product Experiment
Purpose
Produce an experiment plan that can actually answer the hypothesis: the right test type, enough statistical power, clean measurement and a decision rule fixed before any data is seen.
When to use
- A written hypothesis needs a test before engineering investment or rollout.
- A team plans an A/B test and needs sample size, duration and metrics set up correctly.
- Demand for a not-yet-built feature must be gauged (fake door, waitlist, concierge).
- An existing experiment plan must be reviewed for flaws before launch.
When not to use
- There is no clear hypothesis yet. Use
hypothesis-statement first.
- The experiment has run and results need interpreting. Use
ab-test-analysis.
- The question is exploratory ("why do users churn?"). Use
problem-interview-script or research-plan.
Inputs
Required:
- The hypothesis (change, segment, expected behavior change) or enough to write one.
- Rough traffic or number of eligible users per week.
Optional, improves quality:
- Baseline rate/mean and variance of the primary metric; minimum effect worth acting on.
- Constraints: legal/consent rules, pricing fairness, sales commitments, engineering effort.
- Existing experimentation platform conventions (bucketing, exposure logging).
If the hypothesis or traffic is missing, ask for it. Never invent a baseline; if it is unknown, plan a baseline-measurement step first.
Process
- Restate the hypothesis and the decision the experiment informs; if the hypothesis is vague, sharpen it (segment, metric, threshold) and mark changes
[ASSUMPTION].
- Choose the test type by the riskiest assumption and traffic: A/B or multivariate for optimizing existing flows with enough traffic; fake door / painted door for demand; concierge or Wizard-of-Oz for value delivery; moderated prototype test when traffic is too low.
- Define variants (control and at most 1-2 treatments) and the single variable that differs; list what must stay identical.
- Pick the randomization unit (user, account, session, region) to avoid contamination; use account level for B2B shared workspaces and when network effects exist.
- Define the primary metric (one), secondary metrics and guardrails, each with formula, source and exposure definition (who counts as "in the experiment").
- Calculate sample size from baseline, minimum detectable effect (MDE), significance (commonly alpha 0.05, two-sided) and power (commonly 0.8); convert to duration using eligible traffic and round up to full weeks to cover weekly cycles. If the duration exceeds what is acceptable, raise the MDE, change the metric, or switch test type.
- Set stop rules: fixed horizon (no peeking) or a pre-declared sequential method; stop early only for guardrail breaches, bugs or sample-ratio mismatch.
- Pre-commit the decision rule: ship / iterate / kill for each outcome, including "flat" results.
- List validity threats and mitigations: novelty effects, seasonality, SRM, bot traffic, overlapping experiments, instrumentation gaps; for fake doors, plan the honest follow-up message to users.
- Cover ethics and privacy: consent, no deceptive pricing to paying customers, personal data minimized in event logging.
- Produce the plan with owners, launch checklist (QA of variants, event verification, A/A or SRM check) and open questions.
- If the user's goal continues, suggest the next skill:
ab-test-analysis once data is in, or metric-definition if the primary metric is not yet defined precisely.
Output format
# Experiment Plan: <name>
Hypothesis: <one sentence> · Decision owner: <name | [UNKNOWN]>
| Item | Value |
|---|---|
| Test type | <A/B / fake door / concierge / ...> – <why> |
| Variants | Control: ... / Treatment: ... |
| Randomization unit | <unit> – <why> |
| Eligible population | <segment, inclusion/exclusion> |
| Primary metric | <formula, source, exposure rule> |
| Guardrails | <metric – threshold> |
| Baseline / MDE | <value | [UNKNOWN]> / <value> |
| Alpha / power | <values> |
| Sample size per variant | <n> |
| Duration | <weeks> (<traffic assumption>) |
| Stop rules | ... |
## Decision Rule
| Outcome | Decision |
|---|---|
| Significant positive, guardrails OK | ... |
| Flat / inconclusive | ... |
| Negative or guardrail breach | ... |
## Validity Threats and Mitigations
- ...
## Launch Checklist
- [ ] Variants QA'd - [ ] Events verified - [ ] SRM check scheduled
## Assumptions and Open Questions
- [ASSUMPTION] ...
Quality checklist
Common pitfalls
- Running an A/B test on too little traffic and reading noise as a result. Compute power first; switch to qualitative testing if the math does not work.
- Stopping the test the day it turns significant. Fix the horizon or use a sequential method declared in advance.
- Randomizing by session when users return several times. Randomize by the unit that experiences the change.
- Treating fake-door clicks as purchase intent without a follow-up step. Add a second commitment signal (waitlist, email, pre-order).
Example
Input: "A/B test a new pricing page layout; about 40,000 visitors/week, trial sign-up 3.2%."
Excerpt of output:
- Test type: A/B, user-level randomization (cookie + logged-in ID).
- Primary metric: trial sign-ups / unique pricing page visitors; guardrail: paid conversion of trials at day 14.
- MDE 10% relative (3.2% to 3.52%), alpha 0.05 two-sided, power 0.8: about 49,000 per variant, so roughly 3 weeks with 2 variants.
- Decision rule: flat result means keep control and stop investing in layout; test the value messaging instead.
1---2name: experiment-design3description: "Designs a product experiment (A/B test, fake-door, painted-door, concierge or prototype test) from a hypothesis, with variants, randomization unit, primary and guardrail metrics, minimum detectable effect, sample size and duration, stop rules and a pre-committed decision rule. Use when a team wants to validate a hypothesis with real users, asks how to set up an A/B or fake-door test, or needs to check an experiment plan before launch."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/experiment-design7 version: "1.0.0"8 language: en9 category: 02-product10 role: product-manager11 area: discovery12 title: "Design a product experiment"13 related: "hypothesis-statement, ab-test-analysis, assumption-mapping, metric-definition, funnel-analysis"14 prompt: "Design an A/B test for our new pricing page layout; we get about 40,000 visitors a week and trial sign-up is 3.2%."15---1617# Design a Product Experiment1819## Purpose20Produce an experiment plan that can actually answer the hypothesis: the right test type, enough statistical power, clean measurement and a decision rule fixed before any data is seen.2122## When to use23- A written hypothesis needs a test before engineering investment or rollout.24- A team plans an A/B test and needs sample size, duration and metrics set up correctly.25- Demand for a not-yet-built feature must be gauged (fake door, waitlist, concierge).26- An existing experiment plan must be reviewed for flaws before launch.2728## When not to use29- There is no clear hypothesis yet. Use `hypothesis-statement` first.30- The experiment has run and results need interpreting. Use `ab-test-analysis`.31- The question is exploratory ("why do users churn?"). Use `problem-interview-script` or `research-plan`.3233## Inputs34Required:35- The hypothesis (change, segment, expected behavior change) or enough to write one.36- Rough traffic or number of eligible users per week.3738Optional, improves quality:39- Baseline rate/mean and variance of the primary metric; minimum effect worth acting on.40- Constraints: legal/consent rules, pricing fairness, sales commitments, engineering effort.41- Existing experimentation platform conventions (bucketing, exposure logging).4243If the hypothesis or traffic is missing, ask for it. Never invent a baseline; if it is unknown, plan a baseline-measurement step first.4445## Process461. Restate the hypothesis and the decision the experiment informs; if the hypothesis is vague, sharpen it (segment, metric, threshold) and mark changes `[ASSUMPTION]`.472. Choose the test type by the riskiest assumption and traffic: A/B or multivariate for optimizing existing flows with enough traffic; fake door / painted door for demand; concierge or Wizard-of-Oz for value delivery; moderated prototype test when traffic is too low.483. Define variants (control and at most 1-2 treatments) and the single variable that differs; list what must stay identical.494. Pick the randomization unit (user, account, session, region) to avoid contamination; use account level for B2B shared workspaces and when network effects exist.505. Define the primary metric (one), secondary metrics and guardrails, each with formula, source and exposure definition (who counts as "in the experiment").516. Calculate sample size from baseline, minimum detectable effect (MDE), significance (commonly alpha 0.05, two-sided) and power (commonly 0.8); convert to duration using eligible traffic and round up to full weeks to cover weekly cycles. If the duration exceeds what is acceptable, raise the MDE, change the metric, or switch test type.527. Set stop rules: fixed horizon (no peeking) or a pre-declared sequential method; stop early only for guardrail breaches, bugs or sample-ratio mismatch.538. Pre-commit the decision rule: ship / iterate / kill for each outcome, including "flat" results.549. List validity threats and mitigations: novelty effects, seasonality, SRM, bot traffic, overlapping experiments, instrumentation gaps; for fake doors, plan the honest follow-up message to users.5510. Cover ethics and privacy: consent, no deceptive pricing to paying customers, personal data minimized in event logging.5611. Produce the plan with owners, launch checklist (QA of variants, event verification, A/A or SRM check) and open questions.5712. If the user's goal continues, suggest the next skill: `ab-test-analysis` once data is in, or `metric-definition` if the primary metric is not yet defined precisely.5859## Output format60```markdown61# Experiment Plan: <name>62Hypothesis: <one sentence> · Decision owner: <name | [UNKNOWN]>6364| Item | Value |65|---|---|66| Test type | <A/B / fake door / concierge / ...> – <why> |67| Variants | Control: ... / Treatment: ... |68| Randomization unit | <unit> – <why> |69| Eligible population | <segment, inclusion/exclusion> |70| Primary metric | <formula, source, exposure rule> |71| Guardrails | <metric – threshold> |72| Baseline / MDE | <value | [UNKNOWN]> / <value> |73| Alpha / power | <values> |74| Sample size per variant | <n> |75| Duration | <weeks> (<traffic assumption>) |76| Stop rules | ... |7778## Decision Rule79| Outcome | Decision |80|---|---|81| Significant positive, guardrails OK | ... |82| Flat / inconclusive | ... |83| Negative or guardrail breach | ... |8485## Validity Threats and Mitigations86- ...87## Launch Checklist88- [ ] Variants QA'd - [ ] Events verified - [ ] SRM check scheduled89## Assumptions and Open Questions90- [ASSUMPTION] ...91```9293## Quality checklist94- [ ] Only one variable differs between control and treatment.95- [ ] Sample size and duration are computed from stated inputs, and inputs not given are marked `[UNKNOWN]` or `[ASSUMPTION]`.96- [ ] Duration covers at least one full weekly cycle and is feasible with the stated traffic.97- [ ] The decision rule covers positive, flat and negative outcomes before launch.98- [ ] Guardrails and stop rules exist; peeking is excluded or a sequential method is named.99- [ ] Privacy, consent and fairness risks are addressed.100- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.101102## Common pitfalls103- Running an A/B test on too little traffic and reading noise as a result. Compute power first; switch to qualitative testing if the math does not work.104- Stopping the test the day it turns significant. Fix the horizon or use a sequential method declared in advance.105- Randomizing by session when users return several times. Randomize by the unit that experiences the change.106- Treating fake-door clicks as purchase intent without a follow-up step. Add a second commitment signal (waitlist, email, pre-order).107108## Example109Input: "A/B test a new pricing page layout; about 40,000 visitors/week, trial sign-up 3.2%."110111Excerpt of output:112- Test type: A/B, user-level randomization (cookie + logged-in ID).113- Primary metric: trial sign-ups / unique pricing page visitors; guardrail: paid conversion of trials at day 14.114- MDE 10% relative (3.2% to 3.52%), alpha 0.05 two-sided, power 0.8: about 49,000 per variant, so roughly 3 weeks with 2 variants.115- Decision rule: flat result means keep control and stop investing in layout; test the value messaging instead.