Product and project management · Intermediate · 16 min
Design a product experiment with a hypothesis and a decision rule
By Padding · Updated 18 Nov 2026
Any document editor and an online sample-size calculator · November 2026
You will have a one-page plan for an A/B test of two reminder wordings, with a falsifiable hypothesis, a primary metric and guardrails, a sample size, a run length and a decision rule that says what the team does for every result.
On this page
Most product changes ship on a hunch and are judged on a feeling. An experiment replaces both with a plan written before any data exists: what you expect to happen, how you will measure it, how much data you need, and what you will do with each possible answer. The last part is the one teams skip, and it is the part that makes the test worth running. If the plan does not say what happens when the result is flat, the team will argue about it afterwards, and the loudest reading of the chart wins.
The running example is Larkfield Clinic, a fictional community clinic that has started sending SMS reminders the day before each appointment. The current reminder reads:
Larkfield Clinic: reminder of your appointment tomorrow at 10:30. Reply C to cancel.A receptionist suggests a second wording that tells patients what a missed slot costs other people and makes rebooking easy. The team wants to know if it reduces missed appointments. You will write the one-page plan for that test. If you have your own change to test, follow the same steps and keep the Larkfield figures as a guide to the level of detail each section needs.
The figures used here: Larkfield sees about 4,800 appointments a quarter, roughly 370 a week. Among appointments that get the current reminder, about 10% are still missed.
Step 1 · Write the hypothesis so it can be wrong
A hypothesis is a prediction that data could prove false. "The new wording will be better" cannot fail, because "better" is not defined. A useful hypothesis names the change, the people it affects, the measurable effect, and the reason you expect it.
Open a new document called Larkfield reminder experiment plan. Add a heading Hypothesis and write one sentence in this shape:
If we [change], then [measurable outcome] for [who], because [reason based on evidence].For Larkfield:
If we send the reminder that says the slot can go to another patient and offers a one-word reply to rebook, then the share of reminded appointments that are missed will fall from about 10% to 8% or lower, because front-desk notes show patients who miss appointments often meant to rebook but did not want to phone.Below it, write the opposite outcome in plain words: "The new wording makes no difference to missed appointments, or makes it worse." If you cannot imagine a result that would make you say the hypothesis was wrong, rewrite it until you can.
Then write the two variants exactly, character for character. A test of "the new wording" is only repeatable if everyone knows what the new wording was:
A (current): Larkfield Clinic: reminder of your appointment tomorrow at 10:30. Reply C to cancel.
B (new): Larkfield Clinic: your appointment is tomorrow at 10:30. If you cannot come, reply R to rebook and we will offer the slot to another patient.If your reminders go out in more than one language, write each language's version of both variants and have a fluent speaker check that B says the same thing in each. Also check the length: an SMS in the basic GSM-7 character set fits 160 characters, but one character outside the GSM-7 set, such as ê or ç in French, the dotted and tone-marked letters of Yoruba, or any Amharic script, switches the whole message to UCS-2, which fits only 70. Some accented letters, such as é, è and à, are in GSM-7, so test the real text rather than guessing. A variant that splits into two or three messages is a different experience on a basic phone, and it costs more to send.
Check it worked
Your document has a Hypothesis section with one sentence that names a change, an outcome with a number, who it applies to and why, plus one sentence describing the result that would prove it wrong, and both variants written out in full.
Step 2 · Choose one primary metric and the guardrails
The primary metric is the single number that decides the test. Pick one. If you pick three, one of them will move by chance, and someone will call the test a win on that one.
Add a section Metrics. Write:
- Primary metric: missed-appointment rate. The number of reminded appointments marked "did not attend" divided by the number of reminded appointments, per variant.
- Unit of randomisation: the patient. Each patient is assigned to A or B once and gets the same wording for every appointment during the test. Assigning by appointment would show some patients both wordings and blur the result.
Guardrail metrics are things the change must not damage, even if the primary metric improves. They do not decide a win. They can stop one. For Larkfield, write:
- Opt-out rate: share of patients who reply STOP or ask reception to stop reminders. A wording that annoys people and loses the reminder channel is not a win.
- Late cancellations: cancellations within two hours of the slot, which the clinic cannot refill.
- Phone calls to reception about reminders: counted from the front-desk call log, because the whole point was less phone work.
- Delivery failures: messages the SMS provider reports as not delivered, per variant. B is longer; if it fails more often, the test is measuring delivery, not wording.
For each guardrail, write the limit that would count as harm, for example "opt-out rate in B more than 1 percentage point above A".
Check it worked
The Metrics section names exactly one primary metric with its formula, states the unit of randomisation, and lists two to four guardrails, each with a number that counts as harm.
Step 3 · Set the smallest effect worth acting on
A test answers "is there a difference at least this big?", so you have to say how big first. This number, the minimum detectable effect, is a business decision, not a statistical one. Ask: what is the smallest improvement that would make changing the wording worth the effort and risk?
For Larkfield, the change costs little to ship, but every missed slot is roughly 15 minutes of a clinician's time. The practice manager says a drop from 10% to 8% (two percentage points, about seven fewer missed appointments a week) would justify the switch. A smaller drop would not be worth retraining reception on the new rebooking replies.
Add a section Effect worth acting on and write:
Baseline missed-appointment rate: 10% (last 8 weeks of reminded appointments).
Smallest effect worth acting on: a fall to 8% (2 percentage points absolute, 20% relative).
Agreed with: practice manager, 18 November 2026.Write down where the baseline came from. A baseline from a holiday month or a single clinic session will mislead the sample size in the next step.
Check it worked
The section gives a baseline with its source and dates, the minimum effect as both an absolute and relative change, and the name of the person who agreed it.
Step 4 · Work out the sample size and run length
With a baseline and a minimum effect, a sample-size calculator tells you how many patients each variant needs. Open Evan Miller's sample-size calculator (link at the end of this page) or the one your analytics tool provides, and enter:
- Baseline conversion rate: 10%
- Minimum detectable effect: 2%, set to absolute
- Statistical power: 80%
- Significance level: 5%
For these inputs, the standard two-proportion formula gives about 3,200 appointments per variant, roughly 6,400 in total. Your calculator may show a slightly different figure, because calculators differ in small details of the formula. Use the number it gives and write it down with the inputs.
The calculator treats every appointment as independent, but you randomise by patient (see Metrics), and a patient who books several times during the test tends to behave the same way each time. Counting all their appointments makes the result look more certain than it is. If many patients have more than one appointment in the period, count each patient once (for example, their first reminded appointment) or plan for a somewhat larger sample, and ask whoever analyses the result to account for repeat patients when computing the range.
Now turn that into time. Larkfield has about 370 reminded appointments a week, so 6,400 takes about 18 weeks once rounded up to whole weeks, more than four months, long enough for a new clinic timetable or a holiday season to change the baseline underneath the test.
Add a section Sample size and duration and record the calculation:
Inputs: baseline 10%, MDE 2 points absolute, power 80%, significance 5%, two-sided.
Needed: about 3,200 per variant, 6,400 total.
Traffic: about 370 reminded appointments a week.
Repeat patients: counted once each (first reminded appointment), or analysis adjusted for them.
Run length: 18 weeks (17.3, rounded up to whole weeks).Always round up to whole weeks. Missed-appointment rates differ by weekday, and a test that stops on a Wednesday has seen more of some days than others.
Check it worked
The section lists the calculator inputs, the sample size per variant, your weekly traffic and a run length in whole weeks. Someone else can type the same inputs into a calculator and get a similar number.
Step 5 · Decide if an A/B test is the right tool
Eighteen weeks is a warning sign. When a test needs months to detect the effect you care about, you have three honest options, and pretending the traffic is higher is not one of them.
Accept a larger minimum effect. If you only look for a fall to 7% (three points), the same formula gives about 1,360 per variant, roughly 2,720 in total, which Larkfield reaches in about 8 weeks. The cost: if B really improves things by two points, the test will often miss it. Only choose this if a three-point drop is a result you would act on and a smaller one is not.
Test something else first, without an A/B test. Show both wordings to six to eight patients in the waiting room and ask what each message asks them to do and what happens if they reply R. Five minutes each tells you if B is understood, if "rebook" is clear in every language you send, and if the rebooking reply works on a basic phone. This will not measure missed appointments, but it can catch a wording that confuses people before you spend months on it.
Make the decision without a test. If both wordings are reasonable, B costs nothing extra and the risk is low, ship B, watch the missed-appointment rate and guardrails against the baseline for eight weeks, and write down that this is monitoring, not proof. A before-and-after comparison cannot separate the wording from everything else that changed, so do not report it as a measured effect.
Add a section Why an A/B test and write which option you chose and why. For Larkfield, the team runs the waiting-room check first, then the A/B test with a three-point minimum effect over 8 weeks, and records that a smaller real effect may go undetected.
As a rough rule, if your traffic cannot reach the sample size within about two business cycles (for Larkfield, two four-week clinic rotas), treat that as a reason to change the plan, not to run longer and hope.
Check it worked
The Why an A/B test section states the final minimum effect, the final sample size and run length, and one sentence about what this design cannot detect. If you changed the minimum effect, the Effect worth acting on section matches it.
Step 6 · Write the decision rule before any data arrives
This is the section that makes the plan useful. For every result the test can produce, write what the team will do. Write it now, while nobody has a favourite.
Add a section Decision rule with a table like this:
Result at the end of week 8 | What we do
----------------------------------------------------|-------------------------------------------------
B lowers missed rate by 3 points or more, | Switch all reminders to B. Retrain reception
difference is significant, no guardrail breached | on R replies. Review the rate after 8 weeks.
B lower, but by less than 3 points or not | Keep A. Record the estimate and its range.
significant | Do not rerun the same test for 6 months.
No difference | Keep A. Try the next idea on the list.
B higher missed rate | Keep A. Record why we think B failed.
Any guardrail breached at any point | Stop B, keep A, investigate before any rerun.
Sample short of 2,720 at end of week 8 | Run whole extra weeks, up to 2, then decide
| on what we have, treating it as "not significant".Then add two lines under the table:
- Who decides: the practice manager, using this table, within one week of the end date.
- When we look: the primary metric is checked once, at the end. Guardrails are checked every Monday, because a guardrail breach stops the test whatever the primary metric says.
That second line handles the peeking problem. If you check the primary metric every few days and stop the first time the difference looks significant, chance alone will give you a "winner" far more often than the 5% you planned for. Each look is another roll of the dice. Either look at the primary metric only at the planned end, or use a test designed for repeated looks (a sequential or Bayesian design, which many experimentation tools offer) and write that method into the plan instead.
Check it worked
Read each row of the table and ask "what does the team do on Monday morning if this happens?" Every row has a concrete action, including the flat result, the negative result, a guardrail breach and a short sample. The plan also names who decides and when the primary metric is looked at.
Step 7 · Fit the plan on one page and get it signed off
Trim the document to one page in this order: hypothesis and variants, metrics, effect worth acting on, sample size and duration, why an A/B test, decision rule. Add a header line with the start date, end date, owner and the date the plan was agreed.
Send it to the people who will act on the result: for Larkfield, the practice manager, the engineer who sets up the random assignment, and the reception lead. Ask each one to reply with any row of the decision rule they would not follow. Fix those rows now. A plan someone has already said they will ignore is not a decision rule.
Before the start date, ask the engineer to send ten test reminders to staff phones from each variant and confirm assignment is stable: the same staff number gets the same variant every time.
Once the test starts, do not edit the hypothesis, the primary metric, the minimum effect or the decision rule. If something forces a change, write the change, the date and the reason at the bottom of the page, so the final report can say what was planned and what was changed.
Check it worked
You have one page with a header (dates, owner, agreed date), all six sections, a reply from each person who acts on the result, and a note that test reminders reached staff phones with stable assignment.
Next steps
When the test ends, apply the decision rule as written and report the estimate with its range, not only "significant" or "not significant". Then put the next idea on the list through the same plan.
- Pick the measures this test should protect or improve with choose UX metrics with the HEART framework.
- Find which belief behind the change is riskiest before you test it with map and rank your design assumptions.
- Measure the earliest sign that a new product is working with define and measure activation for a new product.
Sample-size calculator used in this tutorial: Evan Miller's A/B test sample size calculator.
Related tutorials
- Write user stories with clear acceptance criteriaYou will have five user stories for a clinic's reschedule feature, each checked against INVEST and carrying Given / When / Then acceptance criteria that a developer and a tester read the same way.
- Write tickets developers want to pick upYou will rewrite three vague backlog tickets into ones a developer can start without asking a question, and save the structure as a ticket template in your tracker.
- Write a weekly stakeholder update people readYou will have a reusable weekly update template and one finished update under 250 words, whose first two lines tell any reader whether they need to act.
Need this done for you?
Padding does this work for growing companies, from the first diagnosis to a system that keeps working.
Get new tutorials