Estimating Mean Upload Size When Sizes Look Log-Normal
Last updated: November 29, 2026
Quick Overview
Instagram photo upload sizes look log-normal. From a sample of 2,000 uploads you have the mean and standard deviation of log size. Estimate the mean upload size, compare the plug-in log-normal estimator with the plain sample mean, and explain when each is better.
Meta
November 29, 20260
0
0 solved
Instagram photo upload sizes look log-normal. From a sample of 2,000 uploads you have the mean and standard deviation of log size. Estimate the mean upload size, compare the plug-in log-normal estimator with the plain sample mean, and explain when each is better.
A Meta infrastructure data science screen question about storage planning, where heavy-tailed sizes are the norm. The interviewer checks that you know the log-normal mean is not exp of the mean log, and that you can weigh model efficiency against robustness.
What the Interviewer Expects
- State that the median is exp(mu) and the mean is exp(mu + sigma^2/2)
- Compute the plug-in estimate and note its small bias
- Compare variance of the plug-in versus the sample mean
- Explain sensitivity to model misspecification in the tail
- Propose a check such as comparing both estimators or a QQ plot
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
- How would you put a confidence interval on the log-normal mean?
- What if the log sizes have a heavier right tail than normal?
- For capacity planning, which quantity matters more than the mean?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
- Sizes in MB, .
- Sample: , , .
- Want for storage planning (total bytes = uploads x mean size)....
Approach
If then Two estimators:
- Plug-in (MLE-based): .
- Sample mean ...