Estimating How Many Pixel Units Shipped From Observed Serial Numbers
Last updated: November 29, 2026
Quick Overview
Pixel serial numbers in a batch run from 1 to an unknown N. You observe k distinct serials sampled uniformly without replacement, with maximum m. Derive an unbiased estimator of N and compare it to using m alone.
0
0
0 solved
Pixel serial numbers in a batch run from 1 to an unknown N. You observe k distinct serials sampled uniformly without replacement, with maximum m. Derive an unbiased estimator of N and compare it to using m alone.
This German tank problem in a hardware framing appears in Google data science onsites to probe estimation theory: bias, sufficiency and variance. Interviewers check whether you can derive the distribution of the sample maximum and correct its bias rather than guessing.
What the Interviewer Expects
- Recognize the max is sufficient and biased low
- Derive E[m] = k(N+1)/(k+1)
- Give the unbiased estimator m(1 + 1/k) - 1
- Compare variances with the 2*mean - 1 estimator
- Discuss assumptions like uniform sampling and sequential numbering
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?
- Why is the 2*sample-mean estimator worse?
- What if serials start at an unknown offset rather than 1?
- How would a Bayesian approach with a prior on N differ?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Serials are , and we see distinct ones drawn uniformly without replacement, so each -subset is equally likely. Let be the largest observed. We want an unbiased estimator for and t...
Approach
Find the distribution of , compute its mean, and invert. The max is the sufficient statistic, so by Lehmann-Scheffe the unbiased function of it is the minimum-variance unbiased estimator....