← Meta Interview Insights

Meta·Data Scientist·Technical Phone Screen·Senior

SeniorPrefer not to say
Apr 2026Remote

Summary

Brutal A/B testing design question for a DS role at Meta. The whole interview was basically one giant multi-part experiment design problem and it went deep fast.

Questions Asked (1)

Q1

Design an A/B test to measure the causal effect of adding a 'Work from home' filter on a marketplace search page, where the primary metric is bookings per visit. Walk through hypothesis setup, randomization unit, metric definition, variance reduction, sample size, and risk mitigation.

A/B Testing & ExperimentationProduct Analytics & Metrics
Author's notes

This question is basically ten questions stapled together.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Structure your answer around the experiment lifecycle: start with a clear hypothesis and metric definition, then detail the randomization unit and variance reduction techniques, followed by sample size calculation and risk mitigation. Emphasize causal inference and practical considerations specific to a marketplace search context.

Pro tip: Mention that you would use a switchback or cluster randomization if there's interference between users (e.g., shared inventory), and highlight the importance of pre-registering the analysis plan to avoid p-hacking.

1. Hypothesis and Metric Definition

Formulate a clear, testable hypothesis: adding a 'Work from home' filter will increase bookings per visit by making it easier for remote workers to find suitable listings. Define the primary metric precisely: bookings per visit, aggregated at the user level, and specify secondary metrics like filter usage and booking value.

2. Randomization Unit and Experiment Design

Choose the randomization unit: typically user-level for marketplace search, but consider cluster randomization if interference exists (e.g., same host or listing). Ensure proper randomization and balance checks, and decide on the treatment/control split (e.g., 50/50).

3. Variance Reduction and Sensitivity

Apply variance reduction techniques such as CUPED (using pre-experiment data) or stratification to increase power. Consider using a within-user design if possible, and control for covariates like past booking behavior.

4. Sample Size and Power Analysis

Calculate required sample size based on expected effect size, power (80%), significance level (5%), and baseline variance. Use historical data to estimate variance and account for any clustering or intra-class correlation.

5. Risk Mitigation and Analysis Plan

Pre-register the analysis plan, monitor for guardrail metrics (e.g., page load time, overall bookings), and set up sequential testing or early stopping rules if needed. Address potential novelty effects and ensure robust rollout decisions.

Key Points to Mention

  • Clear hypothesis with directional expectation and business relevance
  • Randomization unit choice (user vs. cluster) and handling interference
  • Precise metric definition: bookings per visit, user-level aggregation, and guardrails
  • Variance reduction techniques like CUPED or stratification
  • Sample size calculation with power analysis and adjustments for clustering
  • Risk mitigation: pre-registration, guardrail metrics, and sequential testing

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.