Testing a Loyalty Discount Increase in a Ride-Share Marketplace
Statistics & ExperimentsModel answerLast updated
Design an A/B test to evaluate whether doubling a loyalty discount grows net revenue in a two-sided marketplace, covering experimental design, metrics, power analysis, and decision-making.
Background
A ride-share platform currently offers loyalty program members a 5% fare discount. The product team wants to raise that discount to 10%, expecting that cheaper rides will bring more trips and ultimately more net revenue. Before committing to the change globally, the team wants to run a controlled experiment in one city.
Net revenue is defined as: Total Fares − Discounts Applied.
Your Task
1. Experimental Design
Describe how you would structure an experiment to measure the causal effect of this discount change. Your design must address the two-sided marketplace problem: riders and drivers share the same supply pool, so changes to rider demand can spill over and affect untreated riders.
2. Metric Selection
Identify one primary (North Star) metric and at least two guardrail metrics you would track throughout the experiment. Justify each choice.
3. Power Analysis
Assume your baseline daily ride-volume standard deviation is 10% and you want to detect a 2% lift in ride volume. Without doing the full algebra, explain how sample size requirements shift when you:
- Tighten the significance threshold (lower alpha)
- Demand higher statistical power
- Find that variance is higher than expected
4. Decision Framework
Suppose the experiment concludes with a statistically significant increase in ride volume but no detectable change in net revenue. Walk through the considerations you would weigh before deciding whether to roll out the discount change.
What a Strong Answer Looks Like
A complete response will:
- Start with a quick break-even calculation to frame what the experiment actually needs to detect
- Clearly explain why standard user-level A/B randomization is problematic here and propose at least one alternative
- Define metrics precisely (not vaguely) and explain why each one matters
- Treat the power analysis as a reasoning exercise, not just a formula recitation
- Give a nuanced, structured recommendation when faced with ambiguous results
Hints
Hint 1
Before designing anything, work out the minimum ride-volume lift needed to keep net revenue flat. It's a one-line calculation and it completely frames the rest of the problem.
Hint 2
Think about what happens to driver supply when you give 50% of riders a deeper discount. Those treated riders request more rides, draw down shared supply, and raise wait times for untreated riders. That's a SUTVA violation — sketch at least two designs that avoid it.
Hint 3
'Net revenue neutral' doesn't mean the test gave you a clean zero. Check the confidence interval. A result spanning −4% to +4% is inconclusive, not a green light.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Step 0: Break-Even Math First
Before touching experimental design, figure out what the experiment actually needs to prove. Let F be the average gross fare for a member ride.
- Net revenue per ride today: 0.95F
- Net revenue per ride under the new discount: 0.90F
To hold member net revenue flat, volume must grow enough that:
(1 + L) × 0.90F = 0.95F → L = 0.95/0.90 − 1 ≈ 5.6%
The team expects a 2% lift. At that level, member net revenue would fall by roughly 3.4%:
1.02 × 0.90 / 0.95 ≈ 0.966
This one calculation reframes the entire problem. The discount pays off only if volume elasticity is much higher than projected, average fares rise (longer trips, more surge), or long-run retention effects more than compensate. Stating this upfront shows you understand what the experiment is actually trying to detect.
1. Experimental Design: Handling the Two-Sided Marketplace
Why naive randomization fails. Split members 50/50 into 10% vs. 5% discount groups. Treated riders request more trips and consume shared driver supply. That raises ETAs and surge for control riders, suppressing their demand. The measured treatment effect then overstates the real-world impact. This is a SUTVA (Stable Unit Treatment Value Assumption) violation — one unit's outcome depends on another unit's treatment.
Three design options, cleanest to simplest:
-
Switchback design (time × geography). Divide the metro into geographic clusters that rarely share drivers (e.g., hexagon groups). Randomize each cluster-time block (2–4 hour windows) to treatment or control. Everyone within a block experiences the same discount regime, so supply effects are captured within the unit rather than leaking across.
- Add buffer periods at block boundaries to limit carryover from drivers repositioning.
- Blocks must be long enough that riders aren't confused by a fluctuating promotion.
-
Geo-cluster randomization. Assign entire zones to treatment or control for the full experiment. Cleaner for measuring habit and retention effects, but fewer experimental units means lower statistical power.
-
Small-share user-level randomization. Treat only 5–10% of members. Spillover is minimal because treated riders are a small fraction of demand. Gives a clean elasticity estimate but doesn't capture the full equilibrium effect at scale.
Recommended approach: Run a user-level test to estimate rider elasticity and retention cleanly, alongside a switchback test to capture marketplace-level effects (ETAs, surge, fulfillment rate). Combine both for rollout projections.
Additional requirements: pre-register the analysis, run at least 2–4 weeks to cover weekly cycles and let novelty effects decay, and randomize at the user level (not ride level) so each member sees a consistent price.
2. Metrics
North Star: net revenue per member per week = (gross fares − discounts applied) / active members.
Why not net revenue per ride? That metric mechanically declines the moment the discount rises, even if the strategy is working. Volume has to be part of the picture, which is why normalizing by member count over time is the right framing.
For the switchback variant, use net revenue per cluster-hour including non-member rides, to capture supply spillover effects on the rest of the market.
Guardrail metrics:
- Fulfillment rate (completed rides / requested rides): drops if demand exceeds supply, signaling that growth is being left on the table or that non-members are being crowded out.
- Rider ETA and surge frequency for both members and non-members: a rising ETA for non-members is evidence of supply cannibalization.
- Driver earnings per active hour: sustained increases are a real benefit; sudden spikes that then collapse signal instability and potential driver churn.
Secondary checks worth tracking: cancellation rate, non-member ride volume, customer satisfaction scores, and any driver incentive costs needed to rebalance supply.
3. Power Analysis: Qualitative Relationships
For a two-sample test, sample size scales roughly as:
n ∝ σ² / δ²
with additional terms for the significance level (alpha) and desired power (1−β).
| Change | Effect on required n |
|---|---|
| Lower alpha (stricter significance) | Larger critical value → larger n |
| Higher power (1−β) | Larger critical value → larger n |
| Smaller detectable effect δ | n grows as 1/δ², so halving δ quadruples n |
| Higher variance σ | n grows proportionally with σ² |
At σ = 10%, δ = 2%, α = 0.05, power = 0.80, you need roughly ~390 units per arm.
Practical caveats that matter here:
- Net revenue has substantially higher variance than ride count. Powering on volume may leave the actual North Star metric underpowered.
- Given the break-even lift is ~5.6%, the decision-relevant question might be whether the lift exceeds 5.6%, not whether it exceeds 2%. That changes your δ and may actually reduce the required sample size.
- Cluster and switchback designs have fewer effective units. Inflate n by the design effect: 1 + (m−1)ρ, where m is cluster size and ρ is the intra-cluster correlation.
- Pre-experiment variance reduction (e.g., CUPED, using pre-period ride volume as a covariate) can reduce σ and cut required sample size meaningfully.
4. Decision Framework: Volume Up, Net Revenue Neutral
"Neutral" is not evidence of zero effect. Start by looking at the confidence interval. If it spans −4% to +4%, you don't have a conclusive result — you have an underpowered test relative to the decision threshold. Go back to the break-even math and be honest about what the data actually says.
Assuming the result is genuinely near zero, here's what to weigh:
Why revenue might look flat despite volume growth:
- Surge pricing could be inflating fares and masking margin compression. That's not sustainable, and it penalizes non-members. Check ETA and surge guardrails.
- Average trip length or fare composition may have shifted.
Long-run value signals:
- Did member retention improve in later weeks of the test? Did ride frequency keep growing, or did it peak and fade (novelty effect)?
- Did membership sign-ups or renewals increase? A flat short-run result can be a net-positive LTV decision.
- Check whether the treatment effect decays over time — that's a sign you're measuring novelty, not a durable behavioral change.
Driver side and opportunity cost:
- Higher utilization could improve driver earnings and supply stability — real value even if fare revenue looks flat.
- But if supply tightened and needed incentives to rebalance, those costs belong in the net revenue calculation.
- Compare the discount budget against alternatives: a 7.5% discount, targeted one-time promos, or investing in non-price loyalty benefits. Pricing is a continuous curve; one data point isn't enough.
Recommendation pattern: Roll out only if guardrails held clean and at least one long-run signal (retention, LTV, membership growth) shows a credible gain. Otherwise, run a longer holdout, test an intermediate discount level, or redirect the budget.
Common Mistakes
- Proposing user-level randomization without discussing marketplace interference.
- Using net revenue per ride as the North Star — it falls mechanically when the discount rises.
- Skipping the break-even calculation entirely.
- Treating a non-significant result as proof of no effect.
- Ignoring novelty effects and running the test for less than two full weekly cycles.
- Forgetting that drivers are part of the system and that their behavior responds to demand changes too.