DM7: A/B tests done honestly

Lesson 1 of 5 · reading 15–25 minutes; practice and project time is on the module page

Hypotheses and metrics

🎯You'll be able to

Write a testable hypothesis, choose one primary metric and guardrail metrics, and decide the unit of randomisation.

🏠The everyday picture

A farmer who wants to know whether a new seed grows better plants it in some fields and the old seed in others, chosen by coin toss, and decides beforehand to measure the harvest in kilograms, not how green the leaves look.

📘What it really is

📝A worked example

Input: an idea: "Free delivery messages are good. Let's try it and see what happens." (the starter's next-test plan).

Steps:

  1. Name the change: "Add ₹… more for free delivery" in the cart.
  2. Name the effect and reason: more cart visitors order, because people are surprised by the delivery charge at checkout.
  3. Choose the primary metric (cart visitors who order in the same visit) and guardrails (order value, refunds, cart page speed).

Expected output: the Hypothesis, Primary metric and Guardrail sections of experiment/next-test-plan.md.

🌍Where it's used

📝Case scenario

A food app tested a bigger "Order now" button and measured clicks. Clicks rose 15%, but orders didn't: people tapped it by accident and backed out. Choosing orders as the primary metric, with clicks as background, would have avoided a misleading win.

🖱️Try it

Write a hypothesis for one change to a site you use: the change, the expected effect and why. Add one primary metric and one guardrail. Success: someone else could tell whether the test supported it.

⚠️Common mistakes

🛠️For your project

Project 2's test 8 checks that experiment/next-test-plan.md has a Hypothesis, Primary metric, Guardrail, Sample size, Duration and Stop rule.

✅Quick check

What's a guardrail metric?

Show the answer

A metric that must not get worse, such as order value or refunds, while the primary metric is tested.

Why randomise by visitor rather than by page view?

Show the answer

So each person sees one version throughout, and results aren't mixed.

← BackDM7
ProLearners Assist