Calculate Expected Impressions and Probability for Users
MetaData Scientist · OnsiteLast updated
Meta probability question on random ad-impression allocation, including binomial expectation, probability a user sees at least one impression, expected unique reach, and large-population approximations.
Scenario
Randomly allocating Y ad impressions to X users
Question
Given X users and Y impressions assigned uniformly at random, what is the expected number of impressions a particular user receives? What is the probability that a specific user sees at least one impression? What is the expected number of users who see at least one impression?
Hints
Model each assignment as Bernoulli with p = 1⁄X, then apply binomial expectation, complement rule, and linearity.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.