KatInterview

Investigating a Sustained Order Decline in a Delivery Market

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsproduct-analyticsroot-cause-analysisfunnel-analysis

Last updated

Walk through how to validate, decompose, and explain a two-week fall in completed orders in one metro, then propose a fix and a way to test it in a two-sided marketplace.

You are a data scientist on the consumer pricing team of a food-delivery marketplace. Over the past two weeks, completed delivery orders in one large metro (Los Angeles) have fallen noticeably. The decline shows up against the metro's own history and against comparable large cities.

Describe how you would investigate this from start to finish. A strong answer addresses:

  1. Validation

    • How do you establish that the drop is genuine and not caused by seasonality, delayed or incomplete data, tracking bugs, or a short outage?
    • Which comparison baselines would you use (week-over-week, year-over-year, before/after a launch, matched cities)?
  2. Metric decomposition

    • Which metrics would you inspect, and how do they connect to completed orders? Consider demand (opens, sessions, store views, checkout starts, order attempts), price and conversion (basket size, item prices, delivery/service/small-order fees, promotions, membership mix), marketplace health (merchant availability, stock-outs, acceptance, courier supply, assignment time, ETAs, cancellations), and outcomes (orders, orders per active user, order value, contribution margin).
  3. Hypotheses

    • Generate and rank explanations: a price or fee change hurting conversion, weaker courier supply or longer ETAs, merchant outages or reduced selection, app or checkout regressions, external factors (weather, events, regulation, competitor promotions), and mix shifts across areas, cohorts, or dayparts.
  4. Segmentation and causal thinking

    • Which cuts would you apply (new vs. returning, ZIP, daypart, platform, member vs. non-member, cuisine, delivery vs. pickup)?
    • How would you protect yourself from confounding, Simpson's paradox, and selection bias?
  5. Recommendations

    • If pricing is the main cause, what short-term and long-term actions would you propose?
    • What trade-offs exist among volume, profit, courier earnings, merchant health, and customer experience?
  6. Experimentation

    • Design an experiment or quasi-experiment to test your fix: treatment and control, primary and guardrail metrics, randomization unit, duration, power and MDE.
    • When would you pick a user-level A/B test versus a geo experiment or difference-in-differences?

Hints

Hint 1

Before explaining anything, rule out artifacts: data that is still being backfilled, changed city or ZIP mappings, event or schema changes, and short outages. Reconcile the dashboard with the payments or order-state source of truth.

Hint 2

Write completed orders as a product of funnel factors (active users x sessions per user x checkout conversion x post-checkout success) and attribute the log-change to each factor. That tells you which layer to dig into, and the lead-lag order of movement hints at causality.

Hint 3

In a two-sided marketplace, user-level randomization can leak through shared courier supply and merchant capacity. Think about switchback or geo-level designs, synthetic control, and diff-in-diff, and watch for conditioning on funnel steps that the treatment itself affects.