Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Synthetic data

City launch without an A/B test: a checkout option

In a simulation, a checkout test that held out visits instead of shoppers read a planted +6% conversion lift as +23.82% when held-out buyers came back later.

Main limitation The merchants are synthetic and I wrote the simulation, the reads and the faults, so the holdout recovers the lift by construction and each fault breaks the reads I built it to break: the share of held-out buyers who put off the purchase (15%) is mine, and a sale at launch or already growing merchants pushed comparison merchants 4.2 to 6.5 points high. The fee, margin and share paid over time are assumptions that the business-case calls follow from, so this shows how each read behaves, not what any real checkout option adds.

30 of 60 synthetic online merchants switch on a pay-over-time option at checkout on staggered weeks, and the option lifts conversion by 6% and order value by 4%. I ran 200 launches through six scenarios and five reads, then put each read into the business case a merchant would see: extra gross profit against a fee on every order paid over time. At a 12% fee, where the planted lift does not pay, the comparison reads said adopt in 123 to 196 of 200 launches with a sale at launch or growing merchants; in the same scenarios the per-shopper holdout said adopt in 1 to 3. My recommendation: hold out shoppers, not visits, write the break-even down before the test, and decide from the interval.

Key figures
Holdout, per shopper+6.00%average read of the +6% conversion lift in the base case; within 2 points in 194 of 200 launches and its 90% interval held it in 182; it recovered every outcome in every scenario, which randomization guarantees in a simulation like this oneComparison merchants+5.95%average read in the base case (synthetic control +5.91%); right on average in four scenarios, but its 90% interval held the planted lift in only 147 of 200 (synthetic control 150), short of the 180 a 90% interval promisesSale at launch+12.54%comparison merchants' average read of the +6% conversion lift when each launcher also ran a two-week sale (synthetic control +12.02%), and +1.52% order value against +4%; growing merchants pushed the two conversion reads to +10.24% and +12.33%Holdout per visit, delayed purchases+23.82%its average conversion read when 15% of held-out buyers put off the purchase and 80% of them came back to a visit that showed the option; the same test randomized per shopper read +6.00%
The holdout randomized per shopper sits inside the shaded band in every scenario. The comparisons sit in it until a sale at launch or growing merchants push them to the right; the naive read is off everywhere, and the holdout randomized per visit breaks when held-out shoppers come back later to buy.

Average error over 200 synthetic launches per scenario, in percentage points of lift: the read minus the planted lift (+6% conversion, +4% order value). Shaded band: within 1 point.

Conversion, points of lift

Base case
No lift
Holiday season
Own sale at launch
Growing merchants
Delayed purchases

Order value, points of lift

Base case
No lift
Holiday season
Own sale at launch
Growing merchants
Delayed purchases

The same numbers, with every count, are in the tables below.

In plain words

An online merchant switches on an option that lets shoppers pay for an order over time. Whoever offers it to merchants has to show them what it is worth: more shoppers who finish checking out (conversion), larger orders (order value), or both, against a fee the merchant pays on every order paid that way. The cleanest evidence is a holdout inside the merchant: some shoppers never see the option, chosen at random. Often there is none, because the merchant switched it on for everyone, so the only evidence is the merchant's own before and after, and merchants that did not switch it on.

This page asks how close three reads without a holdout get to the truth, which situations break each of them, and what happens to a merchant's business case when it is built on each. The answer, in the scenarios I built: comparing launchers with merchants that did not launch gets the average right when nothing else changes at launch, with intervals that are too narrow; a sale at launch or merchants that were already growing push it well above the truth, and the business case then says adopt at a fee where the option loses money.

The data stands in for merchants adopting a pay-over-time checkout option, launch by launch. It is synthetic so that no merchant or shopper data is shared, and because it is simulated the true lift is known, so every read can be scored against it.

Conversion
Orders divided by checkout sessions: the share of shoppers who start checking out and finish.
Order value
The average value of an order.
Revenue per session
Conversion times order value: what a checkout session is worth to the merchant.
Lift
The change the option causes, as a percentage of what the merchant would have had without it.
Holdout per shopper
A randomized test inside the merchant: one shopper in five never sees the option, on any visit.
Holdout per visit
The same test, randomized each visit, so one shopper can be held out on one visit and shown the option on the next.
Comparison merchants
Difference in differences: the launcher's change from before to after launch, minus the same change at merchants that never launched.
Synthetic control
A weighted mix of merchants that never launched, chosen so that before launch it moved the way the launcher did.
Placebo interval
An interval built by running the same read on merchants that never launched, where the true effect is zero.
90% interval and coverage
A range that should hold the true lift in 9 launches out of 10. Coverage counts how often it did, out of 200.
Break-even
The revenue-per-session lift at which the extra gross profit just pays the fees.

