Kernelwidth-func
w = kernelwidth( vX ) returns the estimated optimal kernel bandwidth for a given vector vX.
where n is the size of vector vX, and
, is the standard deviation of vX, and IQR is the interquartile range of vX.
Silverman, B.W. (1986). Density Estimation for Statistics and Data Analysis. Chapman & Hall, London.