@miranda0808/maya-codex 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/bin/maya-codex.js +36 -0
- package/package.json +19 -0
- package/payload/.agents/skills/ab-test-setup/SKILL.md +266 -0
- package/payload/.agents/skills/ab-test-setup/evals/evals.json +105 -0
- package/payload/.agents/skills/ab-test-setup/references/sample-size-guide.md +263 -0
- package/payload/.agents/skills/ab-test-setup/references/test-templates.md +277 -0
- package/payload/.agents/skills/ad-creative/SKILL.md +362 -0
- package/payload/.agents/skills/ad-creative/evals/evals.json +90 -0
- package/payload/.agents/skills/ad-creative/references/generative-tools.md +637 -0
- package/payload/.agents/skills/ad-creative/references/platform-specs.md +213 -0
- package/payload/.agents/skills/ai-seo/SKILL.md +398 -0
- package/payload/.agents/skills/ai-seo/evals/evals.json +90 -0
- package/payload/.agents/skills/ai-seo/references/content-patterns.md +285 -0
- package/payload/.agents/skills/ai-seo/references/platform-ranking-factors.md +152 -0
- package/payload/.agents/skills/analytics-tracking/SKILL.md +309 -0
- package/payload/.agents/skills/analytics-tracking/evals/evals.json +90 -0
- package/payload/.agents/skills/analytics-tracking/references/event-library.md +260 -0
- package/payload/.agents/skills/analytics-tracking/references/ga4-implementation.md +300 -0
- package/payload/.agents/skills/analytics-tracking/references/gtm-implementation.md +390 -0
- package/payload/.agents/skills/churn-prevention/SKILL.md +424 -0
- package/payload/.agents/skills/churn-prevention/evals/evals.json +93 -0
- package/payload/.agents/skills/churn-prevention/references/cancel-flow-patterns.md +316 -0
- package/payload/.agents/skills/churn-prevention/references/dunning-playbook.md +408 -0
- package/payload/.agents/skills/cold-email/SKILL.md +158 -0
- package/payload/.agents/skills/cold-email/evals/evals.json +94 -0
- package/payload/.agents/skills/cold-email/references/benchmarks.md +83 -0
- package/payload/.agents/skills/cold-email/references/follow-up-sequences.md +81 -0
- package/payload/.agents/skills/cold-email/references/frameworks.md +90 -0
- package/payload/.agents/skills/cold-email/references/personalization.md +79 -0
- package/payload/.agents/skills/cold-email/references/subject-lines.md +53 -0
- package/payload/.agents/skills/competitor-alternatives/SKILL.md +256 -0
- package/payload/.agents/skills/competitor-alternatives/evals/evals.json +93 -0
- package/payload/.agents/skills/competitor-alternatives/references/content-architecture.md +271 -0
- package/payload/.agents/skills/competitor-alternatives/references/templates.md +223 -0
- package/payload/.agents/skills/content-strategy/SKILL.md +359 -0
- package/payload/.agents/skills/content-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/copy-editing/SKILL.md +447 -0
- package/payload/.agents/skills/copy-editing/evals/evals.json +89 -0
- package/payload/.agents/skills/copy-editing/references/plain-english-alternatives.md +394 -0
- package/payload/.agents/skills/copywriting/SKILL.md +252 -0
- package/payload/.agents/skills/copywriting/evals/evals.json +111 -0
- package/payload/.agents/skills/copywriting/references/copy-frameworks.md +344 -0
- package/payload/.agents/skills/copywriting/references/natural-transitions.md +272 -0
- package/payload/.agents/skills/email-sequence/SKILL.md +309 -0
- package/payload/.agents/skills/email-sequence/evals/evals.json +93 -0
- package/payload/.agents/skills/email-sequence/references/copy-guidelines.md +113 -0
- package/payload/.agents/skills/email-sequence/references/email-types.md +515 -0
- package/payload/.agents/skills/email-sequence/references/sequence-templates.md +168 -0
- package/payload/.agents/skills/form-cro/SKILL.md +429 -0
- package/payload/.agents/skills/form-cro/evals/evals.json +90 -0
- package/payload/.agents/skills/free-tool-strategy/SKILL.md +178 -0
- package/payload/.agents/skills/free-tool-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/free-tool-strategy/references/tool-types.md +217 -0
- package/payload/.agents/skills/launch-strategy/SKILL.md +353 -0
- package/payload/.agents/skills/launch-strategy/evals/evals.json +91 -0
- package/payload/.agents/skills/marketing-ideas/SKILL.md +167 -0
- package/payload/.agents/skills/marketing-ideas/evals/evals.json +90 -0
- package/payload/.agents/skills/marketing-ideas/references/ideas-by-category.md +366 -0
- package/payload/.agents/skills/marketing-psychology/SKILL.md +455 -0
- package/payload/.agents/skills/marketing-psychology/evals/evals.json +88 -0
- package/payload/.agents/skills/onboarding-cro/SKILL.md +220 -0
- package/payload/.agents/skills/onboarding-cro/evals/evals.json +92 -0
- package/payload/.agents/skills/onboarding-cro/references/experiments.md +258 -0
- package/payload/.agents/skills/page-cro/SKILL.md +182 -0
- package/payload/.agents/skills/page-cro/evals/evals.json +111 -0
- package/payload/.agents/skills/page-cro/references/experiments.md +248 -0
- package/payload/.agents/skills/paid-ads/SKILL.md +315 -0
- package/payload/.agents/skills/paid-ads/evals/evals.json +90 -0
- package/payload/.agents/skills/paid-ads/references/ad-copy-templates.md +207 -0
- package/payload/.agents/skills/paid-ads/references/audience-targeting.md +243 -0
- package/payload/.agents/skills/paid-ads/references/platform-setup-checklists.md +277 -0
- package/payload/.agents/skills/paywall-upgrade-cro/SKILL.md +227 -0
- package/payload/.agents/skills/paywall-upgrade-cro/evals/evals.json +93 -0
- package/payload/.agents/skills/paywall-upgrade-cro/references/experiments.md +164 -0
- package/payload/.agents/skills/popup-cro/SKILL.md +453 -0
- package/payload/.agents/skills/popup-cro/evals/evals.json +94 -0
- package/payload/.agents/skills/pricing-strategy/SKILL.md +231 -0
- package/payload/.agents/skills/pricing-strategy/evals/evals.json +90 -0
- package/payload/.agents/skills/pricing-strategy/references/research-methods.md +152 -0
- package/payload/.agents/skills/pricing-strategy/references/tier-structure.md +232 -0
- package/payload/.agents/skills/product-marketing-context/SKILL.md +27 -0
- package/payload/.agents/skills/product-marketing-context/evals/evals.json +40 -0
- package/payload/.agents/skills/programmatic-seo/SKILL.md +238 -0
- package/payload/.agents/skills/programmatic-seo/evals/evals.json +94 -0
- package/payload/.agents/skills/programmatic-seo/references/playbooks.md +308 -0
- package/payload/.agents/skills/referral-program/SKILL.md +255 -0
- package/payload/.agents/skills/referral-program/evals/evals.json +89 -0
- package/payload/.agents/skills/referral-program/references/affiliate-programs.md +164 -0
- package/payload/.agents/skills/referral-program/references/program-examples.md +143 -0
- package/payload/.agents/skills/revops/SKILL.md +343 -0
- package/payload/.agents/skills/revops/evals/evals.json +91 -0
- package/payload/.agents/skills/revops/references/automation-playbooks.md +290 -0
- package/payload/.agents/skills/revops/references/lifecycle-definitions.md +278 -0
- package/payload/.agents/skills/revops/references/routing-rules.md +203 -0
- package/payload/.agents/skills/revops/references/scoring-models.md +247 -0
- package/payload/.agents/skills/sales-enablement/SKILL.md +349 -0
- package/payload/.agents/skills/sales-enablement/evals/evals.json +91 -0
- package/payload/.agents/skills/sales-enablement/references/deck-frameworks.md +263 -0
- package/payload/.agents/skills/sales-enablement/references/demo-scripts.md +355 -0
- package/payload/.agents/skills/sales-enablement/references/objection-library.md +270 -0
- package/payload/.agents/skills/sales-enablement/references/one-pager-templates.md +208 -0
- package/payload/.agents/skills/schema-markup/SKILL.md +179 -0
- package/payload/.agents/skills/schema-markup/evals/evals.json +87 -0
- package/payload/.agents/skills/schema-markup/references/schema-examples.md +398 -0
- package/payload/.agents/skills/seo-audit/SKILL.md +412 -0
- package/payload/.agents/skills/seo-audit/evals/evals.json +136 -0
- package/payload/.agents/skills/seo-audit/references/ai-writing-detection.md +200 -0
- package/payload/.agents/skills/signup-flow-cro/SKILL.md +359 -0
- package/payload/.agents/skills/signup-flow-cro/evals/evals.json +88 -0
- package/payload/.agents/skills/site-architecture/SKILL.md +357 -0
- package/payload/.agents/skills/site-architecture/evals/evals.json +88 -0
- package/payload/.agents/skills/site-architecture/references/mermaid-templates.md +216 -0
- package/payload/.agents/skills/site-architecture/references/navigation-patterns.md +305 -0
- package/payload/.agents/skills/site-architecture/references/site-type-templates.md +293 -0
- package/payload/.agents/skills/social-content/SKILL.md +278 -0
- package/payload/.agents/skills/social-content/evals/evals.json +92 -0
- package/payload/.agents/skills/social-content/references/platforms.md +170 -0
- package/payload/.agents/skills/social-content/references/post-templates.md +177 -0
- package/payload/.agents/skills/social-content/references/reverse-engineering.md +195 -0
- package/payload/.maya/executor.md +79 -0
- package/payload/.maya/meta-api-agent.md +48 -0
- package/payload/.maya/modes/consult.md +63 -0
- package/payload/.maya/modes/task.md +97 -0
- package/payload/.maya/planner.md +69 -0
- package/payload/.maya/researcher.md +51 -0
- package/payload/.maya/templates/plan.md +77 -0
- package/payload/.maya/templates/state.md +87 -0
- package/payload/.maya/templates/task-packet.md +75 -0
- package/payload/MAYA-CATALOG.md +115 -0
- package/payload/MAYA-DEPENDENCIES.md +58 -0
- package/payload/MAYA.md +151 -0
- package/payload/campaigns/README.md +14 -0
- package/payload/commands/maya-consult.md +28 -0
- package/payload/commands/maya-task.md +38 -0
- package/payload/commands/product.md +55 -0
- package/payload/research/README.md +14 -0
- package/payload/templates/README.md +15 -0
- package/payload/templates/plan.md +77 -0
- package/payload/templates/state.md +87 -0
- package/payload/templates/task-packet.md +75 -0
- package/payload/tools/REGISTRY.md +368 -0
- package/payload/tools/clis/README.md +187 -0
- package/payload/tools/clis/activecampaign.js +435 -0
- package/payload/tools/clis/adobe-analytics.js +161 -0
- package/payload/tools/clis/ahrefs.js +192 -0
- package/payload/tools/clis/amplitude.js +182 -0
- package/payload/tools/clis/apollo.js +142 -0
- package/payload/tools/clis/beehiiv.js +245 -0
- package/payload/tools/clis/brevo.js +368 -0
- package/payload/tools/clis/buffer.js +260 -0
- package/payload/tools/clis/calendly.js +253 -0
- package/payload/tools/clis/clearbit.js +163 -0
- package/payload/tools/clis/customer-io.js +205 -0
- package/payload/tools/clis/dataforseo.js +257 -0
- package/payload/tools/clis/demio.js +149 -0
- package/payload/tools/clis/dub.js +158 -0
- package/payload/tools/clis/g2.js +186 -0
- package/payload/tools/clis/ga4.js +194 -0
- package/payload/tools/clis/google-ads.js +189 -0
- package/payload/tools/clis/google-search-console.js +166 -0
- package/payload/tools/clis/hotjar.js +167 -0
- package/payload/tools/clis/hunter.js +249 -0
- package/payload/tools/clis/instantly.js +270 -0
- package/payload/tools/clis/intercom.js +399 -0
- package/payload/tools/clis/keywords-everywhere.js +185 -0
- package/payload/tools/clis/kit.js +232 -0
- package/payload/tools/clis/klaviyo.js +348 -0
- package/payload/tools/clis/lemlist.js +221 -0
- package/payload/tools/clis/linkedin-ads.js +185 -0
- package/payload/tools/clis/livestorm.js +292 -0
- package/payload/tools/clis/mailchimp.js +220 -0
- package/payload/tools/clis/mention-me.js +161 -0
- package/payload/tools/clis/meta-ads.js +181 -0
- package/payload/tools/clis/mixpanel.js +248 -0
- package/payload/tools/clis/onesignal.js +241 -0
- package/payload/tools/clis/optimizely.js +233 -0
- package/payload/tools/clis/paddle.js +385 -0
- package/payload/tools/clis/partnerstack.js +382 -0
- package/payload/tools/clis/plausible.js +249 -0
- package/payload/tools/clis/postmark.js +375 -0
- package/payload/tools/clis/resend.js +370 -0
- package/payload/tools/clis/rewardful.js +160 -0
- package/payload/tools/clis/savvycal.js +223 -0
- package/payload/tools/clis/segment.js +192 -0
- package/payload/tools/clis/semrush.js +207 -0
- package/payload/tools/clis/sendgrid.js +211 -0
- package/payload/tools/clis/snov.js +237 -0
- package/payload/tools/clis/tiktok-ads.js +190 -0
- package/payload/tools/clis/tolt.js +153 -0
- package/payload/tools/clis/trustpilot.js +276 -0
- package/payload/tools/clis/typeform.js +269 -0
- package/payload/tools/clis/wistia.js +256 -0
- package/payload/tools/clis/zapier.js +160 -0
- package/payload/tools/integrations/activecampaign.md +337 -0
- package/payload/tools/integrations/adobe-analytics.md +156 -0
- package/payload/tools/integrations/ahrefs.md +142 -0
- package/payload/tools/integrations/amplitude.md +135 -0
- package/payload/tools/integrations/apollo.md +148 -0
- package/payload/tools/integrations/beehiiv.md +157 -0
- package/payload/tools/integrations/brevo.md +268 -0
- package/payload/tools/integrations/buffer.md +138 -0
- package/payload/tools/integrations/calendly.md +161 -0
- package/payload/tools/integrations/clearbit.md +142 -0
- package/payload/tools/integrations/customer-io.md +187 -0
- package/payload/tools/integrations/dataforseo.md +165 -0
- package/payload/tools/integrations/demio.md +182 -0
- package/payload/tools/integrations/dub-co.md +160 -0
- package/payload/tools/integrations/g2.md +179 -0
- package/payload/tools/integrations/ga4.md +126 -0
- package/payload/tools/integrations/google-ads.md +159 -0
- package/payload/tools/integrations/google-search-console.md +147 -0
- package/payload/tools/integrations/hotjar.md +147 -0
- package/payload/tools/integrations/hubspot.md +178 -0
- package/payload/tools/integrations/hunter.md +90 -0
- package/payload/tools/integrations/instantly.md +104 -0
- package/payload/tools/integrations/intercom.md +292 -0
- package/payload/tools/integrations/keywords-everywhere.md +207 -0
- package/payload/tools/integrations/kit.md +167 -0
- package/payload/tools/integrations/klaviyo.md +228 -0
- package/payload/tools/integrations/lemlist.md +110 -0
- package/payload/tools/integrations/linkedin-ads.md +164 -0
- package/payload/tools/integrations/livestorm.md +313 -0
- package/payload/tools/integrations/mailchimp.md +150 -0
- package/payload/tools/integrations/mention-me.md +160 -0
- package/payload/tools/integrations/meta-ads.md +147 -0
- package/payload/tools/integrations/mixpanel.md +137 -0
- package/payload/tools/integrations/onesignal.md +229 -0
- package/payload/tools/integrations/optimizely.md +171 -0
- package/payload/tools/integrations/paddle.md +212 -0
- package/payload/tools/integrations/partnerstack.md +222 -0
- package/payload/tools/integrations/plausible.md +177 -0
- package/payload/tools/integrations/posthog.md +151 -0
- package/payload/tools/integrations/postmark.md +234 -0
- package/payload/tools/integrations/resend.md +168 -0
- package/payload/tools/integrations/rewardful.md +147 -0
- package/payload/tools/integrations/salesforce.md +150 -0
- package/payload/tools/integrations/savvycal.md +181 -0
- package/payload/tools/integrations/segment.md +159 -0
- package/payload/tools/integrations/semrush.md +121 -0
- package/payload/tools/integrations/sendgrid.md +161 -0
- package/payload/tools/integrations/shopify.md +176 -0
- package/payload/tools/integrations/snov.md +94 -0
- package/payload/tools/integrations/stripe.md +148 -0
- package/payload/tools/integrations/tiktok-ads.md +161 -0
- package/payload/tools/integrations/tolt.md +144 -0
- package/payload/tools/integrations/trustpilot.md +191 -0
- package/payload/tools/integrations/typeform.md +190 -0
- package/payload/tools/integrations/webflow.md +198 -0
- package/payload/tools/integrations/wistia.md +164 -0
- package/payload/tools/integrations/wordpress.md +175 -0
- package/payload/tools/integrations/zapier.md +150 -0
- package/payload/tools/meta/README.md +55 -0
- package/payload/tools/meta/meta-cache-schema.md +65 -0
- package/payload/tools/meta/meta-fetch.ps1 +324 -0
- package/payload/tools/meta/meta-fetch.test.ps1 +38 -0
- package/vendor/shared-installer/manifests/claude-files.json +13 -0
- package/vendor/shared-installer/manifests/codex-files.json +13 -0
- package/vendor/shared-installer/manifests/common-files.json +13 -0
- package/vendor/shared-installer/package.json +15 -0
- package/vendor/shared-installer/src/bootstrap.js +12 -0
- package/vendor/shared-installer/src/cli-options.js +53 -0
- package/vendor/shared-installer/src/fs.js +105 -0
- package/vendor/shared-installer/src/index.js +44 -0
- package/vendor/shared-installer/src/install.js +157 -0
- package/vendor/shared-installer/src/manifest.js +52 -0
- package/vendor/shared-installer/templates/claude/.claude/skills/.gitkeep +1 -0
- package/vendor/shared-installer/templates/claude/CLAUDE.md +27 -0
- package/vendor/shared-installer/templates/codex/.agent/skills/.gitkeep +1 -0
- package/vendor/shared-installer/templates/codex/AGENTS.md +27 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
# Sample Size Guide
|
|
2
|
+
|
|
3
|
+
Reference for calculating sample sizes and test duration.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
- Sample Size Fundamentals (required inputs, what these mean)
|
|
7
|
+
- Sample Size Quick Reference Tables
|
|
8
|
+
- Duration Calculator (formula, examples, minimum duration rules, maximum duration guidelines)
|
|
9
|
+
- Online Calculators
|
|
10
|
+
- Adjusting for Multiple Variants
|
|
11
|
+
- Common Sample Size Mistakes
|
|
12
|
+
- When Sample Size Requirements Are Too High
|
|
13
|
+
- Sequential Testing
|
|
14
|
+
- Quick Decision Framework
|
|
15
|
+
|
|
16
|
+
## Sample Size Fundamentals
|
|
17
|
+
|
|
18
|
+
### Required Inputs
|
|
19
|
+
|
|
20
|
+
1. **Baseline conversion rate**: Your current rate
|
|
21
|
+
2. **Minimum detectable effect (MDE)**: Smallest change worth detecting
|
|
22
|
+
3. **Statistical significance level**: Usually 95% (α = 0.05)
|
|
23
|
+
4. **Statistical power**: Usually 80% (β = 0.20)
|
|
24
|
+
|
|
25
|
+
### What These Mean
|
|
26
|
+
|
|
27
|
+
**Baseline conversion rate**: If your page converts at 5%, that's your baseline.
|
|
28
|
+
|
|
29
|
+
**MDE (Minimum Detectable Effect)**: The smallest improvement you care about detecting. Set this based on:
|
|
30
|
+
- Business impact (is a 5% lift meaningful?)
|
|
31
|
+
- Implementation cost (worth the effort?)
|
|
32
|
+
- Realistic expectations (what have past tests shown?)
|
|
33
|
+
|
|
34
|
+
**Statistical significance (95%)**: Means there's less than 5% chance the observed difference is due to random chance.
|
|
35
|
+
|
|
36
|
+
**Statistical power (80%)**: Means if there's a real effect of size MDE, you have 80% chance of detecting it.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Sample Size Quick Reference Tables
|
|
41
|
+
|
|
42
|
+
### Conversion Rate: 1%
|
|
43
|
+
|
|
44
|
+
| Lift to Detect | Sample per Variant | Total Sample |
|
|
45
|
+
|----------------|-------------------|--------------|
|
|
46
|
+
| 5% (1% → 1.05%) | 1,500,000 | 3,000,000 |
|
|
47
|
+
| 10% (1% → 1.1%) | 380,000 | 760,000 |
|
|
48
|
+
| 20% (1% → 1.2%) | 97,000 | 194,000 |
|
|
49
|
+
| 50% (1% → 1.5%) | 16,000 | 32,000 |
|
|
50
|
+
| 100% (1% → 2%) | 4,200 | 8,400 |
|
|
51
|
+
|
|
52
|
+
### Conversion Rate: 3%
|
|
53
|
+
|
|
54
|
+
| Lift to Detect | Sample per Variant | Total Sample |
|
|
55
|
+
|----------------|-------------------|--------------|
|
|
56
|
+
| 5% (3% → 3.15%) | 480,000 | 960,000 |
|
|
57
|
+
| 10% (3% → 3.3%) | 120,000 | 240,000 |
|
|
58
|
+
| 20% (3% → 3.6%) | 31,000 | 62,000 |
|
|
59
|
+
| 50% (3% → 4.5%) | 5,200 | 10,400 |
|
|
60
|
+
| 100% (3% → 6%) | 1,400 | 2,800 |
|
|
61
|
+
|
|
62
|
+
### Conversion Rate: 5%
|
|
63
|
+
|
|
64
|
+
| Lift to Detect | Sample per Variant | Total Sample |
|
|
65
|
+
|----------------|-------------------|--------------|
|
|
66
|
+
| 5% (5% → 5.25%) | 280,000 | 560,000 |
|
|
67
|
+
| 10% (5% → 5.5%) | 72,000 | 144,000 |
|
|
68
|
+
| 20% (5% → 6%) | 18,000 | 36,000 |
|
|
69
|
+
| 50% (5% → 7.5%) | 3,100 | 6,200 |
|
|
70
|
+
| 100% (5% → 10%) | 810 | 1,620 |
|
|
71
|
+
|
|
72
|
+
### Conversion Rate: 10%
|
|
73
|
+
|
|
74
|
+
| Lift to Detect | Sample per Variant | Total Sample |
|
|
75
|
+
|----------------|-------------------|--------------|
|
|
76
|
+
| 5% (10% → 10.5%) | 130,000 | 260,000 |
|
|
77
|
+
| 10% (10% → 11%) | 34,000 | 68,000 |
|
|
78
|
+
| 20% (10% → 12%) | 8,700 | 17,400 |
|
|
79
|
+
| 50% (10% → 15%) | 1,500 | 3,000 |
|
|
80
|
+
| 100% (10% → 20%) | 400 | 800 |
|
|
81
|
+
|
|
82
|
+
### Conversion Rate: 20%
|
|
83
|
+
|
|
84
|
+
| Lift to Detect | Sample per Variant | Total Sample |
|
|
85
|
+
|----------------|-------------------|--------------|
|
|
86
|
+
| 5% (20% → 21%) | 60,000 | 120,000 |
|
|
87
|
+
| 10% (20% → 22%) | 16,000 | 32,000 |
|
|
88
|
+
| 20% (20% → 24%) | 4,000 | 8,000 |
|
|
89
|
+
| 50% (20% → 30%) | 700 | 1,400 |
|
|
90
|
+
| 100% (20% → 40%) | 200 | 400 |
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Duration Calculator
|
|
95
|
+
|
|
96
|
+
### Formula
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Duration (days) = (Sample per variant × Number of variants) / (Daily traffic × % exposed)
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Examples
|
|
103
|
+
|
|
104
|
+
**Scenario 1: High-traffic page**
|
|
105
|
+
- Need: 10,000 per variant (2 variants = 20,000 total)
|
|
106
|
+
- Daily traffic: 5,000 visitors
|
|
107
|
+
- 100% exposed to test
|
|
108
|
+
- Duration: 20,000 / 5,000 = **4 days**
|
|
109
|
+
|
|
110
|
+
**Scenario 2: Medium-traffic page**
|
|
111
|
+
- Need: 30,000 per variant (60,000 total)
|
|
112
|
+
- Daily traffic: 2,000 visitors
|
|
113
|
+
- 100% exposed
|
|
114
|
+
- Duration: 60,000 / 2,000 = **30 days**
|
|
115
|
+
|
|
116
|
+
**Scenario 3: Low-traffic with partial exposure**
|
|
117
|
+
- Need: 15,000 per variant (30,000 total)
|
|
118
|
+
- Daily traffic: 500 visitors
|
|
119
|
+
- 50% exposed to test
|
|
120
|
+
- Effective daily: 250
|
|
121
|
+
- Duration: 30,000 / 250 = **120 days** (too long!)
|
|
122
|
+
|
|
123
|
+
### Minimum Duration Rules
|
|
124
|
+
|
|
125
|
+
Even with sufficient sample size, run tests for at least:
|
|
126
|
+
- **1 full week**: To capture day-of-week variation
|
|
127
|
+
- **2 business cycles**: If B2B (weekday vs. weekend patterns)
|
|
128
|
+
- **Through paydays**: If e-commerce (beginning/end of month)
|
|
129
|
+
|
|
130
|
+
### Maximum Duration Guidelines
|
|
131
|
+
|
|
132
|
+
Avoid running tests longer than 4-8 weeks:
|
|
133
|
+
- Novelty effects wear off
|
|
134
|
+
- External factors intervene
|
|
135
|
+
- Opportunity cost of other tests
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Online Calculators
|
|
140
|
+
|
|
141
|
+
### Recommended Tools
|
|
142
|
+
|
|
143
|
+
**Evan Miller's Calculator**
|
|
144
|
+
https://www.evanmiller.org/ab-testing/sample-size.html
|
|
145
|
+
- Simple interface
|
|
146
|
+
- Bookmark-worthy
|
|
147
|
+
|
|
148
|
+
**Optimizely's Calculator**
|
|
149
|
+
https://www.optimizely.com/sample-size-calculator/
|
|
150
|
+
- Business-friendly language
|
|
151
|
+
- Duration estimates
|
|
152
|
+
|
|
153
|
+
**AB Test Guide Calculator**
|
|
154
|
+
https://www.abtestguide.com/calc/
|
|
155
|
+
- Includes Bayesian option
|
|
156
|
+
- Multiple test types
|
|
157
|
+
|
|
158
|
+
**VWO Duration Calculator**
|
|
159
|
+
https://vwo.com/tools/ab-test-duration-calculator/
|
|
160
|
+
- Duration-focused
|
|
161
|
+
- Good for planning
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Adjusting for Multiple Variants
|
|
166
|
+
|
|
167
|
+
With more than 2 variants (A/B/n tests), you need more sample:
|
|
168
|
+
|
|
169
|
+
| Variants | Multiplier |
|
|
170
|
+
|----------|------------|
|
|
171
|
+
| 2 (A/B) | 1x |
|
|
172
|
+
| 3 (A/B/C) | ~1.5x |
|
|
173
|
+
| 4 (A/B/C/D) | ~2x |
|
|
174
|
+
| 5+ | Consider reducing variants |
|
|
175
|
+
|
|
176
|
+
**Why?** More comparisons increase chance of false positives. You're comparing:
|
|
177
|
+
- A vs B
|
|
178
|
+
- A vs C
|
|
179
|
+
- B vs C (sometimes)
|
|
180
|
+
|
|
181
|
+
Apply Bonferroni correction or use tools that handle this automatically.
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Common Sample Size Mistakes
|
|
186
|
+
|
|
187
|
+
### 1. Underpowered tests
|
|
188
|
+
**Problem**: Not enough sample to detect realistic effects
|
|
189
|
+
**Fix**: Be realistic about MDE, get more traffic, or don't test
|
|
190
|
+
|
|
191
|
+
### 2. Overpowered tests
|
|
192
|
+
**Problem**: Waiting for sample size when you already have significance
|
|
193
|
+
**Fix**: This is actually fine—you committed to sample size, honor it
|
|
194
|
+
|
|
195
|
+
### 3. Wrong baseline rate
|
|
196
|
+
**Problem**: Using wrong conversion rate for calculation
|
|
197
|
+
**Fix**: Use the specific metric and page, not site-wide averages
|
|
198
|
+
|
|
199
|
+
### 4. Ignoring segments
|
|
200
|
+
**Problem**: Calculating for full traffic, then analyzing segments
|
|
201
|
+
**Fix**: If you plan segment analysis, calculate sample for smallest segment
|
|
202
|
+
|
|
203
|
+
### 5. Testing too many things
|
|
204
|
+
**Problem**: Dividing traffic too many ways
|
|
205
|
+
**Fix**: Prioritize ruthlessly, run fewer concurrent tests
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## When Sample Size Requirements Are Too High
|
|
210
|
+
|
|
211
|
+
Options when you can't get enough traffic:
|
|
212
|
+
|
|
213
|
+
1. **Increase MDE**: Accept only detecting larger effects (20%+ lift)
|
|
214
|
+
2. **Lower confidence**: Use 90% instead of 95% (risky, document it)
|
|
215
|
+
3. **Reduce variants**: Test only the most promising variant
|
|
216
|
+
4. **Combine traffic**: Test across multiple similar pages
|
|
217
|
+
5. **Test upstream**: Test earlier in funnel where traffic is higher
|
|
218
|
+
6. **Don't test**: Make decision based on qualitative data instead
|
|
219
|
+
7. **Longer test**: Accept longer duration (weeks/months)
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## Sequential Testing
|
|
224
|
+
|
|
225
|
+
If you must check results before reaching sample size:
|
|
226
|
+
|
|
227
|
+
### What is it?
|
|
228
|
+
Statistical method that adjusts for multiple looks at data.
|
|
229
|
+
|
|
230
|
+
### When to use
|
|
231
|
+
- High-risk changes
|
|
232
|
+
- Need to stop bad variants early
|
|
233
|
+
- Time-sensitive decisions
|
|
234
|
+
|
|
235
|
+
### Tools that support it
|
|
236
|
+
- Optimizely (Stats Accelerator)
|
|
237
|
+
- VWO (SmartStats)
|
|
238
|
+
- PostHog (Bayesian approach)
|
|
239
|
+
|
|
240
|
+
### Tradeoff
|
|
241
|
+
- More flexibility to stop early
|
|
242
|
+
- Slightly larger sample size requirement
|
|
243
|
+
- More complex analysis
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Quick Decision Framework
|
|
248
|
+
|
|
249
|
+
### Can I run this test?
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
Daily traffic to page: _____
|
|
253
|
+
Baseline conversion rate: _____
|
|
254
|
+
MDE I care about: _____
|
|
255
|
+
|
|
256
|
+
Sample needed per variant: _____ (from tables above)
|
|
257
|
+
Days to run: Sample / Daily traffic = _____
|
|
258
|
+
|
|
259
|
+
If days > 60: Consider alternatives
|
|
260
|
+
If days > 30: Acceptable for high-impact tests
|
|
261
|
+
If days < 14: Likely feasible
|
|
262
|
+
If days < 7: Easy to run, consider running longer anyway
|
|
263
|
+
```
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
# A/B Test Templates Reference
|
|
2
|
+
|
|
3
|
+
Templates for planning, documenting, and analyzing experiments.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
- Test Plan Template
|
|
7
|
+
- Results Documentation Template
|
|
8
|
+
- Test Repository Entry Template
|
|
9
|
+
- Quick Test Brief Template
|
|
10
|
+
- Stakeholder Update Template
|
|
11
|
+
- Experiment Prioritization Scorecard
|
|
12
|
+
- Hypothesis Bank Template
|
|
13
|
+
|
|
14
|
+
## Test Plan Template
|
|
15
|
+
|
|
16
|
+
```markdown
|
|
17
|
+
# A/B Test: [Name]
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
- **Owner**: [Name]
|
|
21
|
+
- **Test ID**: [ID in testing tool]
|
|
22
|
+
- **Page/Feature**: [What's being tested]
|
|
23
|
+
- **Planned dates**: [Start] - [End]
|
|
24
|
+
|
|
25
|
+
## Hypothesis
|
|
26
|
+
|
|
27
|
+
Because [observation/data],
|
|
28
|
+
we believe [change]
|
|
29
|
+
will cause [expected outcome]
|
|
30
|
+
for [audience].
|
|
31
|
+
We'll know this is true when [metrics].
|
|
32
|
+
|
|
33
|
+
## Test Design
|
|
34
|
+
|
|
35
|
+
| Element | Details |
|
|
36
|
+
|---------|---------|
|
|
37
|
+
| Test type | A/B / A/B/n / MVT |
|
|
38
|
+
| Duration | X weeks |
|
|
39
|
+
| Sample size | X per variant |
|
|
40
|
+
| Traffic allocation | 50/50 |
|
|
41
|
+
| Tool | [Tool name] |
|
|
42
|
+
| Implementation | Client-side / Server-side |
|
|
43
|
+
|
|
44
|
+
## Variants
|
|
45
|
+
|
|
46
|
+
### Control (A)
|
|
47
|
+
[Screenshot]
|
|
48
|
+
- Current experience
|
|
49
|
+
- [Key details about current state]
|
|
50
|
+
|
|
51
|
+
### Variant (B)
|
|
52
|
+
[Screenshot or mockup]
|
|
53
|
+
- [Specific change #1]
|
|
54
|
+
- [Specific change #2]
|
|
55
|
+
- Rationale: [Why we think this will win]
|
|
56
|
+
|
|
57
|
+
## Metrics
|
|
58
|
+
|
|
59
|
+
### Primary
|
|
60
|
+
- **Metric**: [metric name]
|
|
61
|
+
- **Definition**: [how it's calculated]
|
|
62
|
+
- **Current baseline**: [X%]
|
|
63
|
+
- **Minimum detectable effect**: [X%]
|
|
64
|
+
|
|
65
|
+
### Secondary
|
|
66
|
+
- [Metric 1]: [what it tells us]
|
|
67
|
+
- [Metric 2]: [what it tells us]
|
|
68
|
+
- [Metric 3]: [what it tells us]
|
|
69
|
+
|
|
70
|
+
### Guardrails
|
|
71
|
+
- [Metric that shouldn't get worse]
|
|
72
|
+
- [Another safety metric]
|
|
73
|
+
|
|
74
|
+
## Segment Analysis Plan
|
|
75
|
+
- Mobile vs. desktop
|
|
76
|
+
- New vs. returning visitors
|
|
77
|
+
- Traffic source
|
|
78
|
+
- [Other relevant segments]
|
|
79
|
+
|
|
80
|
+
## Success Criteria
|
|
81
|
+
- Winner: [Primary metric improves by X% with 95% confidence]
|
|
82
|
+
- Loser: [Primary metric decreases significantly]
|
|
83
|
+
- Inconclusive: [What we'll do if no significant result]
|
|
84
|
+
|
|
85
|
+
## Pre-Launch Checklist
|
|
86
|
+
- [ ] Hypothesis documented and reviewed
|
|
87
|
+
- [ ] Primary metric defined and trackable
|
|
88
|
+
- [ ] Sample size calculated
|
|
89
|
+
- [ ] Test duration estimated
|
|
90
|
+
- [ ] Variants implemented correctly
|
|
91
|
+
- [ ] Tracking verified in all variants
|
|
92
|
+
- [ ] QA completed on all variants
|
|
93
|
+
- [ ] Stakeholders informed
|
|
94
|
+
- [ ] Calendar hold for analysis date
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Results Documentation Template
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
# A/B Test Results: [Name]
|
|
103
|
+
|
|
104
|
+
## Summary
|
|
105
|
+
| Element | Value |
|
|
106
|
+
|---------|-------|
|
|
107
|
+
| Test ID | [ID] |
|
|
108
|
+
| Dates | [Start] - [End] |
|
|
109
|
+
| Duration | X days |
|
|
110
|
+
| Result | Winner / Loser / Inconclusive |
|
|
111
|
+
| Decision | [What we're doing] |
|
|
112
|
+
|
|
113
|
+
## Hypothesis (Reminder)
|
|
114
|
+
[Copy from test plan]
|
|
115
|
+
|
|
116
|
+
## Results
|
|
117
|
+
|
|
118
|
+
### Sample Size
|
|
119
|
+
| Variant | Target | Actual | % of target |
|
|
120
|
+
|---------|--------|--------|-------------|
|
|
121
|
+
| Control | X | Y | Z% |
|
|
122
|
+
| Variant | X | Y | Z% |
|
|
123
|
+
|
|
124
|
+
### Primary Metric: [Metric Name]
|
|
125
|
+
| Variant | Value | 95% CI | vs. Control |
|
|
126
|
+
|---------|-------|--------|-------------|
|
|
127
|
+
| Control | X% | [X%, Y%] | — |
|
|
128
|
+
| Variant | X% | [X%, Y%] | +X% |
|
|
129
|
+
|
|
130
|
+
**Statistical significance**: p = X.XX (95% = sig / not sig)
|
|
131
|
+
**Practical significance**: [Is this lift meaningful for the business?]
|
|
132
|
+
|
|
133
|
+
### Secondary Metrics
|
|
134
|
+
|
|
135
|
+
| Metric | Control | Variant | Change | Significant? |
|
|
136
|
+
|--------|---------|---------|--------|--------------|
|
|
137
|
+
| [Metric 1] | X | Y | +Z% | Yes/No |
|
|
138
|
+
| [Metric 2] | X | Y | +Z% | Yes/No |
|
|
139
|
+
|
|
140
|
+
### Guardrail Metrics
|
|
141
|
+
|
|
142
|
+
| Metric | Control | Variant | Change | Concern? |
|
|
143
|
+
|--------|---------|---------|--------|----------|
|
|
144
|
+
| [Metric 1] | X | Y | +Z% | Yes/No |
|
|
145
|
+
|
|
146
|
+
### Segment Analysis
|
|
147
|
+
|
|
148
|
+
**Mobile vs. Desktop**
|
|
149
|
+
| Segment | Control | Variant | Lift |
|
|
150
|
+
|---------|---------|---------|------|
|
|
151
|
+
| Mobile | X% | Y% | +Z% |
|
|
152
|
+
| Desktop | X% | Y% | +Z% |
|
|
153
|
+
|
|
154
|
+
**New vs. Returning**
|
|
155
|
+
| Segment | Control | Variant | Lift |
|
|
156
|
+
|---------|---------|---------|------|
|
|
157
|
+
| New | X% | Y% | +Z% |
|
|
158
|
+
| Returning | X% | Y% | +Z% |
|
|
159
|
+
|
|
160
|
+
## Interpretation
|
|
161
|
+
|
|
162
|
+
### What happened?
|
|
163
|
+
[Explanation of results in plain language]
|
|
164
|
+
|
|
165
|
+
### Why do we think this happened?
|
|
166
|
+
[Analysis and reasoning]
|
|
167
|
+
|
|
168
|
+
### Caveats
|
|
169
|
+
[Any limitations, external factors, or concerns]
|
|
170
|
+
|
|
171
|
+
## Decision
|
|
172
|
+
|
|
173
|
+
**Winner**: [Control / Variant]
|
|
174
|
+
|
|
175
|
+
**Action**: [Implement variant / Keep control / Re-test]
|
|
176
|
+
|
|
177
|
+
**Timeline**: [When changes will be implemented]
|
|
178
|
+
|
|
179
|
+
## Learnings
|
|
180
|
+
|
|
181
|
+
### What we learned
|
|
182
|
+
- [Key insight 1]
|
|
183
|
+
- [Key insight 2]
|
|
184
|
+
|
|
185
|
+
### What to test next
|
|
186
|
+
- [Follow-up test idea 1]
|
|
187
|
+
- [Follow-up test idea 2]
|
|
188
|
+
|
|
189
|
+
### Impact
|
|
190
|
+
- **Projected lift**: [X% improvement in Y metric]
|
|
191
|
+
- **Business impact**: [Revenue, conversions, etc.]
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Test Repository Entry Template
|
|
197
|
+
|
|
198
|
+
For tracking all tests in a central location:
|
|
199
|
+
|
|
200
|
+
```markdown
|
|
201
|
+
| Test ID | Name | Page | Dates | Primary Metric | Result | Lift | Link |
|
|
202
|
+
|---------|------|------|-------|----------------|--------|------|------|
|
|
203
|
+
| 001 | Hero headline test | Homepage | 1/1-1/15 | CTR | Winner | +12% | [Link] |
|
|
204
|
+
| 002 | Pricing table layout | Pricing | 1/10-1/31 | Plan selection | Loser | -5% | [Link] |
|
|
205
|
+
| 003 | Signup form fields | Signup | 2/1-2/14 | Completion | Inconclusive | +2% | [Link] |
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Quick Test Brief Template
|
|
211
|
+
|
|
212
|
+
For simple tests that don't need full documentation:
|
|
213
|
+
|
|
214
|
+
```markdown
|
|
215
|
+
## [Test Name]
|
|
216
|
+
|
|
217
|
+
**What**: [One sentence description]
|
|
218
|
+
**Why**: [One sentence hypothesis]
|
|
219
|
+
**Metric**: [Primary metric]
|
|
220
|
+
**Duration**: [X weeks]
|
|
221
|
+
**Result**: [TBD / Winner / Loser / Inconclusive]
|
|
222
|
+
**Learnings**: [Key takeaway]
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Stakeholder Update Template
|
|
228
|
+
|
|
229
|
+
```markdown
|
|
230
|
+
## A/B Test Update: [Name]
|
|
231
|
+
|
|
232
|
+
**Status**: Running / Complete
|
|
233
|
+
**Days remaining**: X (or complete)
|
|
234
|
+
**Current sample**: X% of target
|
|
235
|
+
|
|
236
|
+
### Preliminary observations
|
|
237
|
+
[What we're seeing - without making decisions yet]
|
|
238
|
+
|
|
239
|
+
### Next steps
|
|
240
|
+
[What happens next]
|
|
241
|
+
|
|
242
|
+
### Timeline
|
|
243
|
+
- [Date]: Analysis complete
|
|
244
|
+
- [Date]: Decision and recommendation
|
|
245
|
+
- [Date]: Implementation (if winner)
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## Experiment Prioritization Scorecard
|
|
251
|
+
|
|
252
|
+
For deciding which tests to run:
|
|
253
|
+
|
|
254
|
+
| Factor | Weight | Test A | Test B | Test C |
|
|
255
|
+
|--------|--------|--------|--------|--------|
|
|
256
|
+
| Potential impact | 30% | | | |
|
|
257
|
+
| Confidence in hypothesis | 25% | | | |
|
|
258
|
+
| Ease of implementation | 20% | | | |
|
|
259
|
+
| Risk if wrong | 15% | | | |
|
|
260
|
+
| Strategic alignment | 10% | | | |
|
|
261
|
+
| **Total** | | | | |
|
|
262
|
+
|
|
263
|
+
Scoring: 1-5 (5 = best)
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Hypothesis Bank Template
|
|
268
|
+
|
|
269
|
+
For collecting test ideas:
|
|
270
|
+
|
|
271
|
+
```markdown
|
|
272
|
+
| ID | Page/Area | Observation | Hypothesis | Potential Impact | Status |
|
|
273
|
+
|----|-----------|-------------|------------|------------------|--------|
|
|
274
|
+
| H1 | Homepage | Low scroll depth | Shorter hero will increase scroll | High | Testing |
|
|
275
|
+
| H2 | Pricing | Users compare plans | Comparison table will help | Medium | Backlog |
|
|
276
|
+
| H3 | Signup | Drop-off at email | Social login will increase completion | Medium | Backlog |
|
|
277
|
+
```
|