Kernelwidth
Definition:
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.
Parameters:
- vX (input, vector)
- Distributed samples used to estimate bandwidth
- w (output, double)
- Estimated optimal bandwidth for kernel density,
/math-1b2fff7e3c87bf42cb1237475b736af8.png)
Reference
Silverman, B.W. (1986). Density Estimation for Statistics and Data Analysis. Chapman & Hall, London.
/math-56a67a1cb17bb73af69637714e01c101.png)
/math-e66ec91d3e7ecc7db9890d06abc413ae.png)