Simulating Power From Historical Data for a Facebook Gaming Test

Last updated: November 29, 2026

Quick Overview

A Facebook Gaming test uses minutes played per user, which is very skewed, and the analyst does not trust the normal-formula sample size. Show how to estimate power by simulation using historical data.

Meta
Analytics & Experimentation
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


A Facebook Gaming test uses minutes played per user, which is very skewed, and the analyst does not trust the normal-formula sample size. Show how to estimate power by simulation using historical data.

When metrics are skewed or the analysis is complex, Meta DS often estimate power empirically. The interviewer checks a correct resampling procedure, a sanity check at zero lift, and how to interpret the results.

What the Interviewer Expects
  • Explain why formula-based power can mislead for skewed metrics
  • Resample historical per-user data into fake arms
  • Inject a synthetic lift and apply the planned analysis
  • Verify false positive rate at zero lift
  • Translate results into a sample size or duration choice
Key Topics to Cover
power simulation
bootstrap
skewed metrics
sample size
Monte Carlo
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Why check the zero-lift case?
  • How would you simulate an additive versus multiplicative effect?
  • How would you include CUPED in the simulation?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify
  • Metric: minutes played in instant games per user per week; most users near zero, a few heavy players.
  • Planned analysis: Welch test on per-user means, α=0.05\alpha=0.05.
  • Question: with 20,000 users p...
Approach

Simulate the experiment many times using real historical per-user values:

  1. Draw two random samples (with replacement) of nn users from last month's data.
  2. Multiply the treatment sample by $(1+\te...

Submit Your Answer
Markdown supported