Statistics, Probability, Exploratory Data Analysis, Mathematics, Graph.
will be spiky. Bandwidth selection strongly influences the estimate obtained from the KDE (much more so than the actual shape of the kernel). Bandwidth selection can be done by a “rule of thumb”, by cross-validation, by “plug-in methods” or by other means. More information can be founded over this