KatInterview

Designing ETA Evaluation Experiments in Networked Two-Sided Markets

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsexperiment-designcausal-inferencenetwork-effects

Last updated

Design and evaluate an experimental framework for an ETA model change in a dynamic dispatch marketplace, accounting for interference, power, and partial compliance.

You are designing an experimental framework to evaluate a new estimated time of arrival (ETA) prediction system for a ride-hailing network. ETA updates directly alter rider conversion and cancellation decisions, which in turn redistribute available drivers across geographic regions and create marketplace interference (violating SUTVA).

Your objective is to build an end-to-end evaluation plan that accurately estimates the causal impact on user experience and overall marketplace health.

Requirements:

  1. Metric Suite: Define up to 3 primary demand metrics and up to 5 supply/quality guardrail metrics. Provide explicit mathematical formulas and measurement units for each.
  2. Randomization Strategy & Interference: Compare potential units of randomization (rider, trip, driver, geohash-6 × hour). Select and justify the optimal unit based on SUTVA considerations, and detail a stratification/blocking scheme (e.g., city tier by day-type).
  3. Contamination & Rollout Alternatives: If fine-grained unit randomization cannot be implemented, detail a stepped-wedge rollout structure combined with a 10% geographic holdout. Outline contamination containment methods (shadow driver pools, sticky routing, spatial exclusion buffers) and define how to measure and cap cross-arm exposure.
  4. Instrumentation & As-Treated Inference: Detail the client/server exposure logging required to confirm the UI displayed the new ETA. Define an estimator robust to partial compliance (e.g., 2SLS / CACE) and explain how to mitigate post-randomization selection bias when measuring downstream trip events.
  5. Comparative Methodology & Pre-Trend Validation: Compare standard A/B tests, Difference-in-Differences (DiD), and Synthetic Control Methods (SCM). Explain when each approach is valid in this domain. Specify pre-trend diagnostics and describe how to construct a city-level synthetic control (donor selection, regularization, and matching features).
  6. Clustered Power Calculation: Calculate the required sample size and cluster count for detecting a 1.5% relative decrease in rider cancellations given:
    • Baseline cancellation rate $p = 0.12$
    • Target relative drop = 1.5%
    • Significance level $\alpha = 0.05$ (two-sided), Power $1 - \beta = 0.80$
    • Intra-class correlation coefficient $\text{ICC} (\rho) = 0.02$
    • Average daily volume $m = 1,500$ trips per zone over a 28-day duration Provide step-by-step calculations showing the design effect (DE), required total trip sample size under simple random sampling (SRS), and minimum number of zones per arm.
  7. Biases & Mitigations: List 4 distinct experimental biases relevant to dynamic spatial markets (e.g., demand shocks, surge feedback loops, time-of-day variations, user novel/fatigue effects) and provide an explicit mitigation strategy for each.
  8. Sequential Monitoring & Rollout Guardrails: Define a early-stopping framework using sequential harm boundaries (e.g., spending functions) alongside a cost-benefit decision framework incorporating driver earnings and SLA thresholds.
  9. Pre-Registration & Heterogeneity: Outline a formal pre-registration plan (estimands, metrics, missing data protocols, look schedules) and describe a strategy for reporting subgroup effects (city tiers, weather conditions) without inflating Type I error rates.

Hints

Hint 1

Remember that shared supply causes SUTVA violations: if a treated rider cancels less due to an accurate ETA, nearby control riders have fewer available drivers.

Hint 2

For the power calculation, compute the total trips per zone over the 28-day period ($m = 1,500 \times 28$) before evaluating the design effect $1 + (m - 1)\rho$.

Hint 3

When using instrumental variables (IV) for partial compliance, the treatment assignment serves as the instrument $Z$, and actual UI exposure serves as $D$.