Estimating How Many Marketplace Listings Exist From Sequential IDs
Last updated: November 29, 2026
Quick Overview
Listing IDs in a new Facebook Marketplace region are assigned sequentially from 1. You observe a random sample of 4 listing IDs: 19, 40, 42, 60. Estimate the total number of listings and compare the naive maximum with the unbiased estimator.
Meta
November 29, 20260
0
0 solved
Listing IDs in a new Facebook Marketplace region are assigned sequentially from 1. You observe a random sample of 4 listing IDs: 19, 40, 42, 60. Estimate the total number of listings and compare the naive maximum with the unbiased estimator.
A Meta data science onsite estimation question in the spirit of the German tank problem, framed around sizing a Marketplace market from leaked or sampled IDs. Interviewers look for a principled estimator, a bias argument, and awareness of how ID assignment breaks the model.
What the Interviewer Expects
- Model the sample as draws without replacement from 1..N
- Show the sample maximum is biased low
- Derive or state the MVUE m + m/k - 1
- Contrast with the MLE and a confidence interval
- Discuss gaps and non-sequential ID assignment
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 a 95% confidence interval for N?
- How would a Bayesian with a flat prior answer?
- How would you adapt the estimator if IDs start at an unknown offset?
- What if deleted listings create gaps in the ID sequence?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
- IDs are with no gaps.
- The 4 observed IDs are a uniform random sample without replacement.
- Goal: estimate ....
Approach
The sample maximum is sufficient for . The MLE is , because the likelihood decreases in for . But always, so it is biased low.
The expect...