How Many Distinct Users Appear in Random Survey Draws
Last updated: November 29, 2026
Quick Overview
A Facebook survey tool draws 10,000 user IDs uniformly with replacement from a pool of 50,000 eligible users. What is the expected number of distinct users invited, and what fraction of the pool is never invited?
Meta
November 29, 20260
0
0 solved
A Facebook survey tool draws 10,000 user IDs uniformly with replacement from a pool of 50,000 eligible users. What is the expected number of distinct users invited, and what fraction of the pool is never invited?
A short probability question used in Meta assessments and screens that tests linearity of expectation with indicator variables. Interviewers like it because the direct counting approach is messy while the indicator approach is two lines.
What the Interviewer Expects
- Define an indicator for each user being drawn at least once
- Use linearity of expectation without needing independence
- Compute (1 - 1/N)^k and approximate it with an exponential
- Interpret the never-invited fraction
- Note how sampling without replacement changes the answer
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the variance of the number of distinct users?
- How many draws are needed for 90% of the pool to be invited at least once?
- How would you get exactly 10,000 distinct users efficiently?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
- Pool size , draws , each uniform with replacement.
- = number of distinct users drawn at least once....
Approach
Write where if user is drawn at least once. Then Linearity holds even though th...