Which reads landed near the lift

60 synthetic merchants over 60 weeks; 30 switch the option on, each in one week, and the reads cover each launcher's first 8 weeks after launch. 200 launches per scenario: launch k has the same merchants, trends and shocks in every scenario, so the scenarios differ only in who launches and when, whether the option works, a sale at launch and delayed purchases. They are not independent samples. The design, the pass bar and 13 predictions were committed before any result was computed.

A bold cell recovers the lift: its average error is within 1 point and its 90% interval held the planted lift in 160 to 196 of 200 launches. About 180 is what a 90% interval promises.

Conversion: average error

Conversion: average error of each read over 200 launches, in percentage points of lift; in brackets, the launches it landed within 2 points, then the launches its 90% interval held the planted lift.

Conversion: error by read
ReadBase caseNo liftHoliday seasonOwn sale at launchGrowing merchantsDelayed purchases
The planted lift+6.00%0.00%+6.00%+6.00%+6.00%+6.00%
Naive before and after+3.23 (50, 58)+3.09 (50, 57)+12.25 (0, 0)+10.03 (0, 0)+5.40 (3, 6)+3.23 (50, 58)
Comparison merchants−0.05 (185, 147)0.00 (187, 148)+0.04 (166, 152)+6.54 (0, 0)+4.24 (1, 1)−0.05 (185, 145)
Synthetic control−0.09 (176, 150)−0.01 (183, 140)0.00 (168, 157)+6.02 (1, 0)+6.33 (0, 0)−0.09 (176, 153)
Holdout, per visit0.00 (194, 182) (recovers)−0.02 (196, 181) (recovers)+0.02 (197, 173) (recovers)−0.04 (198, 177) (recovers)−0.09 (193, 180) (recovers)+17.82 (0, 0)
Holdout, per shopper0.00 (194, 182) (recovers)−0.02 (196, 182) (recovers)+0.02 (197, 176) (recovers)−0.04 (198, 179) (recovers)−0.09 (193, 180) (recovers)0.00 (194, 180) (recovers)

Order value: average error

Order value: average error of each read over 200 launches, in percentage points of lift; in brackets, the launches it landed within 2 points, then the launches its 90% interval held the planted lift.

Order value: error by read
ReadBase caseNo liftHoliday seasonOwn sale at launchGrowing merchantsDelayed purchases
The planted lift+4.00%0.00%+4.00%+4.00%+4.00%+4.00%
Naive before and after+1.37 (145, 82)+1.39 (142, 81)+4.91 (12, 1)−1.10 (158, 115)+1.42 (139, 79)+1.37 (145, 81)
Comparison merchants−0.04 (200, 151)+0.04 (200, 148)−0.11 (196, 159)−2.48 (44, 8)−0.02 (199, 145)−0.04 (200, 150)
Synthetic control+0.07 (200, 158)+0.08 (199, 144)+0.01 (195, 159)−2.08 (92, 20)+0.01 (198, 153)+0.07 (200, 160) (recovers)
Holdout, per visit0.00 (198, 172) (recovers)−0.06 (197, 170) (recovers)−0.05 (195, 177) (recovers)+0.03 (196, 174) (recovers)−0.05 (198, 181) (recovers)0.00 (195, 169) (recovers)
Holdout, per shopper0.00 (198, 172) (recovers)−0.06 (197, 173) (recovers)−0.05 (195, 176) (recovers)+0.03 (196, 173) (recovers)−0.05 (198, 181) (recovers)−0.01 (195, 169) (recovers)

The synthetic control's order-value cell with delayed purchases sits on the 160 bar by chance: its estimate is the base case's, and its interval held the lift in 160 launches against 158 there only because the interval's random draws differ.

Revenue per session: average error

Revenue per session: average error of each read over 200 launches, in percentage points of lift; in brackets, the launches it landed within 2 points, then the launches its 90% interval held the planted lift.

