KatInterview

Evaluate a Geo-Social Feature Launch with Causal Rigor

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsexperimentationcausal inferencenetwork effects

Last updated

Design an experiment to measure whether a community-content feature drives meaningful engagement, accounting for geographic interference, opt-in bias, and clustering effects.

Background

A neighborhood-based social platform is rolling out a Verified Community Updates feature, which lets credentialed local contributors publish geo-tagged posts directly into residents' feeds. Your team wants to know whether this feature genuinely lifts user engagement, or whether it just reshuffles existing behavior.

You've been asked to own the measurement strategy end-to-end.

Your Task

Address each of the following components in your answer:

1. Metric Design

Propose one primary success metric and at least one guardrail metric. For each, explain what it captures, why it's the right choice, and what failure mode it protects against.

2. Randomization Unit

Should the experiment randomize at the individual user level or the geographic community level? Walk through the interference risks that inform your decision, and describe how you'd handle communities that are geographically adjacent to one another.

3. Selection Bias

The feature is only offered to communities whose members actively sign up for the pilot. How does this create a causal interpretation problem, and what design or analytical technique would you use to recover a valid estimate?

4. Experiment Sizing and Duration

Describe how you'd determine how long to run the experiment. What structural factors — including the social nature of the product and seasonal variation in news consumption — affect your power calculation and timeline?

What a Strong Answer Looks Like

A strong response is structured and walks through each component in order. It names specific metrics and explains the reasoning behind them, addresses the core statistical challenges directly (interference, clustering, self-selection), and gives enough detail on power analysis that a collaborating data scientist could act on it. Trade-offs and failure modes should be called out explicitly, not glossed over.

Hints

Hint 1

The platform's geographic structure means users in the same community share a feed — think about what that implies for whether one user's treatment status can affect a neighbor's outcome before you pick a randomization unit.

Hint 2

An opt-in pilot pool isn't a random sample of communities. Before reaching for matching or regression, ask whether you can randomize *within* the pool itself — and what causal quantity that gives you versus randomizing the invitation.

Hint 3

Your naive sample size formula assumes independent observations, but community-level assignment clusters users together. Look up the design effect formula and what inputs you need — particularly the intraclass correlation — before committing to a duration.