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
November 29, 20260
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
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- 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 QuestionsSample 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, .
- Question: with 20,000 users p...
Approach
Simulate the experiment many times using real historical per-user values:
- Draw two random samples (with replacement) of users from last month's data.
- Multiply the treatment sample by $(1+\te...