Sub topic 3
Writing a hypothesis and a success threshold before you start
This chapter assumes you know what a customer segment is, have seen a simple signup form, and can work with percentages. It covers the step between finding your riskiest assumption and running any test: turning that assumption into a statement that can fail.
Why decide the threshold first
Suppose you run a landing-page test and get 18 signups from 400 visitors. That is 4.5%. Is that good? If you decide after seeing the number, you will find a reason to call it good. A 4.5% rate feels like a win if you hoped for 3% and a loss if you hoped for 10%. The data did not change. Your opinion did.
Setting the success threshold before the test removes that freedom. The threshold is the result that would make you continue. The failure line is the result that would make you stop or change direction. You write both down, with the date, before any visitor arrives.
The parts of a good hypothesis
A hypothesis for an MVP experiment has five parts:
- Segment. Who you are testing with, such as freelance designers who invoice more than five clients a month.
- Action. One observable behavior, such as joining a waitlist or paying a deposit. Opinions and compliments do not count.
- Threshold. The rate or count that counts as success, such as at least 5% of visitors.
- Sample. How many people you will show the test to, such as 400 visitors from one traffic source.
- Deadline. When the test ends, such as 14 days after launch.
A weak hypothesis: "People will like our invoicing tool."
A strong hypothesis: "At least 5% of freelance designers who see the landing page will join the waitlist within 14 days, out of at least 400 visitors."
The strong version can be wrong. That is what makes it useful.
Choosing a threshold
A threshold should come from your business model, not from a guess. Work backward from what you need.
- If you need 100 paying customers and expect 1 in 5 waitlist members to pay, you need 500 signups.
- If a visitor costs you about $1.50 in ads and you can afford $30 to acquire a customer, you need roughly 1 in 20 visitors to become a customer.
Then set two lines rather than one:
| Result | Decision |
|---|---|
| At or above the success threshold | Continue to the next experiment |
| Between the lines | Inconclusive: change one thing and rerun, or collect more data |
| At or below the failure line | Stop, or change the idea |
The middle band is honest. Many real results land there, and it stops you from treating a near miss as a win.
Recording the hypothesis
Keep the hypothesis somewhere that records when you wrote it, such as a dated file in version control. This script checks a result against a pre-registered plan. It uses the Wilson interval, which gives a range for the true rate and behaves well with small samples.
import math
def wilson_interval(successes, n, z=1.96):
if n == 0:
return (0.0, 0.0)
p = successes / n
denom = 1 + z**2 / n
centre = (p + z**2 / (2 * n)) / denom
margin = z * math.sqrt(p * (1 - p) / n + z**2 / (4 * n**2)) / denom
return (centre - margin, centre + margin)
plan = {"success": 0.05, "failure": 0.02, "min_visitors": 400}
def decide(successes, visitors, plan):
if visitors < plan["min_visitors"]:
return "keep running: sample too small"
low, high = wilson_interval(successes, visitors)
if low >= plan["success"]:
return "continue"
if high <= plan["failure"]:
return "stop"
return "inconclusive"
print(decide(18, 400, plan))With 18 signups from 400 visitors, the interval runs from about 2.9% to 7.0%. The lower end is below the 5% threshold and the upper end is above the 2% failure line, so the result is inconclusive. A bare "4.5%" would have hidden that. The next chapters cover how to read intervals in more detail.
Common errors
- Several actions at once. "Sign up or share or comment" lets almost any result look like success. Pick one action.
- A threshold with no reasoning. "10% sounds good" gives you nothing to defend. Derive it from costs and goals.
- No sample size. A 50% rate from 4 visitors is not evidence.
- Counting friends. Your own network inflates the rate. Define the segment and the traffic source in advance.
- No failure line. Without one, every result is "promising."
Exercise
You plan a landing-page test for a tool that helps dog walkers schedule clients. Write a hypothesis with all five parts (segment, action, threshold, sample, deadline), and name one decision you would make if the result fell between your success and failure lines.
Show answer
Example: "Among independent dog walkers reached through a local pet-business Facebook group, at least 6% of at least 500 visitors will join the waitlist within 10 days. Below 2% we stop or rethink the idea." A result between the lines, such as 4%, is inconclusive. A valid decision is to change one element, for example the headline, and rerun with a new sample of at least 500 visitors, or to extend the test to collect more data. Any answer is valid if it names one segment, one action, a number for each line, a sample size, a deadline, and a specific follow-up for the middle band.