KatInterview

Sizing and Reading a Discount-Offer Experiment

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingsample-sizepower-analysis

Last updated

Plan a randomized test for a customer discount offer: justify it, pick metrics, size the sample for a small revenue MDE, and explain a positive but non-significant lift.

Scenario

A ride and delivery marketplace wants to test a discount offer before deciding whether to launch it widely. Two framings are common:

  • A spend-threshold discount, such as 20% off once a customer's order reaches $40.
  • A single-city promotion, such as a one-month offer available only to customers in one large metro area.

Treat the offer as a generic promotion. Your reasoning should work for either framing.

Questions

  1. Rationale. Why might the business run this promotion? If it is limited to one city, why start there?
  2. Metrics. Which metrics would you track? Separate the primary metric from secondary (diagnostic) metrics and guardrails.
  3. Sample size. How would you work out the sample size needed? List the inputs, the assumptions, and the factors that push the number up or down.
  4. MDE. Revenue per user is the primary metric and the product manager sets the minimum detectable effect at 0.5%. How do you interpret that number, and how does it change the calculation?
  5. Inconclusive result. The test shows a +0.3% revenue lift that is not statistically significant. How do you interpret this, and how would you explain it to the product manager?

Aim for a structured answer with explicit assumptions, a worked number where you can, and the main trade-offs.

Hints

Hint 1

Tie everything to a business goal first: the objective decides the primary metric, and the primary metric must account for the cost of the discount itself.

Hint 2

The core formula for two equal arms is n per arm = 2 (z_alpha/2 + z_beta)^2 sigma^2 / delta^2. Express delta as a fraction of the baseline mean so that only the coefficient of variation matters, and note that n scales with 1/MDE^2.

Hint 3

For the null result, separate 'no evidence of an effect' from 'evidence of no effect'. Look at the confidence interval relative to both zero and the MDE, and think about what the test's power was for an effect of 0.3%.