Two analysts plot kernel density estimates (KDEs) of the same 5,000 basket values from a grocery chain, one with a bandwidth of 10 € and one with 2 €. The two peaks of the 2-€ curve also appear, at the same places, with bandwidths of 1 € and 3 € and in a histogram with 2-€ bins. What is the best conclusion?
Show the answer and explanation
Correct answer: D, The 10-€ bandwidth over-smooths and merges two real modes: with 5,000 baskets and peaks that persist across smaller bandwidths and bins, the values form two genuine clusters.
Explanation Descriptive Statistics
A histogram or KDE is a smoothed picture of the data, and the smoothing parameter (bin width or bandwidth h) controls what you can see:
- Too large (over-smoothing): neighbouring modes blur into one hump. A Gaussian kernel adds h² to the variance of every cluster, so two clusters 15 € apart with SD 4 € get an effective SD of √(4² + 10²) ≈ 10.8 € at h = 10 €. Two equal normal humps merge into one peak once their distance is at most 2 SDs (here 2 × 10.77 ≈ 21.5 € > 15 €).
- Too small (under-smoothing): sampling noise creates spurious bumps, especially in small samples.
Here the evidence points to real bimodality: n = 5,000 is large, and the peaks near 30 € and 45 € stay in place across bandwidths of 1, 2 and 3 € and in a 2-€ histogram. Noise bumps move or vanish when h changes; real modes do not. A plausible story is two shopper segments (quick top-up trips versus weekly shops), which you would confirm with a segment variable.
Why the other conclusions fail: a smaller bandwidth does not automatically invent peaks, so the smoother curve is not automatically the honest one. A Gaussian kernel does not require Gaussian data; KDE is non-parametric. And the bandwidth does change where the estimated mass sits, which is exactly how one hump can hide two.
Interview tip: never trust a single bin width or bandwidth. Show a few, add a rug plot or an ECDF, and when the data are bimodal report segment-level summaries or a mixture rather than one mean.