KatInterview

Mean Uncertainty vs. Tail Threshold for Per-User Comment Counts

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsconfidence-intervalcentral-limit-theoremstandard-error

Last updated

Estimate a 95% interval for average comments per user, explain how sample size shrinks the mean's variance, and compute and interpret the 95th percentile of the counts.

Scenario

A platform's trust and safety team wants to separate ordinary users from suspected fake accounts using how often each user comments. You have a random sample of n users, and for each one you know the number of comments they posted in a fixed period.

Questions

  1. How would you build a 95% confidence interval for the population mean number of comments per user? State the assumptions you rely on and which critical value you use.
  2. What is the sampling distribution of the sample mean? How does the sample size n affect its variance, and what does that imply for the width of your interval?
  3. How do you compute and interpret the 95th percentile of the comment counts? How does that quantity differ from the confidence interval in part 1, and how would you use it in the fake-account setting?

What a strong answer covers

  • Assumptions, and what happens when they fail (skew, outliers, dependence between users)
  • Formulas, with a short numerical example
  • A correct interpretation of a confidence interval
  • Alternatives when the normal approximation is doubtful
  • Uncertainty in the percentile estimate itself

Hints

Hint 1

Separate two ideas: uncertainty about the average user (the standard error of the mean) and the spread of individual users (the standard deviation and quantiles of the data).

Hint 2

The variance of the sample mean is sigma squared over n, so the standard error shrinks like 1 over the square root of n. Use the Central Limit Theorem to justify normality of the mean even though the counts themselves are skewed, and swap sigma for the sample standard deviation with a t critical value.

Hint 3

A percentile is an order statistic: sort the counts and pick the rank (or interpolate). It does not narrow with more data the way the CI for the mean does, and it has its own sampling error that you can bound with a bootstrap or binomial rank argument.