KatInterview

Estimating a Ride-Subscription Effect: Switchback, Matching, Non-Compliance

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentscausal-inferenceswitchbackpropensity-score

Last updated

Estimate how a paid subscription changes rides per user using a time-alternating city test, propensity-score methods on launch data, and instrumental-variable analysis of a randomized test with partial uptake.

A ride-hailing company has introduced a paid subscription program and wants to know how it changes rides per user (RPU). You are asked to describe how you would measure this in three different situations. For each one, state the key assumptions, the likely pitfalls, and at least one robustness or sensitivity check.

Context

  • The marketplace has two-sided interference: price, wait time and availability for one rider depend on other riders and on driver supply. Naive user-level randomization can therefore leak across units. (In Part B only, you may assume driver supply is unlimited.)
  • In Part A, "treatment" means the subscription experience is switched on or off for a whole (city, time block). In Parts B and C, treatment means an individual user actually holding a subscription.
  • You have pre-treatment user history (past rides, spend, tenure, app activity, location) and city-day signals (weather, surge, marketing spend).
  • In Part C you also need the effect on profit per user (PPU), a derived metric such as revenue per user minus cost per user.

Part A: Time-alternating experiment Randomization is at the (city x day) level.

  1. Propose a practical design: the randomized unit, how assignment alternates over time, and how long to run it.
  2. Explain why you should not simply aggregate to city-day means and run a two-sample t-test.
  3. Describe an analysis that handles time trends and seasonality, differences between cities, autocorrelation created by alternation, and covariate adjustment.

Part B: Launch with no experiment The feature shipped without a test.

  1. How would you estimate its causal effect on RPU with propensity score matching, or a closely related propensity-based method?
  2. How would you decide whether the matching or weighting is good enough to trust?

Part C: Randomized test with partial uptake Users were randomly assigned to be offered the subscription, but not everyone offered it signed up (and possibly some unassigned users got it anyway).

  1. How would you estimate the effect on RPU using the Complier Average Causal Effect (CACE, also called LATE)?
  2. How would you build a confidence interval for (a) the RPU effect and (b) the PPU effect?

Before answering, list a few clarifying questions you would ask (for example: is subscription reversible or sticky, what decision is the result feeding, and which estimand is wanted).

Hints

Hint 1

Before choosing a method, name the estimand (ATE, ATT, ITT or CACE) and tie it to the decision being made. Also ask whether the subscription can be toggled on and off, because a sticky state breaks a switchback.

Hint 2

For Part A, think about what repeated alternation does to the errors: neighbouring blocks in one city are correlated, so effective sample size is far smaller than the number of city-days. Fixed effects plus clustered standard errors address this.

Hint 3

For Parts B and C, separate what is testable (covariate balance, overlap, first-stage strength, placebo outcomes) from what is not (no unmeasured confounding, exclusion restriction). For a ratio estimator or a derived metric, compute everything from per-user values so the uncertainty reflects the full ratio.