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
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

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
German tank problem
order statistics
unbiased estimation
maximum likelihood
sampling without replacement
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
  • 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 Questions
Sample Answer
Clarify
  • IDs are 1,2,…,N1, 2, \dots, N with no gaps.
  • The 4 observed IDs are a uniform random sample without replacement.
  • Goal: estimate NN....
Approach

The sample maximum mm is sufficient for NN. The MLE is N^=m\hat N = m, because the likelihood (Nk)−1\binom{N}{k}^{-1} decreases in NN for N≥mN \ge m. But m≤Nm \le N always, so it is biased low.

The expect...


Submit Your Answer
Markdown supported