Case 54: An A/B test with mixed results, ship or wait?
A teaching case on a checkout redesign test: a small overall gain, a wide margin of error and opposite results on mobile and desktop. Decide whether to ship.
The result everyone hopes for from an experiment is a clear win: the new version beats the old one by a wide margin and the numbers say so. The result that arrives more often is messier. The new version looks a little better overall, the margin of error is larger than the gain, and when the data are split by device the story turns into two different stories. A team that was promised an answer then has to decide with an answer that is not one. This case puts you in that position at an e-commerce company with a checkout redesign. You will practise reading a difference in conversion rates with its margin of error, asking what the data can and cannot rule out, checking whether an overall result hides opposite results in different groups, valuing the choices in rupees and designing the next step so that the decision is better the second time.
This is a composite case. Bazaarkart, its people and its figures are invented for teaching, built on patterns common among Indian e-commerce companies. No real company is described, and no number here should be quoted as a fact about any real firm.
The decision
Rhea Kapoor, head of product at Bazaarkart, has a Monday meeting at which her team must say whether to roll out a redesigned checkout page to all customers. The test ran for four weeks. The designer says it is a win. The data scientist says it is "not significant". The head of engineering has already scheduled a release for the following week. Rhea has to decide whether to ship to everyone, ship to some customers, extend the test or drop the idea, and explain why in terms the chief executive will accept.
Background
The test. Bazaarkart randomly showed visitors either the old checkout (the control) or the new one (the variant). Each group had 60,000 visitors. The measure that matters most is conversion: the share of visitors who complete a purchase.
The topline result.
Group · Visitors · Orders · ConversionControl (old checkout) · 60,000 · 2,100 · 3.50%
Variant (new checkout) · 60,000 · 2,190 · 3.65%
The variant converts 0.15 percentage points more, 90 more orders in 60,000 visitors. That is a relative improvement of 4.3 per cent.
The size of the business. Bazaarkart gets about 2,000,000 visitors a month, and an average order is worth about ₹1,200. Seventy per cent of visitors use a phone and 30 per cent use a desktop or laptop.
What the redesign changes. The new checkout shows fewer fields, uses a one-page layout and moves the payment options higher. These are changes that should help on a small screen and could get in the way on a large one, where people are used to the old multi-step layout.
The numbers
Exhibit 1: how sure can we be of the topline?
A difference between two conversion rates comes with a margin of error because each group is a sample of visitors, and a different sample would give a slightly different result. The standard error of the difference here is about 0.107 percentage points. A 95 per cent confidence interval is the difference plus or minus 1.96 standard errors.
Measure · ValueObserved difference · +0.150 points
Standard error · 0.107 points
95% confidence interval · −0.060 to +0.360 points
Two-sided p-value · 0.16
Chance the variant is truly better (rough) · about 92%
The interval includes zero. The data are consistent with the new checkout being a little worse (−0.06 points) or quite a lot better (+0.36 points). The p-value of 0.16 says that a difference this large would arise about one time in six by chance alone if the two checkouts were identical. By the usual rule, it is not statistically significant. But the data lean towards a gain: about a 92 per cent chance, on a simple reading, that the true effect is positive.
Exhibit 2: the same test split by device
Rhea's analyst splits the visitors by device. Seventy per cent of each group were on a phone.
Group · Control · Variant · Difference · Standard error · zMobile (42,000 per arm) · 3.00% · 3.45% · +0.45 points · 0.12 · 3.7
Desktop (18,000 per arm) · 5.17% · 4.62% · −0.55 points · 0.23 · −2.4
All (60,000 per arm) · 3.50% · 3.65% · +0.15 points · 0.107 · 1.4
On mobile, the new checkout is a clear win: +0.45 points, with a z of 3.7, which is very unlikely to be chance. On desktop it is a clear loss: −0.55 points, z of −2.4. The overall +0.15 is a blend of a good result on 70 per cent of traffic and a bad result on 30 per cent.
Exhibit 3: what each choice is worth
Convert the differences into orders and rupees on 2,000,000 visitors a month, at ₹1,200 an order.
Mobile: 1,400,000 visitors × 0.45 points = +6,300 orders a month, worth ₹75.6 lakh.
Desktop: 600,000 visitors × −0.55 points = −3,300 orders a month, worth −₹39.6 lakh.
Choice · Orders a month · Revenue a monthShip to everyone · +3,000 · +₹36.0 lakh
Ship to mobile only · +6,300 · +₹75.6 lakh
Do not ship · 0 · 0
Shipping to everyone gains ₹36.0 lakh a month. Shipping to mobile only gains ₹75.6 lakh, more than twice as much, because it avoids the desktop loss.
Questions to consider
1. What does the confidence interval of −0.06 to +0.36 points tell you that the number +0.15 does not?
2. Is "not significant" the same as "no effect"? What would you say to the designer who thinks it is a win and the data scientist who thinks it is nothing?
3. Why do the mobile and desktop results differ, and why does the topline hide the difference?
4. What is the risk of looking at the data by device after the test has run? How would you guard against it?
5. What is each choice worth in rupees a month, and what does a wrong decision cost?
6. What would you recommend, and what would you do next to settle the doubt?
Analysis
Step 1: read the interval, not just the p-value
The headline of the test is "+0.15 points, p = 0.16". A team that reads only the p-value will say that the result is not significant and drop the idea. A team that reads only the point estimate will say that conversion is up 4 per cent and ship. Both are reading half the evidence.
The confidence interval gives the range of effects that the data cannot rule out. Here it runs from −0.06 to +0.36 points. At the low end, the new checkout loses about 1,200 orders a month on the full traffic (2,000,000 visitors × 0.06 points). At the high end it gains about 7,200. The asymmetry is clear: the downside is small and the upside is more than five times as large. A sensible reading is that the new checkout is more likely than not to help, and unlikely to hurt much.
"Not significant" means the data do not rule out zero. It does not mean the effect is zero. A test with 60,000 visitors per group is only able to detect differences of about 0.2 points or more reliably. An effect of 0.15 points is real and valuable, worth ₹36 lakh a month, but too small for this test to confirm.
Step 2: a result that is an average of two stories
The more important finding is in Exhibit 2. When the visitors are split by device, the new checkout has a strong positive effect on mobile and a strong negative effect on desktop. An overall number of +0.15 is the weighted average of +0.45 (70 per cent of traffic) and −0.55 (30 per cent): 0.7 × 0.45 + 0.3 × (−0.55) = 0.315 − 0.165 = 0.15.
This is called heterogeneous effects: the same change helps some people and hurts others. The average is correct and also misleading, because no actual visitor experiences the average. A mobile user sees a better checkout. A desktop user sees a worse one. If Bazaarkart ships to everyone, it makes 70 per cent of its customers happier and 30 per cent unhappier, and the overall gain is a small number that conceals both.
The reason is plausible. A one-page layout with fewer fields suits a small screen where scrolling is costly. On a large screen, people may have preferred the familiar multi-step flow, or the compressed layout may hide information they used to see. The team can look at the page and form theories. They should treat these as hypotheses to test, not as findings.
Step 3: the danger of cutting the data afterwards
There is a problem with looking for subgroups after a test. If you split a test by enough variables (device, city, age, new or returning, time of day, payment method), some subgroup will show a significant result by chance alone. At the 5 per cent level, one split in twenty will look significant even if the true effect is zero. This is the multiple comparisons problem, and it is a common source of false wins.
Here the device split has three things in its favour. It is a natural split suggested by the design: the redesign was for small screens, so a difference by device is expected before looking at the data. It is large: z of 3.7 on mobile would arise by chance about 2 times in 10,000. And it is internally consistent: the effect is positive on one device and negative on the other, in the direction the design theory predicts. It is much more credible than a finding that the redesign works for left-handed visitors in Pune on Tuesdays.
Even so, the right conclusion is not "the effect is certain" but "the effect on mobile is very likely real and the effect on desktop is likely real". The next step is to confirm it in a new test, planned in advance, with the device split as the primary question.
Step 4: value the choices
At ₹1,200 an order, the three choices are worth +₹36.0 lakh, +₹75.6 lakh and 0 a month. Shipping to mobile only is the best of the three and uses the strongest finding in the data. The cost of being wrong is also instructive.
If the mobile gain is real and Rhea waits for a clean confirming test of four weeks, she loses about ₹75.6 lakh × 1 month = ₹75.6 lakh of delay. That is the cost of waiting, and it is real.
If the mobile gain is not real (a fluke) and she ships, the loss is at most small, because the downside of a mobile checkout that is no better than the old one is nearly zero. The worst case at the lower end of the mobile interval (+0.45 − 1.96 × 0.12 = +0.21 points) is still positive.
If she ships to everyone and the desktop loss is real, she gives up ₹39.6 lakh a month, more than half the mobile gain. The desktop interval is −0.55 ± 0.45, which runs from −1.0 to −0.10 points, entirely negative.
So the two sides are not symmetric. Shipping to mobile only has little to lose and ₹75 lakh a month to gain. Shipping to everyone risks a ₹40 lakh a month loss that the data point to. Not shipping gives up ₹75 lakh a month. The expected-value reasoning favours mobile only.
Step 5: design the follow-up
Rhea should not simply decide and move on. She can use the rollout as a better experiment.
Roll out to mobile with a holdout. Ship the new checkout to 90 per cent of mobile visitors and keep 10 per cent on the old one. This costs 10 per cent of the gain and gives a continuing, large-sample confirmation of the effect.
Keep desktop on the old checkout and test a redesign that is made for large screens. The same idea of fewer fields may work if the layout is adapted.
Pre-register the question. Write down before the next test that the primary measure is conversion by device and that the decision rule is "ship where the interval is above zero".
Watch other measures. Conversion is not the only outcome. Average order value, returns, payment failures and customer support contacts could move too. In the topline data, the variant had a slightly lower average order value (₹1,180 against ₹1,240), so revenue per visitor was about ₹0.33 lower for the variant (₹43.07 against ₹43.40), the opposite direction from conversion. This needs a check: a checkout that gets more people to buy small orders is not always a gain. Rhea should compute revenue per visitor by device and see if the mobile result survives.
Plan the sample. For a 0.15 point effect to be detected reliably, each group needs roughly 200,000 visitors. The next test should be sized for the effect that matters.
Step 6: the recommendation
Rhea might say: "We are not shipping to everyone. The overall gain of 0.15 points is smaller than our margin of error, and it is the average of a clear gain on mobile and a clear loss on desktop. We will ship the new checkout to 90 per cent of mobile visitors, keep desktop on the old one, and run a desktop-specific redesign. We expect about ₹70 lakh a month from mobile. The risk is that the mobile effect is smaller than measured, or that average order value falls, so we will track revenue per visitor weekly and review in a month."
This answer commits to an action, explains what the data do and do not show, states a risk and says what will be checked.
What happened
This part of the case is an illustrative epilogue, not a real outcome.
Bazaarkart shipped the new checkout to 90 per cent of mobile visitors. Over six weeks, the mobile conversion gain in the rollout was +0.38 points, a little below the test's +0.45 but well above zero, and revenue per visitor rose by 0.9 per cent after a small fall in order value was counted. The team tested a desktop version with a two-step layout and found a gain of +0.12 points, not significant, and kept desktop on the old design. The head of engineering accepted the plan after it was shown that shipping to everyone would have given up about ₹39 lakh a month.
Key takeaways
Read the confidence interval, not just the p-value. The interval of −0.06 to +0.36 points included zero, so the data could not tell a gain from no change, though they leaned towards a gain.
"Not significant" does not mean "no effect". A test of 60,000 visitors per group cannot reliably detect a gain of 0.15 points.
An average can hide opposite effects. The new checkout added 0.45 points on mobile and lost 0.55 on desktop, averaging +0.15.
Subgroup results from a test are hypotheses unless they were expected in advance, are large and are consistent. The device split was.
Value the choices in rupees: shipping to everyone +₹36.0 lakh a month, mobile only +₹75.6 lakh, and the desktop loss −₹39.6 lakh.
Ship in a way that keeps testing: a rollout with a holdout, a separate redesign for desktop and a pre-agreed decision rule.
Check other measures such as order value and revenue per visitor before calling a result a win.
Try this
Analyse an experiment of your own. Set aside forty-five minutes.
1. Choose a test you have run or could run: a page change, a message, a price or a feature. Write the visitors and the conversions in each group.
2. Compute the difference, its standard error and a 95 per cent interval. Use the simulator pattern. Say what the interval rules out.
3. Split the result by one natural subgroup that you expected in advance, and compute the difference in each.
4. Convert each possible decision (ship to all, ship to a subgroup, wait, drop) into money per month, including the cost of being wrong.
5. Design the next step: a rollout with a holdout, a sample size for the effect that matters and a decision rule written in advance.
6. Write a five-sentence recommendation: the decision, the numbers, the main risk, what you will monitor and what would change your mind.
A good result is a difference with its interval, a subgroup analysis that was planned, a rupee value for each choice and a follow-up that is sized and has a decision rule. Case 55 turns to the question that comes before every test: which of many ideas deserves a team's limited time.
Tags: Case study A/B testing Experiments Confidence intervals Segmentation