Revenue per session: error by read
ReadBase caseNo liftHoliday seasonOwn sale at launchGrowing merchantsDelayed purchases
The planted lift+10.24%0.00%+10.24%+10.24%+10.24%+10.24%
Naive before and after+4.87 (30, 55)+4.53 (32, 50)+18.59 (0, 0)+9.16 (0, 1)+7.21 (4, 12)+4.87 (30, 55)
Comparison merchants−0.09 (165, 155)+0.04 (179, 152)−0.07 (146, 157)+4.01 (17, 31)+4.39 (3, 16)−0.09 (165, 154)
Synthetic control−0.07 (164, 154)−0.02 (167, 145)−0.10 (138, 152)+3.89 (27, 33)+7.32 (0, 1)−0.07 (164, 155)
Holdout, per visit0.00 (187, 183) (recovers)−0.08 (181, 178) (recovers)−0.03 (182, 177) (recovers)−0.01 (178, 174) (recovers)−0.15 (172, 167) (recovers)+18.53 (0, 0)
Holdout, per shopper0.00 (187, 181) (recovers)−0.08 (181, 177) (recovers)−0.03 (182, 177) (recovers)−0.01 (178, 176) (recovers)−0.15 (172, 166) (recovers)−0.02 (179, 181) (recovers)

What went wrong, and why

The merchant's business case

A merchant deciding whether to switch the option on weighs the extra orders and larger baskets against the fee it pays on every order paid over time, including orders it would have had anyway. Declared assumptions, not results and not any provider's prices: a gross margin of 35% of order value, 30% of orders paid over time, and a fee of 4%, 8% or 12% of each such order's value. Under them the option pays when revenue per session rises by more than 3.55%, 7.36% or 11.46%. The planted lift, +10.24% revenue per session, pays at the first two fees and not at the third.

The rule, written before any result: adopt when the net is above zero at the low end of the 90% interval for revenue per session, stop when it is below zero at the high end, and otherwise test longer.

Applied to one merchant with 50,000 checkout sessions a month (1,250 orders, US$112,500): the reference read of the first base-case launch, +9.41% revenue per session (+7.82% to +11.24%) and +6.09% conversion, gives about 76 more orders a month and US$3,705 more gross profit. At an 8% fee the fees take US$2,954 of that gain, so the net is +US$751 (+US$166 to +US$1,424): adopt. At 12% the net is −US$726 (−US$1,289 to −US$78): stop. The read pools 30 launching merchants; one merchant's own test would be wider.

One merchant's view, from the reference read of the first base-case launch: a merchant with 50,000 checkout sessions a month, 2.5% conversion and US$90 per order; ranges from the 90% interval.

One merchant's monthly case
LineRead (90% range)Fee a monthCall
Incremental orders a month76 (64 to 88)
Incremental gross profit a monthUS$3,705 (US$3,077 to US$4,427)
At a 4% fee+US$2,228 (+US$1,622 to +US$2,925)US$1,477Adopt
At an 8% fee+US$751 (+US$166 to +US$1,424)US$2,954Adopt
At a 12% fee−US$726 (−US$1,289 to −US$78)US$4,431Stop

Scored over 200 launches per scenario, in the base case: at the 8% fee the per-shopper holdout's case said adopt in 163, test longer in 37 and stop in 0. At 12% in the base case, where the planted lift does not pay, it said adopt in 2, stop in 56 and test longer in 142: the planted lift sits close to that break-even, so most launches could not tell after 8 weeks. With no lift it never said adopt. At 12% the naive read said adopt in 117 of 200 base-case launches and 200 in the holiday season, and the comparison reads in 123 to 196 with a sale at launch or growing merchants. A business case is only as good as the read under it.

Launches out of 200 where each read's business case said adopt, at two fees; in the no-lift scenario the option never pays, so any adopt there is wrong; a bold cell is a wrong adopt in more than half the launches.

Adopt calls by read and fee
Fee and readBase caseNo liftHoliday seasonOwn sale at launchGrowing merchantsDelayed purchases
At an 8% fee the planted lift pays (no lift aside): adopt is the right call
Naive before and after1931200200200192
Comparison merchants1300117200200129
Synthetic control1320120197200130
Holdout, per visit1620146154151200
Holdout, per shopper1630150156149151
At a 12% fee it does not pay: adopt is a wrong call
Naive before and after117 (wrong)0200 (wrong)196 (wrong)169 (wrong)117 (wrong)
Comparison merchants603123 (wrong)149 (wrong)7
Synthetic control208127 (wrong)196 (wrong)1
Holdout, per visit20113200 (wrong)
Holdout, per shopper201130

The calls move with the assumptions as much as with the read: the break-even lift below runs from 1.4% to 27.6% across the margins, shares and fees in the table.

