Kernel Density Estimator

Reliable and extremely fast kernel density estimator for one-dimensional data

Download
Download

You are now following this Submission

Cite As

Zdravko Botev (2026). Kernel Density Estimator (https://www.mathworks.com/matlabcentral/fileexchange/14034-kernel-density-estimator), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: SimOutUtils

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0

corrected the title back to "kernel density estimator" ; updated reference

Download
1.4.0

-Published in the Annals of Statistics, 2010, see Section 5.
- works on old versions of Matlab without nested functions.
- plots a graph when no output is requested

Download
1.3.0

As pointed out by Dazhi Jiang in the comments section, the healine
"function [bandwidth,density,xmesh]=kde(data,n,MIN,MAX)"
is missing. This version corrects this editing mistake.

Download
1.1.0

updated the reference - now a journal paper submitted to the Annals of Statistics

Download
1.0.0

Using higher order asymptotic approximations to achieve superior estimation accuracy for problems with few data points.

Download