KatInterview

Measuring the Engagement Payoff of a Faster Video Start

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsab-testingpower-analysiscuped

Last updated

Plan an experiment and analysis program for a roughly 100 ms start-time reduction that may raise errors and buffering, including ratio-metric diagnosis and a propensity-matching fallback.

You are the data scientist for a large video-streaming product. Engineers have built a new playback startup path that should cut time to first frame by about 100 ms for some users. The new path could also raise playback failures and alter rebuffering. You need to design the measurement program that decides whether it ships.

Address each of the following.

  1. Experiment design. Propose an A/B test of how lower start latency affects engagement. State a hypothesis and choose one primary decision metric. Explain why it should respond to latency and how you trade sensitivity against business relevance. List diagnostic metrics that localize any effect, and guardrails for quality, reliability and revenue (especially failures and rebuffering).
  2. Randomization unit and interference. Choose between user, device and session/request randomization and defend the choice. Explain how you prevent contamination (sticky assignment, shared caches or CDN capacity, cross-device spillover).
  3. Power, MDE and duration. Say what inputs you need, how you set the MDE, how long you run, and how you deal with heavy-tailed watch time.
  4. Variance reduction. Give at least two techniques and say when each fits.
  5. Analysis and conflicts. Name the estimator, explain how you handle many metrics and segment differences (WiFi vs cellular), and say what you do when metrics disagree, for example watch time rises but errors also rise.
  6. Ratio-metric diagnosis. A leadership ratio metric (CTR = clicks / impressions, or conversion = purchases / sessions) moved +0.3%. How do you find out why, split the move into numerator and denominator effects, and avoid Simpson's paradox?
  7. No randomization. Suppose the latency improvement rolled out unevenly for infrastructure reasons and you can only observe who got lower latency. Explain how you would use propensity score matching, which assumptions it needs, and how you would test them.

Assumptions: a global user base with time-of-day and weekday cycles, latency effects that may differ by network type, available pre-period data, logging for latency, exposure, errors, buffering and engagement, and daily metrics reported in UTC.

Hints

Hint 1

Pick a primary metric that the business cares about, then use closer-to-mechanism funnel metrics (start abandonment, plays per session) as diagnostics. Remember latency is usually logged only for successful starts, so failures can hide slow starts.

Hint 2

Engagement builds up across sessions, so randomize by account. Use the standard sample-size formula with a coefficient of variation, then shrink variance with a pre-period covariate (CUPED), triggering and capping.

Hint 3

For ratio metrics, take log differences of numerator and denominator and split any change into a mix effect and a within-segment rate effect. For matching, the key danger is that network quality drives both latency and engagement, so check balance, overlap, placebo outcomes and sensitivity to hidden confounding.