The revenue-per-session lift a merchant needs before the option pays, by assumed gross margin, share of orders paid over time and fee.

Break-even lift by assumption
Assumption4% fee8% fee12% fee
Margin 25%, 15% paid over time+2.5%+5.0%+7.8%
Margin 25%, 30% paid over time+5.0%+10.6%+16.8%
Margin 25%, 45% paid over time+7.8%+16.8%+27.6%
Margin 35%, 15% paid over time+1.7%+3.6%+5.4%
Margin 35%, 30% paid over time (base)+3.6%+7.4%+11.5%
Margin 35%, 45% paid over time+5.4%+11.5%+18.2%
Margin 45%, 15% paid over time+1.4%+2.7%+4.2%
Margin 45%, 30% paid over time+2.7%+5.6%+8.7%
Margin 45%, 45% paid over time+4.2%+8.7%+13.6%

What a team should do with this

  1. Before launch, write the case down. The merchant's finance lead states the gross margin, the share of orders expected to be paid over time and the fee; the analytics lead turns them into a break-even lift and writes the adopt, test longer or stop rule. The rule reads the interval, not the point estimate.
  2. Hold out shoppers, not visits. The checkout engineer keys the holdout on a stable shopper id (an account, or a long-lived cookie) so a held-out shopper never sees the option on any visit, holds out one in five, and logs the arm with every session. The per-visit split is the one that broke here.
  3. Launch clean. Marketing does not run a sale, a free-shipping week or an email push in the launch weeks. If one is planned, it runs in both arms of the holdout and is written into the readout; without a holdout, no comparison can remove it.
  4. Without a holdout, read two ways and check who launched. Run comparison merchants and a synthetic control side by side, say when they disagree, and compare the launchers' growth before launch with the merchants they are compared with. Put the calendar (sales, holidays) next to every read, and treat the interval as too narrow (advice beyond these results: here it held the truth about three times in four).
  5. One page to the merchant. Incremental orders and gross profit a month, the fee line, the net with its range, and the call, in the same format whether the news is good or bad. The account manager presents it; the analyst who built it is in the room.

Limits

Use this at your company

To run the same comparison on a launch of your own, paste this into an AI assistant along with your weekly merchant data.

This method comes from Diogo Travassos's study "City launch without an A/B test: a checkout option merchants switch on" (https://diogotravassos.dev/city-launch-without-ab-test/merchant-launch.html). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't.

Help me estimate what a checkout option changed for the merchants that switched it on, and whether it pays for a merchant after its fee.

Method:
1. Build one row per merchant and week: checkout sessions, orders, order value, whether and when the merchant switched the option on, and any sale, promotion or holiday that week. If there was a randomized holdout, add sessions, orders and value per arm.
2. If there was a holdout, use it as the reference: compare the shown arm with the held arm over the weeks after launch, pooled across merchants, for conversion (orders over sessions), order value and revenue per session. Check that it was randomized per shopper, not per visit; a per-visit split counts purchases that held-out shoppers put off to a later visit as lift.
3. Without a holdout, estimate the lift three ways: each launcher before against after; the same minus merchants that did not launch over the same weeks (difference in differences); and a synthetic control built from merchants that did not launch. Take intervals from running each method on merchants that did not launch.
4. Give every estimate a 90% interval.

Checks before trusting a result:
- List every sale, promotion and holiday in the weeks around each launch. A sale at launch reads as lift, and no comparison removes it.
- Compare the launchers' growth before launch with the merchants they are compared with. If launchers were already growing faster, every comparison overstates the lift.
- If the comparisons and the holdout disagree, trust the holdout and say so.
- Treat placebo intervals as a floor: in the study they held the truth less often than promised.

The business case:
- Write down the gross margin, the share of orders paid over time and the fee before looking at results, and compute the break-even lift in revenue per session.
- Adopt only when the low end of the interval clears the break-even; stop when the high end is below it; otherwise test longer.
- Report incremental orders and gross profit a month, the fee cost, and the net with its range, for one merchant of a stated size.

Report back: each method's estimate and interval for the three outcomes, which checks raised a concern, the break-even, and the call at each fee.

In your report, say which study you followed and link it: https://diogotravassos.dev/city-launch-without-ab-test/merchant-launch.html

Method and checks

Set in advance

