KatInterview

Measuring the Causal Impact of a New In-App Marketplace

Statistics & ExperimentsModel answer
HardModel answerStatistics & Experimentsab-testingcausal-inferencenetwork-effects

Last updated

Plan an experiment to estimate how a new in-app shopping feature affects engagement and revenue, covering design, metrics, selection bias, interference, and the launch decision.

Scenario

A large social photo and video app is about to roll out a built-in shopping experience. Users will be able to browse products, tap tagged items in posts, and check out without leaving the app. Leadership wants to know, with credible evidence, what this feature does to the business.

Your task

Describe how you would design a measurement plan for this launch. Your answer should cover:

  1. Goal and decision. What decision does the measurement inform, and what could go wrong with the feature?
  2. Experimental design. What is the unit of randomization, and what alternatives would you consider if clean user-level randomization is not appropriate or not possible?
  3. Metrics and success criteria. Which primary, diagnostic, engagement, and guardrail metrics would you track, and what thresholds would define a "launch" decision?
  4. Statistical details. Duration, sample size, variance reduction, heavy-tailed revenue, and any pre-analysis checks.
  5. Selection bias. How do you avoid overstating the effect because enthusiastic users are the ones who adopt shopping?
  6. Network and marketplace effects. How could treated and control users or merchants influence each other, and how would you detect or mitigate it?

Be concrete: name specific metrics, give example thresholds, and explain the trade-offs behind your choices.

Hints

Hint 1

Start by naming the decision (launch, iterate, roll back) and the two or three ways the feature could hurt the business, such as cannibalizing ad impressions.

Hint 2

Compare users who were assigned the feature with those who were not, regardless of whether they used it. Then think about how to scale that estimate to actual users of the feature.

Hint 3

Treated users can affect control users through shared posts, and both arms share merchants and ad auctions. Consider graph-cluster or geo randomization, and diff-in-diff or synthetic control when randomization is not possible.