This felt like four questions duct-taped together and I kind of answered them in the wrong order.
Start by framing the problem as a right-skewed count distribution, then systematically address each sub-question: summary statistics, mean vs. median, outlier handling, and A/B testing. Emphasize the practical implications for product decisions and connect statistical choices to business context.
Pro tip: Always mention that you would visualize the distribution (e.g., histogram, log scale) before choosing statistics, and that for A/B tests on skewed metrics, you might consider non-parametric tests or bootstrapping, but also check if the metric can be transformed or if you should use a different metric like a ratio or binary indicator.
Explain that comment counts are typically right-skewed and non-negative. Report median, IQR, and percentiles (e.g., 90th, 99th) to capture central tendency and tail behavior, along with mean for comparison.
Discuss that the mean is sensitive to extreme values and skewness. When the distribution is highly skewed (e.g., a few viral articles with thousands of comments), the mean overstates typical engagement, while the median better represents the typical article.
Use visual methods (boxplots, scatter plots) and statistical rules (IQR rule, z-scores on log-transformed data) to detect outliers. Decide whether to investigate, cap/winsorize, or model separately, depending on whether outliers are errors or genuine extreme engagement.
Propose a randomized controlled experiment. For the test, consider the distribution: if skewed, use a non-parametric test (Mann-Whitney U) or bootstrapped confidence intervals for the difference in medians or means. Alternatively, use a t-test on log-transformed counts or a Poisson/negative binomial regression if appropriate.
Translate statistical findings into business terms: e.g., 'The UI change increased median comments by X% but had no significant effect on the mean due to outliers.' Discuss practical significance and potential next steps.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.