Problem
A retail loyalty team can run one experiment from a pool of candidate points mechanics, such as extra cashback on fruit and vegetables, on Swiss chocolate or on in-house baked goods. A mechanic aimed at a narrow premium assortment reaches a niche audience. An effect found there may not scale to the full customer base. The team needs one number for the distance between each pilot audience and all customers.
Example from the article: three cashback mechanics (fruit and vegetables, Swiss chocolate, in-house baked goods); the authors expect the chocolate audience to be the most specific, and want to drop the two most specific mechanics and run the one closest to the general population.
Solution in brief
Compare the distribution of a customer feature in each pilot audience with the same distribution for all customers using the Jensen-Shannon (JS) divergence, which is symmetric and bounded between 0 and 1. The mechanic with the lowest JS value is the most representative and should give the most scalable effect. Simulated A/A tests give the noise level: its 95th percentile is about 0.1.
Questions this case answers
- How to choose one pilot among several candidate interventions so that the observed effect extrapolates to the whole population
- How to quantify the similarity of a subgroup's distribution to the population distribution with a bounded, symmetric score
- How to choose which of several candidate promo mechanics to pilot when only one experiment is allowed?
- How to measure how representative a pilot audience is of the whole customer base?
Tools and methods
- Jensen-Shannon divergence — symmetric, bounded score of how different two distributions are.
- Kullback-Leibler divergence — the asymmetric, unbounded building block of JS.
- A/A simulation — repeated draws from one distribution to get the noise level of the metric.
- NumPy, SciPy — histograms and entropy for the computation.
Google or a one-time email code. No password.
