Skewed Engagement Counts and the Sampling Distribution of Group Means
Statistics & ExperimentsModel answerLast updated
Reason about a right-skewed per-user daily comment distribution, then describe how mean, median and 95th percentile behave for averages of many random user groups.
Context
You are looking at how many comments each user posts per day on a social platform. Most users post little or nothing, while a small number of heavy posters post a great deal, so the distribution is right-skewed.
Questions
-
Individual users. Describe (or sketch) the distribution of daily comment counts per user. Mark where the mean, the median and the 95th percentile (P95) fall, and explain why they are ordered that way.
-
Group averages. Now repeatedly draw many random groups of n users, and for each group compute the average number of comments. Describe the distribution of these group averages. How do the mean, the median and the P95 of this new distribution compare with those of the individual-level distribution, and why?
-
Follow-ups to be ready for.
- How quickly does the spread shrink as n grows?
- When would your conclusion not hold (for example very heavy tails, or groups that are not independent)?
A strong answer is quantitative where possible: give a simple model with concrete numbers, and state clearly what stays fixed, what moves, and in which direction.
Hints
Hint 1
Start with the shape of a right-skewed count variable: a big spike at low values and a long tail. Decide which of mean, median and P95 the tail drags furthest.
Hint 2
For the group average, use linearity of expectation for its center and Var(X̄) = σ²/n for its spread. Then ask what the Central Limit Theorem says about its shape.
Hint 3
Quantiles are not preserved by averaging the way the mean is. As the distribution of X̄ tightens and becomes symmetric around μ, think about where its median and P95 end up, and check your claim with a simple model such as an exponential with mean 2.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Part 1: Individual users
Daily comments per user is a non-negative count with a large mass at 0 and 1 and a long right tail created by power users, moderators and spam-like accounts. A zero-inflated negative binomial or a roughly log-normal shape is a reasonable model.
Ordering: mode ≤ median < mean ≪ P95.
- Median: half of users are at or below it. It sits near the bulk of the mass, at a small number.
- Mean: pulled right of the median by the tail. A few users with 50+ comments raise the mean noticeably but barely move the median.
- P95: far out in the tail, often several multiples of the mean. The gap from mean to P95 is much larger than the gap from median to mean, which is what right skew means.
Concrete anchor. Model counts as exponential with mean μ = 2 (so σ = 2):
| Statistic | Formula | Value |
|---|---|---|
| Median | μ ln 2 | about 1.39 |
| Mean | μ | 2.00 |
| P95 | μ ln 20 | about 5.99 |
Real data is usually more skewed, for example median 1, mean 3, P95 15.
Part 2: Distribution of group averages
For each group of n users, compute X̄ = (1/n) ΣXᵢ, and look at the histogram of X̄ across many groups.
- Center. E[X̄] = μ by linearity of expectation. Averaging does not move the center.
- Spread. For independent draws, Var(X̄) = σ²/n, so the standard error is σ/√n. Quadrupling n halves the spread. The rate is 1/√n, not 1/n.
- Shape. The skewness of X̄ is γ/√n, where γ is the skewness of a single count. By the Central Limit Theorem, X̄ is approximately N(μ, σ²/n) for large n, so the histogram becomes a symmetric bell.
What happens to each statistic:
| Statistic | Individuals | Group averages (large n) | Change |
|---|---|---|---|
| Mean | μ | μ | Unchanged |
| Median | well below μ | about μ | Rises toward the mean |
| P95 | far in the tail | about μ + 1.645 σ/√n | Shrinks toward the mean |
| Std. dev. | σ | σ/√n | Shrinks |
| Skewness | γ | γ/√n | Goes to 0 |
Worked numbers (exponential, μ = 2, n = 100). The sum of exponentials is Gamma, so X̄ ~ Gamma(shape 100, scale 0.02).
- Mean stays 2.00.
- Standard error = 2/√100 = 0.20.
- Median is about 2(1 − 1/(3n)) ≈ 1.99, up from 1.39.
- P95 is about 2 + 1.645 × 0.20 ≈ 2.33, down from 5.99.
With n = 5 the picture is intermediate: skewness is still about 2/√5 ≈ 0.9, the median sits a little below the mean, and P95 is roughly 3.6. Convergence is gradual, and heavier skew needs a larger n.
Why this works
Averaging dilutes extremes: a user with 500 comments in a group of 100 contributes only 5 to the average. The mean is a linear functional of the distribution, so it is preserved exactly. Quantiles are not linear, so they collapse onto the center as the distribution concentrates and symmetrizes.
Caveats worth raising
- Small n. The CLT is asymptotic. With very skewed data, group means remain right-skewed for small n. A bootstrap or log transform can help for inference.
- Infinite or huge variance. With a power-law tail of exponent ≤ 2 the variance is infinite, the classical CLT fails, and averages stay heavy-tailed. In practice a few bots can dominate. Cap or winsorize extreme values.
- Dependence. If groups are not random (for example clustered by friend network, country or day), correlation inflates the variance above σ²/n. This is the design effect.
- Finite population. Sampling without replacement multiplies the variance by (N − n)/(N − 1), which is negligible when N is huge.
- Discreteness. Individual counts are integers, but averages are fine-grained, so the histogram looks smooth.
Common mistakes
- Saying the mean shrinks or shifts. It does not.
- Saying the median is unchanged. The median of group averages moves up toward μ.
- Claiming the raw user data becomes normal. The CLT concerns the sampling distribution of the mean; individual counts stay skewed.
- Using 1/n instead of 1/√n for the spread.
- Placing the median above the mean for right-skewed data.
- Applying the CLT without checking tail weight, independence or sample size.
One-line summary
Individual counts are right-skewed with median < mean ≪ P95. Group averages are approximately N(μ, σ²/n): the mean stays at μ, the median rises to meet it, and P95 contracts to about μ + 1.645 σ/√n, provided draws are independent with finite variance and n is large enough.