Variance of Daily Ad Spend From a Random Number of New Advertisers

Last updated: November 29, 2026

Quick Overview

Each day a random number of new advertisers, Poisson with mean 500, launch their first campaigns, and each spends an independent amount with mean 40 dollars and standard deviation 100 dollars. Find the mean and standard deviation of total first-day spend, and show how the answer changes if the number of advertisers is overdispersed.

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


Each day a random number of new advertisers, Poisson with mean 500, launch their first campaigns, and each spends an independent amount with mean 40 dollars and standard deviation 100 dollars. Find the mean and standard deviation of total first-day spend, and show how the answer changes if the number of advertisers is overdispersed.

Meta's ads finance and growth forecasting combine uncertainty in how many advertisers arrive with uncertainty in what each spends. This screen question checks the law of total variance on a compound sum and the ability to decompose risk into its sources.

What the Interviewer Expects
  • Model total spend as a random sum
  • Compute the mean by iterated expectation
  • Apply the law of total variance
  • Specialize to the compound Poisson formula
  • Show which component dominates and how overdispersed arrivals change it
Key Topics to Cover
law of total variance
compound Poisson
random sums
iterated expectation
forecast uncertainty
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How would you build a 90% forecast interval for monthly spend?
  • Which reduces forecast variance more, better prediction of arrivals or of per-advertiser spend?
  • What if spend per advertiser is correlated with the number of arrivals that day?
Sharpen Your Skills on Codemia

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

Browse Statistics Questions
Sample Answer
Clarify
  • N∼Poisson(500)N \sim \text{Poisson}(500) new advertisers per day.
  • Spend SiS_i i.i.d., E[S]=40E[S] = 40, SD(S)=100SD(S) = 100, independent of NN.
  • Total T=∑i=1NSiT = \sum_{i=1}^{N} S_i....
Approach

Condition on NN: E[T]=E[E[T∣N]]=E[N] E[S],E[T] = E[E[T \mid N]] = E[N]\,E[S], Var(T)=E[Var(T∣N)]+Var(E[T∣N])=E[N] σS2+μS2 Var(N).\text{Var}(T) = E[\text{Var}(T \mid N)] + \text{Var}(E[T \mid N]) = E[N]\,\sigma_S^2 + \mu_S^2\,\text{Var}(N). For Poisson NN, $\text{Var...


Submit Your Answer
Markdown supported