Interview concept

Geo and Clustered Experiments

Asked of: Data Scientist

Last updated

Flowchart showing decision to use geo/cluster randomization, cluster construction and matching, randomization, experiment run, and cluster-level analysis with diagnostics and power calc.
  1. What it is Geo experiments randomize entire geographic units (e.g., Nielsen DMAs, cities, countries) into test vs. control to estimate incremental impact when user-level randomization is impractical. Clustered experiments randomize groups of interacting units (companies, stores, friend-graph clusters) to reduce spillovers that would bias standard A/B tests.

  2. Why interviewers ask about it At companies like Meta and Google, ads and social features create strong interference across users and regions; you’re expected to know designs beyond vanilla user-randomized tests. They want to hear how you’d get unbiased estimates under privacy and platform constraints, trade off power vs. bias, and use tools like matched markets, synthetic control, or ego-clusters.

  3. Core ideas to know

  • Use cluster/geo randomization when SUTVA fails due to spillovers, auctions, or network effects.
  • Improve balance with matched pairs; Google’s Trimmed Match and TBR are common for geos.
  • Leverage pre-period covariates; CUPED or synthetic controls (e.g., GeoLift) tighten variance.
  • Analyze at the cluster level; the sample size is the number of clusters, not users.
  • Plan power with intracluster correlation; design effect inflates required sample size/duration.
  • Build minimally “leaky” geos; cluster by mobility/traffic (e.g., GeoCUTS) and separate media buys.
  • Check parallel trends and counterfactual fit; add guardrails for seasonality and shocks.
  1. A common pitfall Candidates default to user-level A/B tests for ads, pricing, or feed ranking where users influence each other, yielding biased lift. They then compute power on millions of users instead of a few dozen clusters, massively underpowering the design. Analysis mistakes follow: mixing individual-level outcomes with cluster assignment and ignoring pre-period imbalance. Strong answers mention clustering/matching, cluster-level inference, interference diagnostics, and operational safeguards against geographic contamination and holiday effects.

  2. Further reading

Related concepts

Geo and Clustered Experiments — Tech Interview Concept | PracHub