The design, the protocol and the code that draws the merchants and computes every read were committed before any reported launch was run. 9 of the 13 predictions held. The four misses: the naive read was off in the base case too, because of the holiday peak; comparison merchants and the synthetic control were right on average but their intervals were too narrow, so they did not meet the bar; with growing merchants the synthetic control was further off than comparison merchants, not closer; and the holdout's interval was narrower than comparison merchants', not wider. The placebo intervals pair never-launchers with launchers in merchant order, not in launch order as the protocol specifies.

  1. The naive read is biased upward for conversion in the holiday, own-sale and growing cases, by more than 5 points in the holiday case: held.
  2. In the base case the naive read is right on average for conversion, but its interval holds the truth in fewer than 160 of 200: missed.
  3. Comparison merchants and the synthetic control recover all three outcomes in the base, no-lift, holiday and delayed-purchase cases: missed.
  4. With a sale at launch, both are too high for conversion by more than 3 points and too low for order value: held.
  5. With growing merchants, comparison merchants are too high for conversion by more than 2 points, and by more than the synthetic control: missed.
  6. The per-shopper holdout recovers all three outcomes in every scenario: held.
  7. With delayed purchases, the per-visit holdout overstates the conversion lift by more than 5 points; it recovers in every other scenario: held.
  8. In the base case the per-shopper holdout's interval for conversion is wider than comparison merchants': missed.
  9. In the base case at a 4% fee, the per-shopper holdout's case says adopt in at least 190 of 200 and stop in none: held.
  10. In the base case at a 12% fee, where the planted lift does not pay, it says adopt in at most 10 of 200: held.
  11. With no lift, it says adopt in at most 10 of 200 at every fee: held.
  12. With a sale at launch at a 12% fee, the comparison-merchant case says adopt in more than 100 of 200: held.
  13. In the holiday case at a 12% fee, the naive case says adopt in more than 100 of 200: held.
The synthetic merchants

60 merchants over 60 weeks. Weekly checkout sessions: a median of 10,500, spread across merchants by a log-normal with standard deviation 0.6, with weekly noise. Conversion: each merchant's level drawn between 1.5% and 4%; order value: a median of US$90, each order drawn from a gamma distribution. Each merchant's conversion drifts by its own trend (standard deviation 20% a year; order value 5%). A mild yearly season and a holiday peak in weeks 44 to 51 (conversion +15%, order value +6%, scaled per merchant), weekly shocks shared by every merchant and each merchant's own weekly shocks. 30 merchants launch, in weeks 20 to 48 (weeks 40 to 44 in the holiday case); the others never do. When the option works it multiplies each shopper's chance to order by 1.06 and each order's value by 1.04. Each launch is played twice from the same merchant, calendar and shocks: once with the option shown to every shopper, which the three comparisons read, and once with one shopper in five held out, the reference. In the base case the merchants converted 2.8% of sessions before launch, at about US$99 an order.

The reads and their intervals

All reads work on the log scale over each launcher's first 8 weeks after launch and are averaged over launchers. The naive read compares them with the launcher's 8 weeks before; comparison merchants subtract the same change at the 30 merchants that never launch; the synthetic control fits non-negative weights summing to one on those merchants over every week before launch. Their intervals are 90%: a bootstrap over launchers for the naive read; for the other two, placebo intervals, from running the same read on each merchant that never launched, at a launcher's launch week, with the others as its comparisons, and resampling 2,000 means. The holdouts compare the shown arm with the held arm, pooled over all launchers, with a bootstrap over launchers. With weekly counts the per-visit and per-shopper holdouts read the same draw of shoppers unless shoppers put off a purchase; their intervals use separate bootstrap draws. In the delayed-purchase fault, a buyer who comes back to a visit that shows the option adds an order but no session to the per-visit test's shown arm, which adds a little to that read's bias.

The business case

At a revenue-per-session lift x, the merchant's change in gross profit, as a share of its revenue without the option, is the margin times x minus the fee times the share paid over time times (1 + x). Margin 35%, share 30%, fees 4%, 8% and 12%: declared assumptions, not measured, and not any provider's prices. Adopt, stop and test longer follow the rule above; a right call is adopt when the planted lift pays at that fee or stop when it does not.

Reproduce it

Every launch replays from its seed with no network.

python3 -m merchant.run run SCENARIO # each of the six named in protocol-merchant-launch.json
python3 -m merchant.run summarise
python3 -m merchant.run check        # replays all 18,000 rows
python3 -m pytest tests/test_merchant.py tests/test_merchant_page.py
python3 site/render_merchant.py