Judging a grocery promotion from household spend
One public panel of 2,469 grocery households, five ways to read one campaign, and eleven predictions written before any group was compared.
The data, the five reads and the weak spot of each. Then the predictions with their scores, the checks and the downloads.
In plain words
A grocery chain sends a promotion to some of its loyalty-card households. Seven weeks later someone asks what it did. The quick answer puts the households that got it next to the ones that did not. They spent far more. But they already spent more before it, so that gap says little about the promotion.
The fair answer is a holdout: pick the households, then hold back a random share. Nobody kept one here. So this study asks how close the reads that do not need one get, and how we would know.
The data is real and public. It covers 2,469 households that shop often at one chain, every receipt for a year, and which of 27 campaigns each received. It does not say how households were picked.
- Picked households
- the 1,075 households that received campaign 8 and shopped at least once before it.
- Naive read
- picked households' spend during the campaign minus everyone else's.
- Matching
- pairing each picked household with the five others nearest to it on spend and visits before.
- Difference in differences
- each group's change from before to during, and the difference between the two changes. It removes a steady gap between groups, not a changing one.
- Weighted mix
- a blend of other households, weighted to track the picked ones before the campaign (a synthetic control).
- Made-up date
- a start date when nothing was sent. Any lift found there is the read's own error (a placebo).
- Holdout
- a random share of the picked households that does not get the campaign.
- 95% interval
- a range built to hold the true lift 95% of the time. Most here come from resampling the households. The two matching reads use one built for matching.
- Break-even lift
- the extra weekly spend per household at which the campaign's margin just pays for reaching it.
Data
The 84.51° grocery panel published in the completejourney R package under CC0, files pinned to one commit of its repository and checked by hash. Spend is the field the data calls the amount the retailer receives from a sale. A visit is one basket. Weeks are the data's own weeks, each starting on a Monday.
Campaign 8 ran from 8 May to 25 June 2017, weeks 20 to 26. The weeks before are weeks 2 to 19 (week 1 is a single day). Picked: the 1,076 households listed for it, less one with no visit before it. Others: every household not listed for it, less 65 that got another campaign in those weeks and 126 with no visit before it, leaving 1,202.
The five reads, and the weak spot of each
- Naive read: picked against the rest, during the campaign. Weak spot: who was picked.
- Matched, during only: the five nearest others on spend and visits in two halves of the weeks before, then compared during. Weak spot: the nearest are still lighter shoppers, and a few weeks' spend is a noisy guide to a household's usual level.
- Change against the rest: each group's change from before, differenced. Weak spot: it needs the two groups to move in step without the campaign.
- Change against matched: the same, against the matched households. Weak spot: matched partners chosen on a few good weeks drift back down.
- Weighted mix: other households split into 40 groups by spend, blended to track the picked ones before. Weak spot: with 18 weeks to fit, the blend can fit noise.
Intervals: households resampled with replacement, picked and others separately, every read re-run each time, 1,000 times (500 for the weighted mix). The seed is fixed. For the two matching reads that resampling is not a sound basis. So an interval built for matching (the Abadie and Imbens standard error) was added after the results. It was declared before it ran, in the first change note, and changes no verdict. The second change note came the same way. It adds a read without households that had an earlier campaign. It also corrects matching for the gap it leaves (the Abadie and Imbens bias correction).
Predictions, written before any group was compared
7 of 11 held. The design expected a small real lift that the before-and-after reads agree on. The four misses say the reads do not agree, and the data cannot tell the lift from zero.
| Prediction | What it said | Result |
|---|---|---|
| Prediction 1 | Main read: matching, difference in differences and matched difference in differences each remove at least 50% of the naive lift (point estimates). | held |
| Prediction 2 | Main read: treated households' pre-period mean weekly spend is at least 30% above the comparison pool's. | held |
| Prediction 3 | Main read: the matched difference in differences 95% interval lies above zero. | missed |
| Prediction 4 | Main read: the matched difference in differences lift is between 1% and 10% of the treated households' counterfactual window spend. | held |
| Prediction 5 | Placebo: the naive read's lift on the fake date is at least 50% of its lift on the real date. | held |
| Prediction 6 | Placebo: the difference in differences and matched difference in differences 95% intervals both cover zero. | missed |
| Prediction 7 | Main read: the pre-period slope of the weekly treated-minus-comparison gap has a 95% interval covering zero, for both the full and the matched comparison. | missed |
| Prediction 8 | Main read: the synthetic control's pre-period root mean squared error is under 5% of the treated pre-period mean weekly spend, and its estimate lies inside the matched difference in differences 95% interval. | missed |
| Prediction 9 | Second campaign (first-time recipients of campaign 13): difference in differences and matched difference in differences each remove at least 50% of the naive lift. | held |
| Prediction 10 | Tiers: the top pre-spend tier has the largest naive lift of the five tiers but not the largest matched difference in differences lift. | held |
| Prediction 11 | Tiers: at base assumptions (28% margin, US$1.50 a household), at least one tier's matched difference in differences point estimate does not pay for its mail. | held |
Five more, written after the results and before the added checks ran. 5 of 5 held.
| Prediction | What it said | Result |
|---|---|---|
| Added 1 | With an interval built for matching, the change against matched households still finds lift on the made-up date. | held |
| Added 2 | With that interval, the change against matched households on the real promotion covers zero. | held |
| Added 3 | With that interval, matching compared during only still finds lift on the made-up date. | held |
| Added 4 | No read passes both checks, so the readout keeps a non-random comparison at keep testing. | held |
| Added 5 | Matching compared during only says send at every margin and cost tried. | held |
Six more for the second set of added checks, written before they ran. 5 of 6 held.
| Prediction | What it said | Result |
|---|---|---|
| Added 6 | Without earlier campaigns, the naive read is still above US$20 a week and below the gap before. | held |
| Added 7 | Without earlier campaigns, no before-and-after read has an interval wholly above the US$0.77 break-even. | held |
| Added 8 | Without earlier campaigns, the plain change read's drift before the promotion still excludes zero. | held |
| Added 9 | Corrected matching still says send at the base assumptions, and still finds lift on the made-up date. | missed |
| Added 10 | The corrected change against matched households still finds lift on the made-up date. | held |
| Added 11 | Without earlier campaigns, the change against matched households lies inside the made-up date's interval built for matching. | held |
Checks
- Tests plant a known lift in simulated households picked by their spend. The plain change read recovers it. The naive read and matching on levels overstate it. The matched change read lands above it, the same trap the made-up date shows on real data.
- Two more tests check the correction for the gap matching leaves. When spend is a straight line in the matching features, it removes the gap exactly. When households are picked by a lasting spend level, it removes most of the false lift but not all of it, as on the made-up date.
- Each read's drift check before the campaign, and the made-up date, are on the results and check pages.
- The downloads and the README's commands rebuild every number on these pages from the public source.
What went wrong
- The design expected the before-and-after reads to agree. They did not. The plain change read and the matched one sit US$6.16 a week apart, and each fails a different check.
- The weighted mix never tracked the picked households closely before the campaign. It was off by 10% of their weekly spend, because few other households shop as much as the heaviest picked ones.
- The made-up date needed households with no other campaign before the real one, which cut the picked group to 510.
- The first intervals for the two matching reads came from resampling households, which is not a sound basis for matching with replacement. The added interval built for matching changed no verdict.
- The weeks before were not free of campaigns: 565 picked households got an earlier one. The design did not plan for that. Leaving them out changed no call.
- Matching's send call did not survive the correction for the gap it leaves. Corrected, it says keep testing at the base assumptions, and it still finds US$4.79 on the made-up date.
Downloads and how to rerun
- data/weekly.csv.gz: spend and visits per household per week.
- data/campaigns.csv and data/campaign_descriptions.csv: who received each campaign, and when it ran.
- results/main-r1.json, results/placebo-r1.json, results/second-r1.json and results/summary-r1.json.
- protocol-r1.json, predictions-r1.json and assumptions.json: the plan, the predictions and the money assumptions, written before any group was compared.
- CHANGES-r2.md and results/change2-r2.json: the checks added after the results, declared before they ran, and their results.
- CHANGES-r3.md and results/change3-r3.json: the second set of added checks, declared before they ran, and their results.
- The README lists the commands that rebuild every file from the public source.
The summaryThe made-up date checkAll resultsThe lift readoutMethod and checks